summaryrefslogtreecommitdiff
path: root/libcli/nbt/wscript_build
blob: c4a9428142f8a0482884df86fb124977e1a4e995 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/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'
                 )

bld.SAMBA_PYTHON('python_netbios',
                 source='pynbt.c',
                 public_deps='cli-nbt DYNCONFIG samba-hostconfig',
                 realname='samba/netbios.so'
                 )