s4-waf: removed the dependency loop between ntvfs and dcerpc_server
[abartlet/samba.git/.git] / source4 / ntvfs / wscript_build
index 1dd67216d3fbdc491bfa4b5da239e1b2b6bf9838..48810f5dd3a7fb1a9012386311b5ae9a7098b13d 100644 (file)
@@ -49,7 +49,7 @@ bld.SAMBA_MODULE('ntvfs_ipc',
        autoproto='ipc/proto.h',
        subsystem='ntvfs',
        init_function='ntvfs_ipc_init',
-       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS DCERPC_COMMON'
+       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS'
        )
 
 
@@ -60,8 +60,10 @@ bld.SAMBA_MODULE('ntvfs_nbench',
        )
 
 
-bld.SAMBA_SUBSYSTEM('ntvfs',
-       source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
-       autoproto='ntvfs_proto.h'
-       )
+bld.SAMBA_LIBRARY('ntvfs',
+                  source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
+                  autoproto='ntvfs_proto.h',
+                  deps='tevent',
+                  private_library=True
+                  )