Rename 'errors' to 'samba-errors' and make it public.
[obnox/samba/samba-obnox.git] / source4 / lib / socket / wscript_build
index 7fded7bc88fb64b5ddcf2e288b7c005803c3e3cb..1cb89c610db0a33d8fa44336f7f61c72be2d0534 100644 (file)
@@ -1,16 +1,16 @@
 #!/usr/bin/env python
 
-bld.SAMBA_LIBRARY('libnetif',
-    source='interface.c netif.c',
-    autoproto='netif_proto.h',
-    deps='libsamba-util',
-    private_library=True
-    )
+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='libsamba-errors',
+    deps='samba-errors',
     internal_module=True
     )
 
@@ -24,6 +24,6 @@ bld.SAMBA_MODULE('socket_unix',
 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'
+    deps='cli_composite LIBCLI_RESOLVE socket_ip socket_unix'
     )