summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2010-04-11 22:05:50 +0200
committerKai Blin <kai@samba.org>2010-05-20 22:16:13 +0200
commitb14d86f0a90672aaa4ffb831c11f1a7df3e239f6 (patch)
tree682e0f177470529d50b8d051fa581808b4117d3f
parent8e32f81d4d5ceee14b00fac97d529d372de220de (diff)
downloadsamba-b14d86f0a90672aaa4ffb831c11f1a7df3e239f6.tar.gz
samba-b14d86f0a90672aaa4ffb831c11f1a7df3e239f6.tar.bz2
samba-b14d86f0a90672aaa4ffb831c11f1a7df3e239f6.zip
s3-waf: Build nmbd using waf as well
-rw-r--r--source3/wscript_build24
1 files changed, 24 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 8f63f3a9ac..94653c77aa 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -655,6 +655,23 @@ PRINTBACKEND_SRC = 'printing/printing.c printing/nt_printing.c ${PRINTBASE_SRC}'
SMBD_SRC = '''${SMBD_SRC_BASE} ${SMBD_SRC_MAIN}'''
+NMBD_SRC1 = '''nmbd/asyncdns.c nmbd/nmbd.c nmbd/nmbd_become_dmb.c
+ nmbd/nmbd_become_lmb.c nmbd/nmbd_browserdb.c
+ nmbd/nmbd_browsesync.c nmbd/nmbd_elections.c
+ nmbd/nmbd_incomingdgrams.c nmbd/nmbd_incomingrequests.c
+ nmbd/nmbd_lmhosts.c nmbd/nmbd_logonnames.c nmbd/nmbd_mynames.c
+ nmbd/nmbd_namelistdb.c nmbd/nmbd_namequery.c
+ nmbd/nmbd_nameregister.c nmbd/nmbd_namerelease.c
+ nmbd/nmbd_nodestatus.c nmbd/nmbd_packets.c
+ nmbd/nmbd_processlogon.c nmbd/nmbd_responserecordsdb.c
+ nmbd/nmbd_sendannounce.c nmbd/nmbd_serverlistdb.c
+ nmbd/nmbd_subnetdb.c nmbd/nmbd_winsproxy.c nmbd/nmbd_winsserver.c
+ nmbd/nmbd_workgroupdb.c nmbd/nmbd_synclists.c'''
+
+NMBD_SRC = '''${NMBD_SRC1} ${PARAM_SRC} ${LIBSMB_SRC} ${LDB_SRC} ${KRBCLIENT_SRC}
+ ${PROFILE_SRC} ${LIB_NONSMBD_SRC} ${POPT_LIB_SRC} ${GROUPDB_SRC}
+ ${LIBNDR_GEN_SRC0} ${WBCOMMON_SRC} ${PASSDB_SRC} ${TLDAP_SRC}'''
+
LIBS='ICONV'
bld.env.AWK = 'gawk'
@@ -698,6 +715,13 @@ bld.SAMBA_BINARY('smbd/smbd',
includes='lib',
vars=locals())
+bld.SAMBA_BINARY('nmbd/nmbd',
+ source=NMBD_SRC,
+ deps='''talloc tdb tevent z cap resolv LIBWBCLIENT popt dl
+ NSS_WRAPPER DYNCONFIG''',
+ includes='lib ../lib/tdb/include',
+ vars=locals())
+
bld.RECURSE('../lib/socket_wrapper')
bld.RECURSE('../lib/talloc')
bld.RECURSE('../lib/tdb')