e2ff9b078a772de4e20bb0e86a9d9c577329efe4
[sfrench/samba-autobuild/.git] / source4 / lib / socket / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('netif',
4     source='interface.c netif.c',
5     autoproto='netif_proto.h',
6     deps='samba-util',
7     private_library=True
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