summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/wscript_build
blob: 3b8121676fabfc43e3679bb9a93cc6f7bc38dde6 (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
#!/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.CONFIG_SET('WITH_NTVFS_FILESERVER')
                  )

bld.RECURSE('posix')
if bld.CONFIG_SET('WITH_NTVFS_FILESERVER'):
    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_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_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'
    )