lib/socket move interfaces code to the top level
[sfrench/samba-autobuild/.git] / source4 / lib / socket / wscript_build
index afa6644fac3ddf5633b68829719e52c8a611630a..fa497335fb85be4ca615e23637e22d45c811583b 100644 (file)
@@ -1,35 +1,29 @@
 #!/usr/bin/env python
 
 #!/usr/bin/env python
 
-# AUTOGENERATED by mktowscript.pl from ../../source4/lib/socket/config.mk
-# Please remove this notice if hand editing
-
-
-bld.SAMBA_SUBSYSTEM('LIBNETIF',
-       source='interface.c netif.c',
-       autoproto='netif_proto.h',
-       deps='LIBSAMBA-UTIL LIBREPLACE_NETWORK'
-       )
-
+bld.SAMBA_LIBRARY('netif',
+                  source='interface.c',
+                  deps='samba-util interfaces',
+                  private_library=True,
+                  autoproto='netif_proto.h'
+                  )
 
 bld.SAMBA_MODULE('socket_ip',
 
 bld.SAMBA_MODULE('socket_ip',
-       source='socket_ip.c',
-       subsystem='samba_socket',
-       deps='LIBSAMBA-ERRORS LIBREPLACE_NETWORK',
-       internal_module=True
-       )
-
+    source='socket_ip.c',
+    subsystem='samba_socket',
+    deps='errors',
+    internal_module=True
+    )
 
 bld.SAMBA_MODULE('socket_unix',
 
 bld.SAMBA_MODULE('socket_unix',
-       source='socket_unix.c',
-       subsystem='samba_socket',
-       deps='LIBREPLACE_NETWORK talloc',
-       internal_module=True
-       )
-
+    source='socket_unix.c',
+    subsystem='samba_socket',
+    deps='talloc',
+    internal_module=True
+    )
 
 bld.SAMBA_SUBSYSTEM('samba_socket',
 
 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'
+    )