libndr: Avoid assigning duplicate versions to symbols
[amitay/samba.git] / libcli / nbt / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_SUBSYSTEM('NDR_NBT_BUF',
4         source='nbtname.c',
5         deps='talloc',
6         autoproto='nbtname.h'
7         )
8
9 bld.SAMBA_SUBSYSTEM('lmhosts',
10                     source='lmhosts.c',
11                     deps='replace talloc'
12                     )
13
14 bld.SAMBA_LIBRARY('cli-nbt',
15                   source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
16                   public_deps='ndr ndr_nbt tevent tevent-util NDR_SECURITY samba_socket samba-util lmhosts',
17                   private_library=True
18                   )
19
20 bld.SAMBA_BINARY('nmblookup' + bld.env.suffix4,
21                  source='tools/nmblookup.c',
22                  manpages='man/nmblookup4.1',
23                  deps='samba-hostconfig samba-util cli-nbt popt POPT_SAMBA netif LIBCLI_RESOLVE',
24                  install=False,
25                  )
26
27 bld.SAMBA_PYTHON('python_netbios',
28                  source='pynbt.c',
29                  public_deps='cli-nbt DYNCONFIG samba-hostconfig',
30                  realname='samba/netbios.so'
31                  )
32