summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-10 14:15:39 +0200
committerMichael Adam <obnox@samba.org>2008-07-10 16:26:11 +0200
commit4d8f12acc5b56210bf5c197b0bd577a178afef4e (patch)
treef12c865b93d9022ba1f38e800c794a693ce987cb
parent2264ae717cf08e3f043ef77ffbc13813d1c56e2b (diff)
downloadsamba-4d8f12acc5b56210bf5c197b0bd577a178afef4e.tar.gz
samba-4d8f12acc5b56210bf5c197b0bd577a178afef4e.tar.bz2
samba-4d8f12acc5b56210bf5c197b0bd577a178afef4e.zip
build: introduce a installibs target and use it in "make install"
The target is distributed over the library-specific sections. Michael (This used to be commit 0afe205a7da4103a4fcfdd24f45a164493e3b9b8)
-rw-r--r--source3/Makefile.in12
1 files changed, 8 insertions, 4 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index b0d2e1b4f7..1c983d7b8a 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -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