diff options
author | Michael Adam <obnox@samba.org> | 2013-09-23 02:08:49 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-09-23 20:21:32 +0200 |
commit | 0e9f7167a511512a3760fc96c0272935eb0255af (patch) | |
tree | 3704285643ec60ebe060665dcd4a719c870780c3 | |
parent | fcb3d88e06664a2fc6c06f14b5acb692e6c301b3 (diff) | |
download | samba-0e9f7167a511512a3760fc96c0272935eb0255af.tar.gz samba-0e9f7167a511512a3760fc96c0272935eb0255af.tar.bz2 samba-0e9f7167a511512a3760fc96c0272935eb0255af.zip |
build: list sources of nmbd directly in the definition and remove vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | source3/wscript_build | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index cee120cf8f..c27b24ccf9 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -407,21 +407,6 @@ PRINTBACKEND_SRC = '''printing/printing.c printing/nt_printing_ads.c printing/queue_process.c''' -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}' - STATUS_SRC = '''utils/status.c utils/status_profile.c smbd/notify_internal.c''' SMBCONTROL_SRC = '''utils/smbcontrol.c''' @@ -1170,7 +1155,18 @@ bld.SAMBA3_BINARY('smbd/smbd', vars=locals()) bld.SAMBA3_BINARY('nmbd/nmbd', - source=NMBD_SRC, + source='''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''', deps=''' talloc tevent @@ -1178,8 +1174,7 @@ bld.SAMBA3_BINARY('nmbd/nmbd', libsmb popt_samba3 PROFILE''', - install_path='${SBINDIR}', - vars=locals()) + install_path='${SBINDIR}') bld.SAMBA3_BINARY('winbindd/winbindd', source=WINBINDD_SRC, |