summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-10 16:25:21 +0200
committerMichael Adam <obnox@samba.org>2008-07-10 16:26:41 +0200
commite8db7cac5048a26e07197fa85262ea639867ae19 (patch)
treebbe06709d366a5c53dd6507fd245fb13943a07de
parent36580a5898554d4fde1fb494dac45394d412d8ff (diff)
downloadsamba-e8db7cac5048a26e07197fa85262ea639867ae19.tar.gz
samba-e8db7cac5048a26e07197fa85262ea639867ae19.tar.bz2
samba-e8db7cac5048a26e07197fa85262ea639867ae19.zip
build: remove SHLIBS variable, and distribute deps for shlibs and test_shlibs target
Michael (This used to be commit 939e75126ebfcd9124781b5d70a68886c4bf9a54)
-rw-r--r--source3/Makefile.in26
1 files changed, 10 insertions, 16 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 17adae9664..f8bfe47779 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1541,19 +1541,6 @@ bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIB
MKSYMS_SH = $(srcdir)/script/mksyms.sh
-SHLIBS = @LIBTALLOC_SHARED@ \
- @LIBTDB_SHARED@ \
- @LIBWBCLIENT_SHARED@ \
- @LIBSMBCLIENT_SHARED@ \
- @LIBSMBSHAREMODES_SHARED@ \
- @LIBADDNS_SHARED@ \
- @LIBNETAPI_SHARED@
-
-shlibs: $(SHLIBS)
-
-
-
-
#-------------------------------------------------------------------
#
@@ -1620,6 +1607,7 @@ libs:: libtalloc
installlibs:: @INSTALL_LIBTALLOC@
uninstalllibs:: @UNINSTALL_LIBTALLOC@
cleanlibs:: cleanlibtalloc
+shlibs test_shlibs: @LIBTALLOC_SHARED@
#-------------------------------------------------------------------
#
@@ -1686,6 +1674,7 @@ libs:: libtdb
installlibs:: @INSTALL_LIBTDB@
uninstalllibs:: @UNINSTALL_LIBTDB@
cleanlibs:: cleanlibtdb
+shlibs test_shlibs: @LIBTDB_SHARED@
#-------------------------------------------------------------------
#
@@ -1756,6 +1745,7 @@ libs:: libwbclient
installlibs:: @INSTALL_LIBWBCLIENT@
uninstalllibs:: uninstalllibwbclient
cleanlibs:: cleanlibwbclient
+shlibs test_shlibs: @LIBWBCLIENT_SHARED@
#-------------------------------------------------------------------
@@ -1814,6 +1804,7 @@ libs:: libaddns
installlibs:: @INSTALL_LIBADDNS@
uninstalllibs:: @UNINSTALL_LIBADDNS@
cleanlibs:: cleanlibaddns
+shlibs test_shlibs: @LIBADDNS_SHARED@
#-------------------------------------------------------------------
#
@@ -1899,6 +1890,7 @@ libs:: libnetapi
installlibs:: @INSTALL_LIBNETAPI@
uninstalllibs:: @UNINSTALL_LIBNETAPI@
cleanlibs:: cleanlibnetapi
+shlibs test_shlibs: @LIBNETAPI_SHARED@
#-------------------------------------------------------------------
#
@@ -1963,6 +1955,7 @@ libs:: libsmbclient
installlibs:: @INSTALL_LIBSMBCLIENT@
uninstalllibs:: @UNINSTALL_LIBSMBCLIENT@
cleanlibs:: cleanlibsmbclient
+shlibs test_shlibs: @LIBSMBCLIENT_SHARED@
#-------------------------------------------------------------------
#
@@ -2029,6 +2022,7 @@ libs:: libsmbsharemodes
installlibs:: @INSTALL_LIBSMBSHAREMODES@
uninstalllibs:: @UNINSTALL_LIBSMBSHAREMODES@
cleanlibs:: cleanlibsmbsharemodes
+shlibs test_shlibs: @LIBSMBSHAREMODES_SHARED@
#-------------------------------------------------------------------
#
@@ -2663,10 +2657,10 @@ Makefile: $(srcdir)/Makefile.in config.status
# Samba Testing Framework
# Check shared libs for unresolved symbols
-test_shlibs:: $(SHLIBS)
- @echo "Testing $(SHLIBS) "
+test_shlibs:
+ @echo "Testing $? "
@export $(LIB_PATH_VAR)=./bin && \
- for module in $(SHLIBS); do \
+ for module in $?; do \
./script/tests/dlopen.sh $${module} \
|| exit 1; \
done