ldb: Free memory when repacking database
[garming/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.CONFIG_SET('WITH_NTVFS_FILESERVER')
9                   )
10
11 bld.RECURSE('posix')
12 if bld.CONFIG_SET('WITH_NTVFS_FILESERVER'):
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_simple',
26                      source='simple/vfs_simple.c simple/svfs_util.c',
27                      autoproto='simple/proto.h',
28                      subsystem='ntvfs',
29                      init_function='ntvfs_simple_init',
30                      deps='talloc'
31     )
32
33
34     bld.SAMBA_MODULE('ntvfs_ipc',
35                      source='ipc/vfs_ipc.c ipc/ipc_rap.c ipc/rap_server.c',
36                      autoproto='ipc/proto.h',
37                     subsystem='ntvfs',
38                      init_function='ntvfs_ipc_init',
39                      deps='NDR_NAMED_PIPE_AUTH npa_tstream gssapi samba-credentials DCERPC_SHARE'
40     )