lib/socket move interfaces code to the top level
[sfrench/samba-autobuild/.git] / source4 / lib / socket / wscript_build
index c2de5f49f88c0ff6ac2b054a7dbdc52cdea0f1d7..fa497335fb85be4ca615e23637e22d45c811583b 100644 (file)
@@ -1,32 +1,29 @@
 #!/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'
+    )