summaryrefslogtreecommitdiff
path: root/source4/ntvfs/wscript_build
blob: 6e3ee6da7232f39f021d7d46a043c72820795adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
#!/usr/bin/env python

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,
                  enabled=bld.AD_DC_BUILD_IS_ENABLED()
                  )

if bld.AD_DC_BUILD_IS_ENABLED():
    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 smbclient-raw param_options'
	)


bld.SAMBA_MODULE('ntvfs_smb2',
	source='smb2/vfs_smb2.c',
	subsystem='ntvfs',
	init_function='ntvfs_smb2_init',
	deps='LIBCLI_SMB smbclient-raw param_options'
	)


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',
	deps='talloc'
	)


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',
	deps='talloc'
	)


bld.SAMBA_MODULE('ntvfs_print',
	source='print/vfs_print.c',
	subsystem='ntvfs',
	init_function='ntvfs_print_init',
	deps='talloc'
	)


bld.SAMBA_MODULE('ntvfs_ipc',
	source='ipc/vfs_ipc.c ipc/ipc_rap.c ipc/rap_server.c',
	autoproto='ipc/proto.h',
	subsystem='ntvfs',
	init_function='ntvfs_ipc_init',
	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',
	deps='talloc'
	)