1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00
samba-mirror/libcli/nbt/wscript_build
Matthias Dieter Wallnöfer 22c407d8bd libcli/nbt/wscript_build - fix build of "lmhosts"
Needs also the "talloc" dependency.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Feb 25 11:01:31 CET 2011 on sn-devel-104
2011-02-25 11:01:31 +01:00

33 lines
1.1 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'
)
if bld.env._SAMBA_BUILD_ == 4:
bld.SAMBA_LIBRARY('cli-nbt',
source='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 lmhosts',
private_library=True
)
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'
)