summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-05-26 14:09:39 +0200
committerKai Blin <kai@samba.org>2010-05-26 14:10:54 +0200
commit83b2fd30215c5286f0f05bddce76bd5e0959c5c8 (patch)
tree9b702cba25e6209d629ccd95031cfca726c0ba4a /source3
parent59f3c4ec591e21235650e7e8bfae2540e423c533 (diff)
downloadsamba-83b2fd30215c5286f0f05bddce76bd5e0959c5c8.tar.gz
samba-83b2fd30215c5286f0f05bddce76bd5e0959c5c8.tar.bz2
samba-83b2fd30215c5286f0f05bddce76bd5e0959c5c8.zip
s3-waf: Build smbclient binary
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript_build17
1 files changed, 17 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 6d8c6b77c0..cbe2cbb6b5 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -771,6 +771,17 @@ EVTLOGADM_SRC = '''${EVTLOGADM_SRC0}
../librpc/gen_ndr/ndr_eventlog.c
../librpc/gen_ndr/ndr_lsa.c'''
+DISPLAY_SEC_SRC= '../libcli/security/display_sec.c'
+
+CLIENT_SRC1 = '''client/client.c client/clitar.c ${RPC_CLIENT_SRC}
+ ../librpc/rpc/binding.c client/dnsbrowse.c
+ ${RPC_CLIENT_SRC1} ${RPC_PARSE_SRC2}'''
+
+CLIENT_SRC = '''${CLIENT_SRC1} ${PARAM_SRC}
+ ${KRBCLIENT_SRC} ${LIBMSRPC_GEN_SRC}
+ ${READLINE_SRC} ${DISPLAY_SEC_SRC}'''
+
+
LIBS='ICONV'
bld.SAMBA_GENERATOR('build_options',
@@ -934,6 +945,12 @@ bld.SAMBA_BINARY('web/swat',
install_path='${SBINDIR}',
vars=locals())
+bld.SAMBA_BINARY('smbclient',
+ source=CLIENT_SRC,
+ deps='''talloc tdb POPT_SAMBA PASSDB LIBSMB LIB_NONSMBD
+ PARAM_WITHOUT_REG LIBWBCLIENT DYNCONFIG''',
+ vars=locals())
+
bld.SAMBA_BINARY('wbinfo',
source=WBINFO_SRC,
deps='''talloc LIBWBCLIENT DYNCONFIG tevent cap