summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 18:52:23 +0200
committerGünther Deschner <gd@samba.org>2010-08-25 23:06:48 +0200
commit0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee (patch)
treea8339477bef2d4bea5fa75c0d41efdd3e5313b43 /source3
parent0ae0ca062bb040cc317cc767f37bfa693fb498a1 (diff)
downloadsamba-0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee.tar.gz
samba-0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee.tar.bz2
samba-0d0deba7bc8a8b1d7cdfa54f25111d9002ca50ee.zip
s3-waf: only link in srvsvc client code where needed.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript_build10
1 files changed, 7 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 6be2df7d08..102cdfdb5d 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -115,6 +115,10 @@ LIBCLI_WKSSVC_SRC = '''
librpc/gen_ndr/cli_wkssvc.c
librpc/gen_ndr/ndr_wkssvc_c.c'''
+LIBCLI_SRVSVC_SRC = '''
+ librpc/gen_ndr/cli_srvsvc.c
+ librpc/gen_ndr/ndr_srvsvc_c.c'''
+
LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
${LIBNDR_GEN_SRC0}
../librpc/gen_ndr/ndr_dfs.c
@@ -339,13 +343,11 @@ LIBMSRPC_SRC = '''rpc_client/cli_lsarpc.c rpc_client/cli_samr.c
DCERPC_CLIENT_GEN_SRC = '''
../librpc/gen_ndr/ndr_lsa_c.c
- ../librpc/gen_ndr/ndr_srvsvc_c.c
../librpc/gen_ndr/ndr_netlogon_c.c
../librpc/gen_ndr/ndr_samr_c.c
../librpc/gen_ndr/ndr_epmapper_c.c'''
LIBMSRPC_GEN_SRC = '''../librpc/gen_ndr/cli_lsa.c
- ../librpc/gen_ndr/cli_srvsvc.c
../librpc/gen_ndr/cli_netlogon.c
../librpc/gen_ndr/cli_samr.c
../librpc/gen_ndr/cli_epmapper.c
@@ -791,6 +793,7 @@ SMBD_SRC_BASE = '''${SMBD_SRC_SRV}
${RPC_ECHO_SRC}
${LIBCLI_SPOOLSS_SRC}
${LIBCLI_WINREG_SRC}
+ ${LIBCLI_SRVSVC_SRC}
${AUTH_SRC}
${PRIVILEGES_BASIC_SRC}'''
@@ -852,7 +855,8 @@ CLIENT_SRC1 = '''client/client.c client/clitar.c ${RPC_CLIENT_SRC}
${RPC_CLIENT_SRC1} ${RPC_PARSE_SRC}'''
CLIENT_SRC = '''${CLIENT_SRC1} ${LIBMSRPC_GEN_SRC}
- ${READLINE_SRC} ${DISPLAY_SEC_SRC}'''
+ ${READLINE_SRC} ${DISPLAY_SEC_SRC}
+ ${LIBCLI_SRVSVC_SRC}'''
LIBS='ICONV'