summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-12-06 19:15:30 +0100
committerGünther Deschner <gd@samba.org>2007-12-21 15:29:09 +0100
commit8edf48bbf716c3a6b7919c74aa5ed954d9cce48d (patch)
tree73e52f14bbf4cfcb5a0744a6abf5a46374f2a621
parent72ffac399077ad7777f1282c94d9b661e7fa53fb (diff)
downloadsamba-8edf48bbf716c3a6b7919c74aa5ed954d9cce48d.tar.gz
samba-8edf48bbf716c3a6b7919c74aa5ed954d9cce48d.tar.bz2
samba-8edf48bbf716c3a6b7919c74aa5ed954d9cce48d.zip
For the fun of it, build netapi.so|.a.
Guenther (This used to be commit 8cbc6bdede9e8fc423488c7632546c548234cc0c)
-rw-r--r--source3/Makefile.in10
-rw-r--r--source3/exports/netapi.syms3
2 files changed, 13 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index 599b0501a1..63a83befa8 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1353,6 +1353,16 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ)
@echo Linking non-shared library $@
@-$(AR) -rc $@ $(LIBADDNS_OBJ)
+bin/netapi.@SHLIBEXT@: $(BINARY_PREREQS) $(NETAPI_OBJ)
+ @echo Linking shared library $@
+ @$(SHLD_DSO) $(NETAPI_OBJ) $(LIBS) \
+ $(LDAP_LIBS) $(KRB5LIBS) $(NSCD_LIBS) \
+ @SONAMEFLAG@`basename $@`.$(SONAME_VER)
+
+bin/netapi.a: $(BINARY_PREREQS) $(NETAPI_OBJ)
+ @echo Linking non-shared library $@
+ @-$(AR) -rc $@ $(NETAPI_OBJ)
+
bin/libsmbclient.@SHLIBEXT@: $(BINARY_PREREQS) $(LIBSMBCLIENT_OBJ)
@echo Linking shared library $@
@$(SHLD_DSO) $(LIBSMBCLIENT_OBJ) $(LIBS) \
diff --git a/source3/exports/netapi.syms b/source3/exports/netapi.syms
new file mode 100644
index 0000000000..eb34bfc012
--- /dev/null
+++ b/source3/exports/netapi.syms
@@ -0,0 +1,3 @@
+{
+ global: *;
+};