From 83b2fd30215c5286f0f05bddce76bd5e0959c5c8 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 26 May 2010 14:09:39 +0200 Subject: [PATCH] s3-waf: Build smbclient binary --- source3/wscript_build | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/source3/wscript_build b/source3/wscript_build index 6d8c6b77c08..cbe2cbb6b5d 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 -- 2.11.4.GIT