summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 17:42:59 +0200
committerGünther Deschner <gd@samba.org>2010-08-25 23:04:10 +0200
commitbd22ef79c2a8167da0783f9759fd7df63554a146 (patch)
treebafe6baed58e0f0ee838511258c4c6c6d0286863 /source3/wscript_build
parent4dbb682bc5ee9b1893ad815b710aac46d5bf94db (diff)
downloadsamba-bd22ef79c2a8167da0783f9759fd7df63554a146.tar.gz
samba-bd22ef79c2a8167da0783f9759fd7df63554a146.tar.bz2
samba-bd22ef79c2a8167da0783f9759fd7df63554a146.zip
s3-waf: only link in drsuapi client code where needed.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 89171b94d9..83983d4d5f 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -87,6 +87,10 @@ LIBCLI_NTSVCS_SRC = '''
librpc/gen_ndr/cli_ntsvcs.c
librpc/gen_ndr/ndr_ntsvcs_c.c'''
+LIBCLI_DRSUAPI_SRC = '''
+ librpc/gen_ndr/cli_drsuapi.c
+ librpc/gen_ndr/ndr_drsuapi_c.c'''
+
LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
${LIBNDR_GEN_SRC0}
../librpc/gen_ndr/ndr_dfs.c
@@ -320,8 +324,7 @@ DCERPC_CLIENT_GEN_SRC = '''
../librpc/gen_ndr/ndr_netlogon_c.c
../librpc/gen_ndr/ndr_samr_c.c
../librpc/gen_ndr/ndr_dssetup_c.c
- ../librpc/gen_ndr/ndr_epmapper_c.c
- ../librpc/gen_ndr/ndr_drsuapi_c.c'''
+ ../librpc/gen_ndr/ndr_epmapper_c.c'''
LIBMSRPC_GEN_SRC = '''../librpc/gen_ndr/cli_lsa.c
../librpc/gen_ndr/cli_dfs.c
@@ -334,7 +337,6 @@ LIBMSRPC_GEN_SRC = '''../librpc/gen_ndr/cli_lsa.c
../librpc/gen_ndr/cli_samr.c
../librpc/gen_ndr/cli_dssetup.c
../librpc/gen_ndr/cli_epmapper.c
- ../librpc/gen_ndr/cli_drsuapi.c
${DCERPC_CLIENT_GEN_SRC}
../librpc/rpc/dcerpc_util.c
librpc/rpc/dcerpc_helpers.c