lib/param move source4 param code to the top level
[sfrench/samba-autobuild/.git] / source4 / ntvfs / wscript_build
index 7b4c10d8ccd1c0a473ff55fa3fe9ecbdb26965f3..455e7f0b8b800519865f6c074613b581ea35b521 100644 (file)
@@ -1,16 +1,15 @@
-# AUTOGENERATED by mktowscript.pl from ../../source4/ntvfs/config.mk
-# Please remove this notice if hand editing
+#!/usr/bin/env python
 
-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',
        subsystem='ntvfs',
        init_function='ntvfs_cifs_init',
-       deps='LIBCLI_SMB LIBCLI_RAW'
+       deps='LIBCLI_SMB smbclient-raw param_options'
        )
 
 
@@ -18,7 +17,7 @@ bld.SAMBA_MODULE('ntvfs_smb2',
        source='smb2/vfs_smb2.c',
        subsystem='ntvfs',
        init_function='ntvfs_smb2_init',
-       deps='LIBCLI_SMB LIBCLI_RAW'
+       deps='LIBCLI_SMB smbclient-raw param_options'
        )
 
 
@@ -26,7 +25,8 @@ bld.SAMBA_MODULE('ntvfs_simple',
        source='simple/vfs_simple.c simple/svfs_util.c',
        autoproto='simple/proto.h',
        subsystem='ntvfs',
-       init_function='ntvfs_simple_init'
+       init_function='ntvfs_simple_init',
+       deps='talloc'
        )
 
 
@@ -34,14 +34,16 @@ bld.SAMBA_MODULE('ntvfs_cifsposix',
        source='cifs_posix_cli/vfs_cifs_posix.c cifs_posix_cli/svfs_util.c',
        autoproto='cifs_posix_cli/proto.h',
        subsystem='ntvfs',
-       init_function='ntvfs_cifs_posix_init'
+       init_function='ntvfs_cifs_posix_init',
+       deps='talloc'
        )
 
 
 bld.SAMBA_MODULE('ntvfs_print',
        source='print/vfs_print.c',
        subsystem='ntvfs',
-       init_function='ntvfs_print_init'
+       init_function='ntvfs_print_init',
+       deps='talloc'
        )
 
 
@@ -50,19 +52,22 @@ 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 npa_tstream gssapi samba-credentials DCERPC_SHARE'
        )
 
 
 bld.SAMBA_MODULE('ntvfs_nbench',
        source='nbench/vfs_nbench.c',
        subsystem='ntvfs',
-       init_function='ntvfs_nbench_init'
+       init_function='ntvfs_nbench_init',
+       deps='talloc'
        )
 
 
-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 samba-modules',
+                  private_library=True
+                  )