summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-23 00:48:16 -0700
committerGünther Deschner <gd@samba.org>2010-09-23 00:50:59 -0700
commitdc4920bfa7f55e660c9944049ba0dd66931abcde (patch)
tree6e6508c0f16a59be5b2eb5cf8aa292e0c16b636f /source3/wscript_build
parent4d7525537a0090273d85f468af338668920c8dcf (diff)
downloadsamba-dc4920bfa7f55e660c9944049ba0dd66931abcde.tar.gz
samba-dc4920bfa7f55e660c9944049ba0dd66931abcde.tar.bz2
samba-dc4920bfa7f55e660c9944049ba0dd66931abcde.zip
s3-waf: rework libnetapi to have no unresolved symbols.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build53
1 files changed, 36 insertions, 17 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 454960fcae..e0b3ce2530 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -955,6 +955,38 @@ LIBSMBSHAREMODES_SRC0 = 'libsmb/smb_share_modes.c'
LIBSMBSHAREMODES_SRC = '${LIBSMBSHAREMODES_SRC0}'
+LIBNETAPI_SRC0 = '''lib/netapi/netapi.c
+ lib/netapi/cm.c
+ librpc/gen_ndr/ndr_libnetapi.c
+ lib/netapi/libnetapi.c
+ lib/netapi/joindomain.c
+ lib/netapi/serverinfo.c
+ lib/netapi/getdc.c
+ lib/netapi/user.c
+ lib/netapi/group.c
+ lib/netapi/localgroup.c
+ lib/netapi/samr.c
+ lib/netapi/sid.c
+ lib/netapi/share.c
+ lib/netapi/file.c
+ lib/netapi/shutdown.c
+ lib/netapi/netlogon.c'''
+
+LIBNETAPI_SRC = '''${LIBNETAPI_SRC0} ${LIBNET_SRC}
+ ${LIBSMBCONF_SRC}
+ ${REG_SMBCONF_SRC}
+ ${LIBMSRPC_SRC} ${LIBMSRPC_GEN_SRC}
+ ${DCUTIL_SRC} ${LIBADS_SRC} ${PRIVILEGES_BASIC_SRC}
+ auth/token_util.c
+ ${LIBCLI_INITSHUTDOWN_SRC}
+ ${LIBCLI_WKSSVC_SRC}
+ ${LIBCLI_SRVSVC_SRC}
+ ${LIBCLI_LSA_SRC}
+ ${LIBCLI_SAMR_SRC}
+ ${LIBCLI_NETLOGON_SRC}
+ ${RPC_CLIENT_SCHANNEL_SRC}
+ rpc_client/init_netlogon.c
+ rpc_client/init_samr.c'''
# FIXME: bigballofmud
@@ -1205,23 +1237,10 @@ bld.SAMBA_LIBRARY('libwbclient',
public_deps='talloc WBCOMMON')
bld.SAMBA_LIBRARY('libnetapi',
- source='''lib/netapi/netapi.c
- lib/netapi/cm.c
- librpc/gen_ndr/ndr_libnetapi.c
- lib/netapi/libnetapi.c
- lib/netapi/joindomain.c
- lib/netapi/serverinfo.c
- lib/netapi/getdc.c
- lib/netapi/user.c
- lib/netapi/group.c
- lib/netapi/localgroup.c
- lib/netapi/samr.c
- lib/netapi/sid.c
- lib/netapi/share.c
- lib/netapi/file.c
- lib/netapi/shutdown.c
- lib/netapi/netlogon.c''',
- public_deps='''talloc tdb''')
+ source=LIBNETAPI_SRC,
+ public_deps='''talloc tdb cap libwbclient LIB_NONSMBD LIBSMB KRBCLIENT
+ PASSDB SMBLDAP GROUPDB PARAM_WITHOUT_REG DYNCONFIG''',
+ vars=locals())
bld.SAMBA_LIBRARY('libsmbclient',
source=LIBSMBCLIENT_SRC,