diff options
author | Michael Adam <obnox@samba.org> | 2013-09-23 09:36:10 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-23 20:25:09 +0200 |
commit | 0dee7c26a7719d220433c038c03e2bb82cdc7f09 (patch) | |
tree | b74f3453241713f8b64c75c1e095844392c63f1a | |
parent | 17a17783f998812e229844efc704ac8ee3b19ed6 (diff) | |
download | samba-0dee7c26a7719d220433c038c03e2bb82cdc7f09.tar.gz samba-0dee7c26a7719d220433c038c03e2bb82cdc7f09.tar.bz2 samba-0dee7c26a7719d220433c038c03e2bb82cdc7f09.zip |
build: list sources of binary rpcclinet directly in def, remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | source3/wscript_build | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index 3a06c6d0f4..5d6c878c07 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -3,18 +3,6 @@ from samba_utils import * import samba_version, samba3 -RPCCLIENT_SRC1 = '''rpcclient/rpcclient.c rpcclient/cmd_lsarpc.c - rpcclient/cmd_samr.c rpcclient/cmd_spoolss.c - rpcclient/cmd_netlogon.c rpcclient/cmd_srvsvc.c - rpcclient/cmd_dfs.c rpcclient/cmd_epmapper.c - rpcclient/cmd_dssetup.c rpcclient/cmd_echo.c - rpcclient/cmd_shutdown.c rpcclient/cmd_test.c - rpcclient/cmd_wkssvc.c rpcclient/cmd_ntsvcs.c - rpcclient/cmd_drsuapi.c rpcclient/cmd_eventlog.c - rpcclient/cmd_winreg.c rpcclient/cmd_fss.c''' - -RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}''' - LIBSMBCLIENT_THREAD_SRC = '''libsmb/libsmb_thread_impl.c libsmb/libsmb_thread_posix.c''' @@ -1111,7 +1099,24 @@ bld.SAMBA3_BINARY('winbindd/winbindd', install_path='${SBINDIR}') bld.SAMBA3_BINARY('rpcclient/rpcclient', - source=RPCCLIENT_SRC, + source='''rpcclient/rpcclient.c + rpcclient/cmd_lsarpc.c + rpcclient/cmd_samr.c + rpcclient/cmd_spoolss.c + rpcclient/cmd_netlogon.c + rpcclient/cmd_srvsvc.c + rpcclient/cmd_dfs.c + rpcclient/cmd_epmapper.c + rpcclient/cmd_dssetup.c + rpcclient/cmd_echo.c + rpcclient/cmd_shutdown.c + rpcclient/cmd_test.c + rpcclient/cmd_wkssvc.c + rpcclient/cmd_ntsvcs.c + rpcclient/cmd_drsuapi.c + rpcclient/cmd_eventlog.c + rpcclient/cmd_winreg.c + rpcclient/cmd_fss.c''', deps=''' talloc popt_samba3 @@ -1138,9 +1143,8 @@ bld.SAMBA3_BINARY('rpcclient/rpcclient', RPC_NDR_NTSVCS RPC_NDR_EVENTLOG INIT_SAMR - RPC_NDR_FSRVP - ''', - vars=locals()) + RPC_NDR_FSRVP + ''') bld.SAMBA3_BINARY('client/smbclient', source='''client/client.c |