summaryrefslogtreecommitdiff
path: root/lib/talloc/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-09-21 02:32:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-09-21 02:32:19 +0200
commit442d31c7f699628a603ee3bef3831441b43afb69 (patch)
treede39e7e9bcc74f45ec521d663bb4321e19afb1f8 /lib/talloc/Makefile.in
parentf63c83deef52afcbe27c1664031a5eed009f3a44 (diff)
parent0e2928f94651c53d653a3ad83bbda5608b4d4c24 (diff)
downloadsamba-442d31c7f699628a603ee3bef3831441b43afb69.tar.gz
samba-442d31c7f699628a603ee3bef3831441b43afb69.tar.bz2
samba-442d31c7f699628a603ee3bef3831441b43afb69.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into noejs
Diffstat (limited to 'lib/talloc/Makefile.in')
-rw-r--r--lib/talloc/Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/talloc/Makefile.in b/lib/talloc/Makefile.in
index 07b8fd4ff0..c28693e2db 100644
--- a/lib/talloc/Makefile.in
+++ b/lib/talloc/Makefile.in
@@ -9,6 +9,7 @@ mandir = @mandir@
VPATH = @srcdir@:@libreplacedir@
srcdir = @srcdir@
builddir = @builddir@
+sharedbuilddir = @sharedbuilddir@
XSLTPROC = @XSLTPROC@
INSTALLCMD = @INSTALL@
CC = @CC@
@@ -31,6 +32,15 @@ include $(tallocdir)/talloc.mk
$(TALLOC_SOLIB): $(LIBOBJ)
$(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) @SONAMEFLAG@$(TALLOC_SONAME)
+shared-build: all
+ ${INSTALLCMD} -d $(sharedbuilddir)/lib
+ ${INSTALLCMD} -m 644 libtalloc.a $(sharedbuilddir)/lib
+ ${INSTALLCMD} -m 755 $(TALLOC_SOLIB) $(sharedbuilddir)/lib
+ ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/$(TALLOC_SONAME)
+ ln -sf $(TALLOC_SOLIB) $(sharedbuilddir)/lib/libtalloc.so
+ ${INSTALLCMD} -d $(sharedbuilddir)/include
+ ${INSTALLCMD} -m 644 $(srcdir)/talloc.h $(sharedbuilddir)/include
+
check: test
installcheck:: test install