]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
build: introduce a installibs target and use it in "make install"
authorMichael Adam <obnox@samba.org>
Thu, 10 Jul 2008 12:15:39 +0000 (14:15 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 10 Jul 2008 14:26:11 +0000 (16:26 +0200)
The target is distributed over the library-specific sections.

Michael

source/Makefile.in

index b0d2e1b4f788df4e8cd431e5eb4f9d6d1f865550..1c983d7b8af02444986e49ab008e8ee349e3211c 100644 (file)
@@ -1625,6 +1625,7 @@ uninstalllibtalloc::
        -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTALLOC_STATIC_TARGET)`
        -rm -f $(DESTDIR)${prefix}/include/talloc.h
 
+installlibs:: @INSTALL_LIBTALLOC@
 
 #-------------------------------------------------------------------
 #
@@ -1687,6 +1688,7 @@ uninstalllibtdb::
        -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBTDB_STATIC_TARGET)`
        -rm -f $(DESTDIR)${prefix}/include/tdb.h
 
+installlibs:: @INSTALL_LIBTDB@
 
 #-------------------------------------------------------------------
 #
@@ -1753,6 +1755,7 @@ uninstalllibwbclient::
        -$(UNINSTALLLIBCMD_SH) $(DESTDIR)$(LIBDIR)/`basename $(LIBWBCLIENT_SHARED_TARGET_SONAME)`
        -rm -f $(DESTDIR)${prefix}/include/wbclient.h
 
+installlibs:: @INSTALL_LIBWBCLIENT@
 
 #-------------------------------------------------------------------
 #
@@ -1806,6 +1809,7 @@ uninstalllibaddns::
        -rm -f $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_SHARED_TARGET)`
        -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBADDNS_STATIC_TARGET)`
 
+installlibs:: @INSTALL_LIBADDNS@
 
 #-------------------------------------------------------------------
 #
@@ -1887,6 +1891,7 @@ uninstalllibnetapi::
        -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBNETAPI_STATIC_TARGET)`
        -rm -f $(DESTDIR)${prefix}/include/netapi.h
 
+installlibs:: @INSTALL_LIBNETAPI@
 
 #-------------------------------------------------------------------
 #
@@ -1947,6 +1952,7 @@ uninstalllibsmbclient::
 
 uninstallclientlib:: uninstalllibsmbclient
 
+installlibs:: @INSTALL_LIBSMBCLIENT@
 
 #-------------------------------------------------------------------
 #
@@ -2009,6 +2015,7 @@ uninstalllibsmbsharemodes::
        -$(UNINSTALLLIBCMD_A) $(DESTDIR)$(LIBDIR)/`basename $(LIBSMBSHAREMODES_STATIC_TARGET)`
        -rm -f $(DESTDIR)${prefix}/include/smb_share_modes.h
 
+installlibs:: @INSTALL_LIBSMBSHAREMODES@
 
 #-------------------------------------------------------------------
 #
@@ -2430,10 +2437,7 @@ bin/rpc_open_tcp@EXEEXT@: $(BINARY_PREREQS) $(RPC_OPEN_TCP_OBJ) @LIBTALLOC_SHARE
 
 install:: installservers installbin @INSTALL_CIFSMOUNT@ @INSTALL_CIFSSPNEGO@ installman \
                installscripts installdat installmodules @SWAT_INSTALL_TARGETS@ \
-               @INSTALL_LIBTALLOC@ \
-               @INSTALL_LIBTDB@ \
-               @INSTALL_LIBSMBCLIENT@ @INSTALL_PAM_MODULES@ \
-               @INSTALL_LIBSMBSHAREMODES@ @INSTALL_LIBWBCLIENT@ @INSTALL_LIBNETAPI@
+               @INSTALL_PAM_MODULES@ installlibs
 
 install-everything:: install installmodules