summaryrefslogtreecommitdiff
path: root/libcli/nbt/wscript_build
blob: 48afffbefa5c27acf91c3b26cd6cbb42831b2426 (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
32
33
34
35
36
37
38
39
40
41
#!/usr/bin/env python

bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
	source='nbtname.c',
        deps='talloc',
	autoproto='nbtname.h'
	)


bld.SAMBA_LIBRARY('LIBCLI_NBT',
                  source='lmhosts.c nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c dns_hosts_file.c',
                  public_deps='LIBNDR NDR_NBT tevent UTIL_TEVENT NDR_SECURITY samba_socket LIBSAMBA-UTIL',
                  private_library=True
                  )


bld.SAMBA_BINARY('nmblookup',
	source='tools/nmblookup.c',
	manpages='man/nmblookup.1',
	deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBCLI_NBT popt POPT_SAMBA LIBNETIF LIBCLI_RESOLVE'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_NDR_NETLOGON',
	source='../ndr_netlogon.c',
	public_deps='LIBNDR NDR_SECURITY'
	)


bld.SAMBA_SUBSYSTEM('LIBCLI_NETLOGON',
	source='../netlogon.c',
	public_deps='LIBSAMBA-UTIL LIBCLI_NDR_NETLOGON'
	)


bld.SAMBA_PYTHON('python_netbios',
	source='pynbt.c',
	public_deps='LIBCLI_NBT DYNCONFIG LIBSAMBA-HOSTCONFIG',
	realname='samba/netbios.so'
	)