build: list sources of cli_spoolss directly in the definition.
authorMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 05:42:14 +0000 (07:42 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 23 Sep 2013 18:22:20 +0000 (20:22 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/wscript_build

index bf453bfe9eb3a4e4f465ede324e9fc0cb6c4cf82..098b23e5ec56e13cef7cc33322493c65c120705a 100755 (executable)
@@ -3,9 +3,6 @@
 from samba_utils import *
 import samba_version, samba3
 
-LIBCLI_SPOOLSS_SRC = '''rpc_client/cli_spoolss.c
-                     rpc_client/init_spoolss.c'''
-
 LIBCLI_LSA_SRC = '''rpc_client/cli_lsarpc.c'''
 
 LIBCLI_SAMR_SRC = 'rpc_client/cli_samr.c'
@@ -1011,7 +1008,8 @@ bld.SAMBA3_LIBRARY('libcli_netlogon3',
                    private_library=True)
 
 bld.SAMBA3_LIBRARY('cli_spoolss',
-                   source=LIBCLI_SPOOLSS_SRC,
+                   source='''rpc_client/cli_spoolss.c
+                   rpc_client/init_spoolss.c''',
                    deps='RPC_NDR_SPOOLSS param secrets3',
                    private_library=True)