net_usershare: Use dom_sid_str_buf
[Samba.git] / libcli / nbt / wscript_build
blobe965a347204a43d50a37f9b40046622a59b92375
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',
11 deps='replace talloc'
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
20 bld.SAMBA_BINARY('nmblookup' + bld.env.suffix4,
21 source='tools/nmblookup.c',
22 manpages='man/nmblookup4.1',
23 deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE',
24 install=False
27 for env in bld.gen_python_environments():
28 bld.SAMBA_PYTHON('python_netbios',
29 source='pynbt.c',
30 public_deps='cli-nbt DYNCONFIG samba-hostconfig',
31 realname='samba/netbios.so'