summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-07-08 17:17:17 +0200
committerGünther Deschner <gd@samba.org>2011-07-08 18:34:43 +0200
commitf4add4fbf545313f5d24e0d9e5c9eb0f8fac630a (patch)
tree484028689fc10472de8437f04de5725c7faa6b63 /source3/wscript_build
parent2a02f1c4af00915c750e4b71c0beafe9fb765815 (diff)
downloadsamba-f4add4fbf545313f5d24e0d9e5c9eb0f8fac630a.tar.gz
samba-f4add4fbf545313f5d24e0d9e5c9eb0f8fac630a.tar.bz2
samba-f4add4fbf545313f5d24e0d9e5c9eb0f8fac630a.zip
s3-waf: split out LIBCLI_WINREG_INTERNAL as LIBCLI_WINREG was pulling in rpc server code in undesired places.
Andreas, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jul 8 18:34:44 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-xsource3/wscript_build11
1 files changed, 6 insertions, 5 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 35b0b1d521..31552a07ba 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -47,9 +47,6 @@ LIBCLI_SAMR_SRC = 'rpc_client/cli_samr.c'
LIBRPCCLI_NETLOGON_SRC = 'rpc_client/cli_netlogon.c rpc_client/util_netlogon.c'
-LIBCLI_WINREG_SRC = '''rpc_client/cli_winreg.c
- rpc_client/cli_winreg_int.c'''
-
# this includes only the low level parse code, not stuff
# that requires knowledge of security contexts
REG_PARSE_PRS_SRC = '''registry/reg_parse_prs.c'''
@@ -1082,8 +1079,12 @@ bld.SAMBA3_LIBRARY('LIBCLI_SPOOLSS',
private_library=True)
bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG',
- source=LIBCLI_WINREG_SRC,
- deps='RPC_NDR_WINREG RPC_NCACN_NP')
+ source='rpc_client/cli_winreg.c',
+ deps='RPC_NDR_WINREG')
+
+bld.SAMBA3_SUBSYSTEM('LIBCLI_WINREG_INTERNAL',
+ source='rpc_client/cli_winreg_int.c',
+ deps='LIBCLI_WINREG RPC_NCACN_NP')
bld.SAMBA3_SUBSYSTEM('RPC_CLIENT_SCHANNEL',
source=RPC_CLIENT_SCHANNEL_SRC,