s3-waf: use shared libwbclient wscript_build.
authorGünther Deschner <gd@samba.org>
Wed, 15 Dec 2010 09:21:16 +0000 (10:21 +0100)
committerGünther Deschner <gd@samba.org>
Wed, 15 Dec 2010 10:42:16 +0000 (11:42 +0100)
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Dec 15 11:42:16 CET 2010 on sn-devel-104

nsswitch/libwbclient/wscript_build
source3/wscript_build

index 6e01b1b2e253478f5a0af686e2f7de53183f3e7e..896e17d9affb4b92c2baf10e1aeab594172b2995 100644 (file)
@@ -3,5 +3,6 @@
 bld.SAMBA_LIBRARY('wbclient',
        source='wbc_guid.c wbc_idmap.c wbclient.c wbc_pam.c wbc_pwd.c wbc_sid.c wbc_util.c',
        deps='winbind-client',
+       public_headers='wbclient.h',
        private_library=True
        )
index e0be129474e1eefbed7dbeca2ef5134dbbfe67f4..4062f51add824d1c5fd4a09c8b1662c1a0ec3a47 100644 (file)
@@ -723,18 +723,6 @@ bld.SAMBA_SUBSYSTEM('winbind-client',
                     deps='replace',
                     cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR)
 
-bld.SAMBA_LIBRARY('wbclient',
-                    source='''../nsswitch/libwbclient/wbc_guid.c
-                              ../nsswitch/libwbclient/wbc_idmap.c
-                              ../nsswitch/libwbclient/wbclient.c
-                              ../nsswitch/libwbclient/wbc_pam.c
-                              ../nsswitch/libwbclient/wbc_pwd.c
-                              ../nsswitch/libwbclient/wbc_sid.c
-                              ../nsswitch/libwbclient/wbc_util.c''',
-                    public_headers='../nsswitch/libwbclient/wbclient.h',
-                    private_library=True,
-                    public_deps='winbind-client')
-
 bld.SAMBA_LIBRARY('netapi',
                     source=LIBNETAPI_SRC,
                     public_deps='''talloc tdb cap wbclient LIB_NONSMBD LIBSMB KRBCLIENT
@@ -1509,6 +1497,7 @@ bld.RECURSE('../libcli/samsync')
 bld.RECURSE('../libcli/named_pipe_auth')
 bld.RECURSE('../libcli/smb')
 bld.RECURSE('../libcli/ldap')
+bld.RECURSE('../nsswitch/libwbclient')
 bld.RECURSE('modules')
 bld.RECURSE('auth')
 bld.RECURSE('passdb')