summaryrefslogtreecommitdiff
path: root/libcli/nbt
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-21 10:00:49 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-22 02:51:09 +0100
commitefc932112c4cdfc9f40c74e811eae685163b79c5 (patch)
tree6e64a8eda45ed1345703a7b5316cea373a2e976a /libcli/nbt
parentacdfe48ebe6fb7199d24eb0f93ef82b676951aac (diff)
downloadsamba-efc932112c4cdfc9f40c74e811eae685163b79c5.tar.gz
samba-efc932112c4cdfc9f40c74e811eae685163b79c5.tar.bz2
samba-efc932112c4cdfc9f40c74e811eae685163b79c5.zip
libcli/nbt: allow use of the waf build for nbt in source3
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/nbt')
-rw-r--r--libcli/nbt/wscript_build24
1 files changed, 12 insertions, 12 deletions
diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build
index 7229d12e2e..a3c22dca07 100644
--- a/libcli/nbt/wscript_build
+++ b/libcli/nbt/wscript_build
@@ -14,16 +14,16 @@ bld.SAMBA_LIBRARY('cli-nbt',
)
-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'
- )
+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'
+ )