r15338: Fix build of most things with shared libs enabled.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 30 Apr 2006 00:00:28 +0000 (00:00 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:05:18 +0000 (14:05 -0500)
source/build/smb_build/TODO
source/build/smb_build/output.pm
source/kdc/config.mk
source/libcli/config.mk
source/libcli/raw/clioplock.c
source/librpc/config.mk
source/torture/config.mk
source/utils/config.mk

index 148abd6eda1116a5c188d54970b691bd9111c86e..086f62b86915c62c83bbcebc6653a3b1987a5921 100644 (file)
@@ -3,7 +3,8 @@
 - include extra_flags.txt using Makefile construction if 
   supported by current make
 - make --enable-dso the default
- - fix module loading for selftest during non-developer builds
+- fix shared module loading for selftest during non-developer builds without install
+- remove recursive dependency between LIBSOCKET, LIBCLI_NBT and LIBCLI_RESOLVE
 - clearer distinction between dcerpc and ndr. seperate interface tables?
 - saner names for:
        libcli.so.0.0.1 (rename to libsmb?)
index 52a7f1b6398be14e5edba58dd0ac0be5c65dd500..351dff521a8b2ee6553b1bfcfde6e589abd838d5 100644 (file)
@@ -33,7 +33,7 @@ sub generate_shared_library($)
        my $lib_name;
 
        $lib->{DEPEND_LIST} = [];
-       push(@{$lib->{LINK_FLAGS}}, "\$($lib->{TYPE}_$lib->{NAME}\_OBJ_LIST)");
+       push(@{$lib->{LINK_FLAGS}}, "\$($lib->{TYPE}_$lib->{NAME}\_FULL_OBJ_LIST)");
 
        $link_name = lc($lib->{NAME});
        $lib_name = $link_name;
index e0361e337eeb54edb879bb5a781f5eb2bb422cd7..f83cc59bb20213d6643bbac1bb209c49ba3c3fb5 100644 (file)
@@ -16,7 +16,7 @@ PUBLIC_DEPENDENCIES = \
 #######################
 # Start SUBSYSTEM KDC
 [SUBSYSTEM::HDB_LDB]
-CFLAGS = -Iheimdal/kdc
+CFLAGS = -Iheimdal/kdc -Iheimdal/lib/hdb
 OBJ_FILES = \
                hdb-ldb.o \
                pac-glue.o 
index e68bdf1f457e86ee8a2ddd8ee95907b76039e8a1..533266dca8c578c03c732ec544468a474565882e 100644 (file)
@@ -42,10 +42,10 @@ PUBLIC_DEPENDENCIES = LIBCLI_COMPOSITE
 PRIVATE_PROTO_HEADER = nbt/nbtname.h
 OBJ_FILES = nbt/nbtname.o
 
-[LIBRARY::LIBCLI_NBT]
-VERSION = 0.0.1
-SO_VERSION = 0
-DESCRIPTION = NetBios over TCP/IP client library
+[SUBSYSTEM::LIBCLI_NBT]
+#VERSION = 0.0.1
+#SO_VERSION = 0
+#DESCRIPTION = NetBios over TCP/IP client library
 PRIVATE_PROTO_HEADER = nbt/nbt_proto.h
 OBJ_FILES = \
        nbt/nbtsocket.o \
@@ -142,6 +142,6 @@ OBJ_FILES = raw/rawfile.o \
                raw/rawacl.o \
                raw/rawdate.o \
                raw/rawlpq.o
-PUBLIC_DEPENDENCIES = LIBPACKET gensec
+PUBLIC_DEPENDENCIES = LIBPACKET gensec LIBCRYPTO
 
 include smb2/config.mk
index f26aa0c5f2c9abb6655c9185c17e51917a5a3407..f004532b2607acf2d11dafb37cb9b8c361cf9232 100644 (file)
@@ -24,7 +24,7 @@
 /****************************************************************************
 send an ack for an oplock break request
 ****************************************************************************/
-BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_level)
+_PUBLIC_ BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_level)
 {
        BOOL ret;
        struct smbcli_request *req;
@@ -53,7 +53,7 @@ BOOL smbcli_oplock_ack(struct smbcli_tree *tree, uint16_t fnum, uint16_t ack_lev
 /****************************************************************************
 set the oplock handler for a connection
 ****************************************************************************/
-void smbcli_oplock_handler(struct smbcli_transport *transport, 
+_PUBLIC_ void smbcli_oplock_handler(struct smbcli_transport *transport, 
                        BOOL (*handler)(struct smbcli_transport *, uint16_t, uint16_t, uint8_t, void *),
                        void *private)
 {
index db74c121294216bf2198913e61da2ab530934869..56d8a5b27c1a096af094d6755442816321287aee 100644 (file)
@@ -24,7 +24,7 @@ DESCRIPTION = NDR support for compressed subcontexts
 PRIVATE_PROTO_HEADER = ndr/ndr_compression.h
 OBJ_FILES = \
                ndr/ndr_compression.o
-PUBLIC_DEPENDENCIES = LIBCOMPRESSION
+PUBLIC_DEPENDENCIES = LIBCOMPRESSION LIBSAMBA-ERRORS
 # End SUBSYSTEM NDR_COMPRESSION
 ################################################
 
index 384e7f3630041303b9a7bbd9c48c526231916802..efbebc549beabf9c49095b58de18a265ea867eeb 100644 (file)
@@ -274,7 +274,8 @@ PRIVATE_DEPENDENCIES = \
                LIBPOPT \
                POPT_SAMBA \
                POPT_CREDENTIALS \
-               LIBCLI_SMB
+               LIBCLI_SMB \
+               LIBCLI_RAW
 MANPAGE = man/gentest.1
 # End BINARY gentest
 #################################
index cafa022d94ba839d4b64ff3e87586b13ffca1f4b..e2c853d72ad8372f002c83699b701b8494a7cce4 100644 (file)
@@ -30,7 +30,8 @@ PRIVATE_DEPENDENCIES = \
                POPT_SAMBA \
                POPT_CREDENTIALS \
                gensec \
-               LIBCLI_RESOLVE
+               LIBCLI_RESOLVE \
+               auth
 MANPAGE = man/ntlm_auth.1
 # End BINARY ntlm_auth
 #################################