summaryrefslogtreecommitdiff
path: root/libcli/nbt/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-02-24 11:33:09 +1100
committerAndrew Tridgell <tridge@samba.org>2011-02-24 11:57:48 +1100
commit52fe20c3103bbdec72f95344f07dd98b0fa915ce (patch)
treeaad8ae360d3abadc016201cedb0a046ab9f7f589 /libcli/nbt/wscript_build
parent94c04b10db5032d83c21ea6eb8665bf930e81a9f (diff)
downloadsamba-52fe20c3103bbdec72f95344f07dd98b0fa915ce.tar.gz
samba-52fe20c3103bbdec72f95344f07dd98b0fa915ce.tar.bz2
samba-52fe20c3103bbdec72f95344f07dd98b0fa915ce.zip
build: moved lmhosts.c into a common subsystem
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/nbt/wscript_build')
-rw-r--r--libcli/nbt/wscript_build8
1 files changed, 6 insertions, 2 deletions
diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build
index 7e3047079a..6227482b58 100644
--- a/libcli/nbt/wscript_build
+++ b/libcli/nbt/wscript_build
@@ -6,11 +6,15 @@ bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
autoproto='nbtname.h'
)
+bld.SAMBA_SUBSYSTEM('lmhosts',
+ source='lmhosts.c',
+ deps='replace')
+
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',
+ 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
)