From 9301310ea73e43349f4e0b41343fe2a820327d40 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 22 May 2008 17:15:32 +0200 Subject: build: autogenerate exports/libnetapi.syms metze (cherry picked from commit dc09e04d524dcc92a29da0864666fd4258a81b76) (This used to be commit c3797d6a2cc2e4c5b0678dc92924c26b18bd2678) --- source3/Makefile.in | 7 ++++++- source3/exports/libnetapi.syms | 3 --- 2 files changed, 6 insertions(+), 4 deletions(-) delete mode 100644 source3/exports/libnetapi.syms (limited to 'source3') diff --git a/source3/Makefile.in b/source3/Makefile.in index 1a970bf988..3fa9b4abda 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -161,6 +161,8 @@ LIBWBCLIENT=@LIBWBCLIENT_SHARED@ LIBNETAPI_SHARED_TARGET=@LIBNETAPI_SHARED_TARGET@ LIBNETAPI_STATIC_TARGET=@LIBNETAPI_STATIC_TARGET@ LIBNETAPI=$(LIBNETAPI_STATIC_TARGET) @LIBNETAPI_SHARED@ +LIBNETAPI_SYMS=$(srcdir)/exports/libnetapi.syms +LIBNETAPI_HEADERS=$(srcdir)/lib/netapi/netapi.h FLAGS1 = $(CFLAGS) @FLAGS1@ @SAMBA_CPPFLAGS@ $(CPPFLAGS) FLAGS2 = @@ -1647,7 +1649,10 @@ bin/libaddns.a: $(BINARY_PREREQS) $(LIBADDNS_OBJ) @echo Linking non-shared library $@ @-$(AR) -rc $@ $(LIBADDNS_OBJ) -$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ +$(LIBNETAPI_SYMS): $(LIBNETAPI_HEADERS) + @$(MKSYMS_SH) $(AWK) $@ $(LIBNETAPI_HEADERS) + +$(LIBNETAPI_SHARED_TARGET): $(BINARY_PREREQS) $(LIBNETAPI_OBJ) $(LIBNETAPI_SYMS) @LIBTALLOC_SHARED@ @LIBTDB_SHARED@ @LIBWBCLIENT_SHARED@ @echo Linking shared library $@ @$(SHLD_DSO) $(LIBNETAPI_OBJ) \ @LIBTALLOC_LIBS@ @LIBTDB_LIBS@ @LIBWBCLIENT_SHARED@ $(LIBS) \ diff --git a/source3/exports/libnetapi.syms b/source3/exports/libnetapi.syms deleted file mode 100644 index eb34bfc012..0000000000 --- a/source3/exports/libnetapi.syms +++ /dev/null @@ -1,3 +0,0 @@ -{ - global: *; -}; -- cgit