build: Reduce build systems to just top level waf and autoconf
[obnox/samba/samba-obnox.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 ../dns/dns_hosts_file.c',
11                     deps='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