s3: Fix Coverity ID 703869 Logically dead code
[Samba/gebeck_regimport.git] / source4 / nbt_server / wscript_build
blob665ccd46c2e8ab98748e0bb2d704fb858c081238
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('WINSDB',
4 source='wins/winsdb.c wins/wins_hook.c',
5 autoproto='wins/winsdb_proto.h',
6 public_deps='ldb ldbsamba',
7 enabled=bld.AD_DC_BUILD_IS_ENABLED()
11 bld.SAMBA_MODULE('ldb_wins_ldb',
12 source='wins/wins_ldb.c',
13 subsystem='ldb',
14 init_function='ldb_wins_ldb_module_init',
15 module_init_name='ldb_init_module',
16 deps='ldb netif samba-hostconfig samba-util',
17 internal_module=False,
18 enabled=bld.AD_DC_BUILD_IS_ENABLED()
22 bld.SAMBA_SUBSYSTEM('NBTD_WINS',
23 source='wins/winsserver.c wins/winsclient.c wins/winswack.c wins/wins_dns_proxy.c',
24 autoproto='wins/winsserver_proto.h',
25 deps='cli-nbt WINSDB',
26 enabled=bld.AD_DC_BUILD_IS_ENABLED()
30 bld.SAMBA_SUBSYSTEM('NBTD_DGRAM',
31 source='dgram/request.c dgram/netlogon.c dgram/browse.c',
32 autoproto='dgram/proto.h',
33 deps='LIBCLI_DGRAM CLDAPD',
34 enabled=bld.AD_DC_BUILD_IS_ENABLED()
38 bld.SAMBA_SUBSYSTEM('NBT_SERVER',
39 source='interfaces.c register.c query.c nodestatus.c defense.c packet.c irpc.c',
40 autoproto='nbt_server_proto.h',
41 deps='cli-nbt NBTD_WINS NBTD_DGRAM service',
42 enabled=bld.AD_DC_BUILD_IS_ENABLED()
46 bld.SAMBA_MODULE('service_nbtd',
47 source='nbt_server.c',
48 subsystem='service',
49 init_function='server_service_nbtd_init',
50 deps='NBT_SERVER process_model',
51 internal_module=False,
52 enabled=bld.AD_DC_BUILD_IS_ENABLED()