libcli/dns: make 'clidns' private library out of DNS code in WAF build
[sfrench/samba-autobuild/.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 bld.SAMBA_SUBSYSTEM('lmhosts',
10                     source='lmhosts.c',
11                     deps='clidns replace talloc'
12                     )
13
14 bld.SAMBA_LIBRARY('cli-nbt',
15                   source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
16                   public_deps='ndr ndr_nbt tevent tevent-util NDR_SECURITY samba_socket samba-util lmhosts',
17                   private_library=True
18                   )
19
20 bld.SAMBA_BINARY('nmblookup',
21                  source='tools/nmblookup.c',
22                  manpages='man/nmblookup.1',
23                  deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE'
24                  )
25
26 bld.SAMBA_PYTHON('python_netbios',
27                  source='pynbt.c',
28                  public_deps='cli-nbt DYNCONFIG samba-hostconfig',
29                  realname='samba/netbios.so'
30                  )
31