summaryrefslogtreecommitdiffstats
path: root/source3/nmbd/wscript_build
blob: 399cdb441888e124ea52a8b736c7bd3fd4dcf0f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/usr/bin/env python

nmbd_cflags = ''
if bld.CONFIG_SET('HAVE_WNO_ERROR_STRINGOP_OVERFLOW'):
    nmbd_cflags = '-Wno-error=stringop-overflow'

bld.SAMBA3_BINARY('nmbd',
                 source='''
                 asyncdns.c
                 nmbd.c
                 nmbd_become_dmb.c
                 nmbd_become_lmb.c
                 nmbd_browserdb.c
                 nmbd_browsesync.c
                 nmbd_elections.c
                 nmbd_incomingdgrams.c
                 nmbd_incomingrequests.c
                 nmbd_lmhosts.c
                 nmbd_logonnames.c
                 nmbd_mynames.c
                 nmbd_namelistdb.c
                 nmbd_namequery.c
                 nmbd_nameregister.c
                 nmbd_namerelease.c
                 nmbd_nodestatus.c
                 nmbd_packets.c
                 nmbd_processlogon.c
                 nmbd_responserecordsdb.c
                 nmbd_sendannounce.c
                 nmbd_serverlistdb.c
                 nmbd_subnetdb.c
                 nmbd_winsproxy.c
                 nmbd_winsserver.c
                 nmbd_workgroupdb.c
                 nmbd_synclists.c
                 ''',
                 cflags=nmbd_cflags,
                 deps='''
                 talloc
                 tevent
                 smbconf
                 libsmb
                 CMDLINE_S3
                 ''',
                 install_path='${SBINDIR}')