summaryrefslogtreecommitdiff
path: root/source3/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-08-12 15:42:16 +0200
committerGünther Deschner <gd@samba.org>2010-09-20 02:19:56 +0200
commit3f55c2ee7ac89f96e902b1f1b782e3e033e42f43 (patch)
tree679aab2ae1cbd01a4220114a2ecb2c1fdc8b2795 /source3/wscript_build
parent01371d968e09719e3034a919eddf3c90a48a71e4 (diff)
downloadsamba-3f55c2ee7ac89f96e902b1f1b782e3e033e42f43.tar.gz
samba-3f55c2ee7ac89f96e902b1f1b782e3e033e42f43.tar.bz2
samba-3f55c2ee7ac89f96e902b1f1b782e3e033e42f43.zip
s3-waf: add rpcclient to the waf build.
Guenther
Diffstat (limited to 'source3/wscript_build')
-rw-r--r--source3/wscript_build39
1 files changed, 39 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index e0e0e5fb50..99e1d3ee60 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -874,6 +874,39 @@ CLIENT_SRC = '''${CLIENT_SRC1} ${LIBMSRPC_GEN_SRC}
${LIBCLI_SRVSVC_SRC}
rpc_client/init_lsa.c'''
+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
+ ${DISPLAY_SEC_SRC}'''
+
+RPCCLIENT_SRC = '''${RPCCLIENT_SRC1}
+ ${LIBMSRPC_GEN_SRC}
+ ${LIBMSRPC_SRC}
+ ${READLINE_SRC}
+ ${LIBADS_SRC}
+ ${DCUTIL_SRC}
+ ${LIBCLI_SPOOLSS_SRC}
+ ${LIBCLI_EVENTLOG_SRC}
+ ${LIBCLI_NTSVCS_SRC}
+ ${LIBCLI_DRSUAPI_SRC}
+ ${LIBCLI_DFS_SRC}
+ ${LIBCLI_ECHO_SRC}
+ ${LIBCLI_DSSETUP_SRC}
+ ${LIBCLI_WKSSVC_SRC}
+ ${LIBCLI_SRVSVC_SRC}
+ ${LIBCLI_LSA_SRC}
+ ${LIBCLI_SAMR_SRC}
+ ${LIBCLI_WINREG_SRC}
+ ${LIBCLI_NETLOGON_SRC}
+ ${RPC_CLIENT_SCHANNEL_SRC}
+ rpc_client/init_netlogon.c
+ rpc_client/init_samr.c'''
LIBS='ICONV'
@@ -1050,6 +1083,12 @@ bld.SAMBA_BINARY('smbclient',
PARAM_WITHOUT_REG LIBWBCLIENT DYNCONFIG PARAM KRBCLIENT''',
vars=locals())
+bld.SAMBA_BINARY('rpcclient/rpcclient',
+ source=RPCCLIENT_SRC,
+ deps='''talloc tdb cap resolv POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
+ PARAM_WITHOUT_REG LIBWBCLIENT DYNCONFIG PARAM KRBCLIENT''',
+ vars=locals())
+
bld.SAMBA_BINARY('wbinfo',
source=WBINFO_SRC,
deps='''talloc LIBWBCLIENT DYNCONFIG tevent cap