s4-waf: removed the dependency loop between ntvfs and dcerpc_server
[abartlet/samba.git/.git] / source4 / ntvfs / wscript_build
index a847b81c799930336bb54cf90c512903ea4c268d..48810f5dd3a7fb1a9012386311b5ae9a7098b13d 100644 (file)
@@ -1,12 +1,9 @@
 #!/usr/bin/env python
 
-# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/config.mk
-# Please remove this notice if hand editing
-
-bld.BUILD_SUBDIR('posix')
-bld.BUILD_SUBDIR('common')
-bld.BUILD_SUBDIR('unixuid')
-bld.BUILD_SUBDIR('sysdep')
+bld.RECURSE('posix')
+bld.RECURSE('common')
+bld.RECURSE('unixuid')
+bld.RECURSE('sysdep')
 
 bld.SAMBA_MODULE('ntvfs_cifs',
        source='cifs/vfs_cifs.c',
@@ -52,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 HEIMDAL_GSSAPI CREDENTIALS'
+       deps='NDR_NAMED_PIPE_AUTH NAMED_PIPE_AUTH_TSTREAM gssapi CREDENTIALS'
        )
 
 
@@ -63,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
+                  )