b85a5d7090217c23acedcad4a5e69c432e33c625
[kai/samba.git] / libcli / nbt / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
4         source='nbtname.c',
5         deps='talloc',
6         autoproto='nbtname.h'
7         )
8
9
10 bld.SAMBA_SUBSYSTEM('LIBCLI_NBT',
11         source='lmhosts.c nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c dns_hosts_file.c',
12         public_deps='LIBNDR NDR_NBT LIBCLI_COMPOSITE LIBEVENTS NDR_SECURITY samba_socket LIBSAMBA-UTIL'
13         )
14
15
16 bld.SAMBA_BINARY('nmblookup',
17         source='tools/nmblookup.c',
18         manpages='man/nmblookup.1',
19         installdir='BINDIR',
20         deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBCLI_NBT popt POPT_SAMBA LIBNETIF LIBCLI_RESOLVE'
21         )
22
23
24 bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
25         source='../ndr_netlogon.c',
26         public_deps='LIBNDR NDR_SECURITY'
27         )
28
29
30 bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON',
31         source='../netlogon.c',
32         public_deps='LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON'
33         )
34
35
36 bld.SAMBA_PYTHON('python_netbios',
37         source='pynbt.c',
38         public_deps='LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG',
39         realname='samba/netbios.so'
40         )
41