From 9aa85b6e30a226cf7f1d811d2c7742d2eb308417 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 21 Feb 2011 10:14:54 +1100 Subject: s3-waf: use common libcli/nbt build rules Pair-Programmed-With: Andrew Bartlett --- libcli/nbt/wscript_build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'libcli/nbt') diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build index a3c22dca07..7e3047079a 100644 --- a/libcli/nbt/wscript_build +++ b/libcli/nbt/wscript_build @@ -7,14 +7,13 @@ bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF', ) -bld.SAMBA_LIBRARY('cli-nbt', - 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', - private_library=True - ) - - if bld.env._SAMBA_BUILD_ == 4: + bld.SAMBA_LIBRARY('cli-nbt', + 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', + private_library=True + ) + bld.SAMBA_BINARY('nmblookup', source='tools/nmblookup.c', manpages='man/nmblookup.1', -- cgit