#!/usr/bin/env python
-
-bld.SAMBA_SUBSYSTEM('LIBNETIF',
- source='interface.c netif.c',
- autoproto='netif_proto.h',
- deps='LIBSAMBA-UTIL'
- )
-
+bld.SAMBA_LIBRARY('netif',
+ source='interface.c',
+ deps='samba-util interfaces',
+ private_library=True,
+ autoproto='netif_proto.h'
+ )
bld.SAMBA_MODULE('socket_ip',
- source='socket_ip.c',
- subsystem='samba_socket',
- deps='LIBSAMBA-ERRORS',
- internal_module=True
- )
-
+ source='socket_ip.c',
+ subsystem='samba_socket',
+ deps='errors',
+ internal_module=True
+ )
bld.SAMBA_MODULE('socket_unix',
- source='socket_unix.c',
- subsystem='samba_socket',
- deps='talloc',
- internal_module=True
- )
-
+ 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='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix'
- )
+ source='socket.c access.c connect_multi.c connect.c',
+ public_deps='talloc LIBTSOCKET',
+ deps='LIBCLI_COMPOSITE LIBCLI_RESOLVE socket_ip socket_unix'
+ )