From dc663295d19357773a0c5d990f50be831a1e76e8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 12 Aug 2010 17:19:59 +0200 Subject: s3-build: only link in spoolss client code where needed. Shrinks a lot of binaries by 1 MB each. Guenther --- source3/wscript_build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source3/wscript_build') 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 -- cgit