Introduce system MIT krb5 build with --with-system-mitkrb5 option.
[kai/samba-autobuild/.git] / source4 / ntvfs / wscript_build
1 #!/usr/bin/env python
2
3 bld.SAMBA_LIBRARY('ntvfs',
4                   source='ntvfs_base.c ntvfs_generic.c ntvfs_interface.c ntvfs_util.c',
5                   autoproto='ntvfs_proto.h',
6                   deps='tevent samba-modules',
7                   private_library=True,
8                   enabled=bld.AD_DC_BUILD_IS_ENABLED()
9                   )
10
11 if bld.AD_DC_BUILD_IS_ENABLED():
12     bld.RECURSE('posix')
13     bld.RECURSE('common')
14     bld.RECURSE('unixuid')
15     bld.RECURSE('sysdep')
16
17 bld.SAMBA_MODULE('ntvfs_cifs',
18         source='cifs/vfs_cifs.c',
19         subsystem='ntvfs',
20         init_function='ntvfs_cifs_init',
21         deps='LIBCLI_SMB smbclient-raw param_options'
22         )
23
24
25 bld.SAMBA_MODULE('ntvfs_smb2',
26         source='smb2/vfs_smb2.c',
27         subsystem='ntvfs',
28         init_function='ntvfs_smb2_init',
29         deps='LIBCLI_SMB smbclient-raw param_options'
30         )
31
32
33 bld.SAMBA_MODULE('ntvfs_simple',
34         source='simple/vfs_simple.c simple/svfs_util.c',
35         autoproto='simple/proto.h',
36         subsystem='ntvfs',
37         init_function='ntvfs_simple_init',
38         deps='talloc'
39         )
40
41
42 bld.SAMBA_MODULE('ntvfs_cifsposix',
43         source='cifs_posix_cli/vfs_cifs_posix.c cifs_posix_cli/svfs_util.c',
44         autoproto='cifs_posix_cli/proto.h',
45         subsystem='ntvfs',
46         init_function='ntvfs_cifs_posix_init',
47         deps='talloc'
48         )
49
50
51 bld.SAMBA_MODULE('ntvfs_print',
52         source='print/vfs_print.c',
53         subsystem='ntvfs',
54         init_function='ntvfs_print_init',
55         deps='talloc'
56         )
57
58
59 bld.SAMBA_MODULE('ntvfs_ipc',
60         source='ipc/vfs_ipc.c ipc/ipc_rap.c ipc/rap_server.c',
61         autoproto='ipc/proto.h',
62         subsystem='ntvfs',
63         init_function='ntvfs_ipc_init',
64         deps='NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials DCERPC_SHARE'
65         )
66
67
68 bld.SAMBA_MODULE('ntvfs_nbench',
69         source='nbench/vfs_nbench.c',
70         subsystem='ntvfs',
71         init_function='ntvfs_nbench_init',
72         deps='talloc'
73         )
74
75