252a9b812337d407f264cbbbffb29782ddf766ab
[kai/samba-autobuild/.git] / source4 / nbt_server / wscript_build
1 #!/usr/bin/env python
2
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         )
8
9
10 bld.SAMBA_MODULE('ldb_wins_ldb',
11         source='wins/wins_ldb.c',
12         subsystem='ldb',
13         init_function='ldb_wins_ldb_module_init',
14         module_init_name='ldb_init_module',
15         deps='ldb netif samba-hostconfig samba-util',
16         internal_module=False,
17         )
18
19
20 bld.SAMBA_SUBSYSTEM('NBTD_WINS',
21         source='wins/winsserver.c wins/winsclient.c wins/winswack.c wins/wins_dns_proxy.c',
22         autoproto='wins/winsserver_proto.h',
23         deps='cli-nbt WINSDB'
24         )
25
26
27 bld.SAMBA_SUBSYSTEM('NBTD_DGRAM',
28         source='dgram/request.c dgram/netlogon.c dgram/browse.c',
29         autoproto='dgram/proto.h',
30         deps='LIBCLI_DGRAM CLDAPD'
31         )
32
33
34 bld.SAMBA_SUBSYSTEM('NBT_SERVER',
35         source='interfaces.c register.c query.c nodestatus.c defense.c packet.c irpc.c',
36         autoproto='nbt_server_proto.h',
37         deps='cli-nbt NBTD_WINS NBTD_DGRAM'
38         )
39
40
41 bld.SAMBA_MODULE('service_nbtd',
42         source='nbt_server.c',
43         subsystem='service',
44         init_function='server_service_nbtd_init',
45         deps='NBT_SERVER process_model',
46         internal_module=False,
47         )
48