summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-17 00:59:23 +0200
committerGünther Deschner <gd@samba.org>2010-08-26 00:17:08 +0200
commit4d78984570223a803353490b1fa39793ba9b98b3 (patch)
tree9c53ef3833daffadd8dc2d244c5810599a081855 /source3/wscript_build
parentff5ab04882b1ae5940b0e9f41174d6e4e4b8f863 (diff)
downloadsamba-4d78984570223a803353490b1fa39793ba9b98b3.tar.gz
samba-4d78984570223a803353490b1fa39793ba9b98b3.tar.bz2
samba-4d78984570223a803353490b1fa39793ba9b98b3.zip
s3-waf: only link in epmapper client code where needed.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build10
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 9488e23728..ed3646488e 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -134,6 +134,10 @@ LIBCLI_NETLOGON_SRC = '''
librpc/gen_ndr/ndr_netlogon_c.c
rpc_client/cli_netlogon.c'''
+LIBCLI_EPMAPPER_SRC = '''
+ librpc/gen_ndr/cli_epmapper.c
+ librpc/gen_ndr/ndr_epmapper_c.c'''
+
LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
${LIBNDR_GEN_SRC0}
../librpc/gen_ndr/ndr_dfs.c
@@ -355,12 +359,8 @@ LIBMSRPC_SRC = '''
rpc_client/init_samr.c
../librpc/rpc/binding.c'''
-DCERPC_CLIENT_GEN_SRC = '''
- ../librpc/gen_ndr/ndr_epmapper_c.c'''
-
LIBMSRPC_GEN_SRC = '''
- ../librpc/gen_ndr/cli_epmapper.c
- ${DCERPC_CLIENT_GEN_SRC}
+ ${LIBCLI_EPMAPPER_SRC}
../librpc/rpc/dcerpc_util.c
librpc/rpc/dcerpc_helpers.c
../librpc/rpc/binding_handle.c