summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 17:19:59 +0200
committerGünther Deschner <gd@samba.org>2010-08-25 22:56:29 +0200
commitdc663295d19357773a0c5d990f50be831a1e76e8 (patch)
tree9c4a0d24aef0dd1bdc1d7ea4e71749c6ff5d2003 /source3/wscript_build
parent72f30e82e406ae3690c0d324b844fc6b3a4c02c4 (diff)
downloadsamba-dc663295d19357773a0c5d990f50be831a1e76e8.tar.gz
samba-dc663295d19357773a0c5d990f50be831a1e76e8.tar.bz2
samba-dc663295d19357773a0c5d990f50be831a1e76e8.zip
s3-build: only link in spoolss client code where needed.
Shrinks a lot of binaries by 1 MB each. Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index c920f4953e..51a88e22c8 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -75,6 +75,10 @@ LIBCLI_SPOOLSS_SRC = '''
rpc_client/cli_spoolss.c
rpc_client/init_spoolss.c'''
+LIBCLI_EVENTLOG_SRC = '''
+ librpc/gen_ndr/cli_eventlog.c
+ librpc/gen_ndr/ndr_eventlog_c.c'''
+
LIBNDR_GEN_SRC = '''../librpc/gen_ndr/ndr_wkssvc.c
${LIBNDR_GEN_SRC0}
../librpc/gen_ndr/ndr_dfs.c
@@ -305,7 +309,6 @@ DCERPC_CLIENT_GEN_SRC = '''
../librpc/gen_ndr/ndr_svcctl_c.c
../librpc/gen_ndr/ndr_winreg_c.c
../librpc/gen_ndr/ndr_initshutdown_c.c
- ../librpc/gen_ndr/ndr_eventlog_c.c
../librpc/gen_ndr/ndr_wkssvc_c.c
../librpc/gen_ndr/ndr_netlogon_c.c
../librpc/gen_ndr/ndr_samr_c.c
@@ -321,7 +324,6 @@ LIBMSRPC_GEN_SRC = '''../librpc/gen_ndr/cli_lsa.c
../librpc/gen_ndr/cli_svcctl.c
../librpc/gen_ndr/cli_winreg.c
../librpc/gen_ndr/cli_initshutdown.c
- ../librpc/gen_ndr/cli_eventlog.c
../librpc/gen_ndr/cli_wkssvc.c
../librpc/gen_ndr/cli_netlogon.c
../librpc/gen_ndr/cli_samr.c