1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
samba-mirror/source4/lib/socket/wscript_build
Jeremy Allison d333c56700 source4: Change to use lib/util/access functions.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12419

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Wed Nov 16 16:35:12 CET 2016 on sn-devel-144
2016-11-16 16:35:12 +01:00

30 lines
751 B
Python

#!/usr/bin/env python
bld.SAMBA_LIBRARY('netif',
source='interface.c',
deps='samba-util interfaces samba-hostconfig',
private_library=True,
autoproto='netif_proto.h'
)
bld.SAMBA_MODULE('socket_ip',
source='socket_ip.c',
subsystem='samba_socket',
deps='samba-errors',
internal_module=True
)
bld.SAMBA_MODULE('socket_unix',
source='socket_unix.c',
subsystem='samba_socket',
deps='talloc',
internal_module=True
)
bld.SAMBA_SUBSYSTEM('samba_socket',
source='socket.c access.c connect_multi.c connect.c',
public_deps='talloc LIBTSOCKET',
deps='cli_composite LIBCLI_RESOLVE socket_ip socket_unix access'
)