1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00
samba-mirror/libcli/nbt/wscript_build

30 lines
878 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
source='nbtname.c',
2010-10-23 23:36:32 +02:00
deps='talloc',
autoproto='nbtname.h'
)
bld.SAMBA_LIBRARY('cli-nbt',
2010-10-23 23:36:32 +02:00
source='lmhosts.c nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c dns_hosts_file.c',
public_deps='ndr NDR_NBT tevent UTIL_TEVENT NDR_SECURITY samba_socket samba-util',
2010-10-23 23:36:32 +02:00
private_library=True
)
if bld.env._SAMBA_BUILD_ == 4:
bld.SAMBA_BINARY('nmblookup',
source='tools/nmblookup.c',
manpages='man/nmblookup.1',
deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE'
)
bld.SAMBA_PYTHON('python_netbios',
source='pynbt.c',
public_deps='cli-nbt DYNCONFIG samba-hostconfig',
realname='samba/netbios.so'
)