Free the memory talloc'd
[Samba/gebeck_regimport.git] / libcli / nbt / wscript_build
blob2c70a1d775aec364cadeeda9481ef10de5d36f8d
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
4 source='nbtname.c',
5 deps='talloc',
6 autoproto='nbtname.h'
9 bld.SAMBA_SUBSYSTEM('lmhosts',
10 source='lmhosts.c ../dns/dns_hosts_file.c',
11 deps='replace talloc'
14 if bld.env._SAMBA_BUILD_ == 4:
15 bld.SAMBA_LIBRARY('cli-nbt',
16 source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
17 public_deps='ndr NDR_NBT tevent tevent-util NDR_SECURITY samba_socket samba-util lmhosts',
18 private_library=True
21 bld.SAMBA_BINARY('nmblookup',
22 source='tools/nmblookup.c',
23 manpages='man/nmblookup.1',
24 deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE'
27 bld.SAMBA_PYTHON('python_netbios',
28 source='pynbt.c',
29 public_deps='cli-nbt DYNCONFIG samba-hostconfig',
30 realname='samba/netbios.so'