summaryrefslogtreecommitdiffstats
path: root/source/Makefile.in
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-04-08 11:02:17 +0200
committerKarolin Seeger <kseeger@samba.org>2008-04-11 08:57:34 +0200
commit58d84d93c54a9abd6b19e460dbd6560f19f4c37b (patch)
tree7b468d30a45c366fc037a7b850bc1c1f8d7773d6 /source/Makefile.in
parent7389fedc8c8a9a121d9c0790c3dbf2cdd9d6b561 (diff)
downloadsamba-58d84d93c54a9abd6b19e460dbd6560f19f4c37b.tar.gz
samba-58d84d93c54a9abd6b19e460dbd6560f19f4c37b.tar.xz
samba-58d84d93c54a9abd6b19e460dbd6560f19f4c37b.zip
libsmbconf: add testsuite to the library.
Currently only the init function is tested, more tests to come... Michael (cherry picked from commit bc8dc8626c5fb296edbd193a7cc293317c7a29ca)
Diffstat (limited to 'source/Makefile.in')
-rw-r--r--source/Makefile.in21
1 files changed, 20 insertions, 1 deletions
diff --git a/source/Makefile.in b/source/Makefile.in
index ff3ea7e836b..54bdd078fe4 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -824,6 +824,17 @@ LIBSMBCONF_OBJ = lib/smbconf/smbconf.o lib/smbconf/smbconf_util.o \
lib/smbconf/smbconf_reg.o \
lib/smbconf/smbconf_txt_simple.o
+SMBCONFTORT_OBJ0 = lib/smbconf/testsuite.o
+
+SMBCONFTORT_OBJ = $(SMBCONFTORT_OBJ0) \
+ $(LIB_NONSMBD_OBJ) \
+ $(PARAM_OBJ) \
+ $(ERRORMAP_OBJ) \
+ $(RPC_PARSE_OBJ1) \
+ $(LIBSAMBA_OBJ) \
+ $(DOSERR_OBJ) \
+ $(SECRETS_OBJ)
+
LIBNET_OBJ = libnet/libnet_join.o \
librpc/gen_ndr/ndr_libnet_join.o
@@ -1140,6 +1151,8 @@ talloctort : SHOWFLAGS bin/talloctort@EXEEXT@
replacetort : SHOWFLAGS bin/replacetort@EXEEXT@
+smbconftort : SHOWFLAGS bin/smbconftort@EXEEXT@
+
timelimit : SHOWFLAGS bin/timelimit@EXEEXT@
nsswitch : SHOWFLAGS bin/winbindd@EXEEXT@ bin/wbinfo@EXEEXT@ @WINBIND_NSS@ \
@@ -1165,7 +1178,7 @@ idl:
#####################################################################
-everything: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort modules torture \
+everything: all libtalloc libsmbclient libnetapi debug2html smbfilter talloctort replacetort smbconftort modules torture \
$(EVERYTHING_PROGS)
.SUFFIXES:
@@ -1398,6 +1411,12 @@ bin/replacetort@EXEEXT@: $(REPLACETORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@
@$(CC) $(FLAGS) @PIE_LDFLAGS@ -o $@ $(REPLACETORT_OBJ) $(LDFLAGS) \
$(DYNEXP) $(LIBS) @POPTLIBS@ @LIBTALLOC_LIBS@
+bin/smbconftort@EXEEXT@: $(SMBCONFTORT_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
+ @echo Linking $@
+ @$(CC) $(FLAGS) @PIE_LDFLAGS@ -o $@ $(SMBCONFTORT_OBJ) $(LDFLAGS) \
+ $(DYNEXP) $(LIBS) $(LDAP_LIBS) @POPTLIBS@ \
+ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@
+
bin/masktest@EXEEXT@: $(BINARY_PREREQS) $(MASKTEST_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
@echo Linking $@
@$(CC) $(FLAGS) -o $@ $(MASKTEST_OBJ) $(LDFLAGS) $(DYNEXP) \