mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
fdb6305c86
This was part of --extra-python support. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
33 lines
1.0 KiB
Python
33 lines
1.0 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
|
|
source='nbtname.c',
|
|
deps='talloc',
|
|
autoproto='nbtname.h'
|
|
)
|
|
|
|
bld.SAMBA_SUBSYSTEM('lmhosts',
|
|
source='lmhosts.c',
|
|
deps='replace talloc'
|
|
)
|
|
|
|
bld.SAMBA_LIBRARY('cli-nbt',
|
|
source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
|
|
public_deps='ndr ndr_nbt tevent tevent-util NDR_SECURITY samba_socket samba-util lmhosts',
|
|
private_library=True
|
|
)
|
|
|
|
bld.SAMBA_BINARY('nmblookup' + bld.env.suffix4,
|
|
source='tools/nmblookup.c',
|
|
manpages='man/nmblookup4.1',
|
|
deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE',
|
|
install=False
|
|
)
|
|
|
|
bld.SAMBA_PYTHON('python_netbios',
|
|
source='pynbt.c',
|
|
public_deps='cli-nbt DYNCONFIG samba-hostconfig',
|
|
realname='samba/netbios.so'
|
|
)
|
|
|