s4 dns: Split up the code into multiple files for easier development
[Samba.git] / libcli / nbt / wscript_build
blob48afffbefa5c27acf91c3b26cd6cbb42831b2426
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
4 source='nbtname.c',
5 deps='talloc',
6 autoproto='nbtname.h'
10 bld.SAMBA_LIBRARY('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 tevent UTIL_TEVENT NDR_SECURITY samba_socket LIBSAMBA-UTIL',
13 private_library=True
17 bld.SAMBA_BINARY('nmblookup',
18 source='tools/nmblookup.c',
19 manpages='man/nmblookup.1',
20 deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBCLI_NBT popt POPT_SAMBA LIBNETIF LIBCLI_RESOLVE'
24 bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
25 source='../ndr_netlogon.c',
26 public_deps='LIBNDR NDR_SECURITY'
30 bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON',
31 source='../netlogon.c',
32 public_deps='LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON'
36 bld.SAMBA_PYTHON('python_netbios',
37 source='pynbt.c',
38 public_deps='LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG',
39 realname='samba/netbios.so'