lib/socket move interfaces code to the top level
[sfrench/samba-autobuild/.git] / source4 / lib / socket / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('netif',
4                   source='interface.c',
5                   deps='samba-util interfaces',
6                   private_library=True,
7                   autoproto='netif_proto.h'
8                   )
9
10 bld.SAMBA_MODULE('socket_ip',
11     source='socket_ip.c',
12     subsystem='samba_socket',
13     deps='errors',
14     internal_module=True
15     )
16
17 bld.SAMBA_MODULE('socket_unix',
18     source='socket_unix.c',
19     subsystem='samba_socket',
20     deps='talloc',
21     internal_module=True
22     )
23
24 bld.SAMBA_SUBSYSTEM('samba_socket',
25     source='socket.c access.c connect_multi.c connect.c',
26     public_deps='talloc LIBTSOCKET',
27     deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix'
28     )
29