1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

build: fix shlibs target after internal changes, add libs target.

The shlibs target now only builds the shared libs as the name suggests.
All libraries are built by the new "libs" target.

Michael
(This used to be commit 1bb2b576a4)
This commit is contained in:
Michael Adam 2008-07-07 17:32:18 +02:00
parent eb48b5703b
commit 5408317e33

View File

@ -1081,7 +1081,7 @@ RPC_OPEN_TCP_OBJ = torture/rpc_open_tcp.o \
######################################################################
# now the rules...
######################################################################
all:: SHOWFLAGS $(SHLIBS) $(SBIN_PROGS) $(BIN_PROGS) $(ROOT_SBIN_PROGS) \
all:: SHOWFLAGS $(LIBRARIES) $(SBIN_PROGS) $(BIN_PROGS) $(ROOT_SBIN_PROGS) \
$(MODULES) $(NSS_MODULES) $(PAM_MODULES) @EXTRA_ALL_TARGETS@
nss_modules:: $(NSS_MODULES)
@ -1518,10 +1518,20 @@ bin/ldbdel: $(BINARY_PREREQS) $(LDBDEL_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIB
MKSYMS_SH = $(srcdir)/script/mksyms.sh
SHLIBS = libtalloc libtdb @LIBWBCLIENT@ libsmbclient libsmbsharemodes libaddns libnetapi
SHLIBS = @LIBTALLOC_SHARED@ \
@LIBTDB_SHARED@ \
@LIBWBCLIENT_SHARED@ \
@LIBSMBCLIENT_SHARED@ \
@LIBSMBSHAREMODES_SHARED@ \
@LIBADDNS_SHARED@ \
@LIBNETAPI_SHARED@
shlibs: $(SHLIBS)
LIBRARIES = libtalloc libtdb libwbclient libsmbclient libsmbsharemodes libaddns libnetapi
libs: $(LIBRARIES)
#-------------------------------------------------------------------
#
@ -2628,7 +2638,7 @@ test_shlibs:: $(SHLIBS)
@echo "Testing $(SHLIBS) "
@export $(LIB_PATH_VAR)=./bin && \
for module in $(SHLIBS); do \
./script/tests/dlopen.sh bin/$${module}.@SHLIBEXT@ \
./script/tests/dlopen.sh $${module} \
|| exit 1; \
done