2010-09-26 05:11:01 +04:00
#!/usr/bin/env python
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
2011-05-20 12:12:08 +04:00
source='nfs4_acls.c',
2011-06-28 18:39:36 +04:00
deps='samba-util tdb')
2010-09-26 05:11:01 +04:00
2019-07-02 21:22:13 +03:00
bld.SAMBA3_BINARY('test_nfs4_acls',
source='test_nfs4_acls.c',
deps='smbd_base cmocka',
2019-11-22 00:06:57 +03:00
for_selftest=True)
2019-07-02 21:22:13 +03:00
2017-08-18 15:41:57 +03:00
bld.SAMBA3_SUBSYSTEM('vfs_acl_common',
2019-08-08 14:14:45 +03:00
source='vfs_acl_common.c',
deps='gnutls')
2017-08-18 15:41:57 +03:00
2016-03-21 05:42:20 +03:00
bld.SAMBA3_SUBSYSTEM('POSIXACL_XATTR',
source='posixacl_xattr.c',
2016-07-26 18:44:47 +03:00
enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs')),
2016-03-21 05:42:20 +03:00
deps='acl attr')
2019-01-12 01:02:03 +03:00
bld.SAMBA3_SUBSYSTEM('non_posix_acls',
2012-10-24 15:39:59 +04:00
source='non_posix_acls.c',
2019-01-12 01:02:03 +03:00
deps='samba-util vfs')
2012-10-24 15:39:59 +04:00
2016-10-18 22:34:53 +03:00
bld.SAMBA3_SUBSYSTEM('VFS_VIRUSFILTER_UTILS',
source='vfs_virusfilter_utils.c',
deps='strv',
enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_virusfilter')))
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
2010-09-26 05:11:01 +04:00
source='vfs_aixacl_util.c',
2013-03-18 15:52:50 +04:00
enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2')))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('vfs',
2010-09-26 05:11:01 +04:00
source='',
2013-09-24 22:06:37 +04:00
deps='smbd_base')
2010-09-26 05:11:01 +04:00
2017-06-03 13:57:59 +03:00
bld.SAMBA3_SUBSYSTEM('OFFLOAD_TOKEN',
source='offload_token.c',
deps='samba-util')
2020-06-11 16:15:02 +03:00
bld.SAMBA3_SUBSYSTEM('UTIL_REPARSE',
source='util_reparse.c',
deps='samba-util')
2019-06-18 17:56:43 +03:00
bld.SAMBA3_SUBSYSTEM('HASH_INODE',
source='hash_inode.c',
deps='gnutls')
2018-07-25 13:26:05 +03:00
#
# This is always be static, see
# source3/wscript: required_static_modules
#
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_default',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_default.c',
2020-06-11 16:15:02 +03:00
deps='samba-util NDR_DFSBLOBS OFFLOAD_TOKEN UTIL_REPARSE',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
2018-07-25 13:26:05 +03:00
#
# This is always be static, see
# source3/wscript: required_static_modules
#
bld.SAMBA3_MODULE('vfs_not_implemented',
subsystem='vfs',
source='vfs_not_implemented.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_not_implemented'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_not_implemented'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_audit',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_audit.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_extd_audit',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_extd_audit.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_full_audit',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_full_audit.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
2010-09-26 05:11:01 +04:00
2020-04-11 00:14:25 +03:00
bld.SAMBA3_BINARY('test_vfs_full_audit',
source='test_vfs_full_audit.c',
deps='smbd_base cmocka',
for_selftest=True)
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_fake_perms',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_fake_perms.c',
2012-09-05 02:55:41 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
2010-09-26 05:11:01 +04:00
2012-08-15 14:33:27 +04:00
bld.SAMBA3_MODULE('vfs_fake_acls',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_fake_acls.c',
2012-09-05 02:55:41 +04:00
deps='samba-util',
2012-08-15 14:33:27 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls'))
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_recycle',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_recycle.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
2010-09-26 05:11:01 +04:00
2014-06-23 18:59:45 +04:00
bld.SAMBA3_MODULE('vfs_fruit',
subsystem='vfs',
source='vfs_fruit.c',
2019-07-09 14:10:00 +03:00
deps='samba-util OFFLOAD_TOKEN STRING_REPLACE HASH_INODE ADOUBLE',
2014-06-23 18:59:45 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fruit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fruit'))
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_default_quota',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_default_quota.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
2010-09-26 05:11:01 +04:00
2018-03-23 12:18:17 +03:00
module_cflags=''
if bld.CONFIG_SET('HAVE_WNO_STRICT_OVERFLOW'):
module_cflags='-Wno-strict-overflow'
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_readonly',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_readonly.c getdate.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2018-03-23 12:18:17 +03:00
cflags_end=module_cflags,
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_cap',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_cap.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_expand_msdfs',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_expand_msdfs.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_shadow_copy',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_shadow_copy.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_shadow_copy2',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_shadow_copy2.c',
2014-02-26 10:35:22 +04:00
allow_warnings=True,
2011-06-28 18:39:36 +04:00
deps='samba-util tdb',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_afsacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_afsacl.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_xattr_tdb',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_xattr_tdb.c',
2012-04-16 09:49:13 +04:00
deps='dbwrap xattr_tdb',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
2010-09-26 05:11:01 +04:00
2012-04-02 12:39:09 +04:00
bld.SAMBA3_MODULE('vfs_posix_eadb',
subsystem='vfs',
source='vfs_posix_eadb.c',
deps='tdb-wrap posix_eadb',
init_function='',
2012-05-21 13:45:12 +04:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
2012-04-02 12:39:09 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_posixacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_posixacl.c',
2010-09-26 12:56:09 +04:00
deps='acl attr',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_aixacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_aixacl.c',
2010-09-26 05:11:01 +04:00
deps='VFS_AIXACL_UTIL',
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_aixacl2',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_aixacl2.c',
2010-09-26 05:11:01 +04:00
deps='NFS4_ACLS VFS_AIXACL_UTIL',
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_solarisacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_solarisacl.c',
2010-09-26 05:11:01 +04:00
init_function='',
2012-09-04 14:06:12 +04:00
deps='sec',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_zfsacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_zfsacl.c',
2011-01-31 11:38:21 +03:00
deps='NFS4_ACLS sunacl',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
2010-09-26 05:11:01 +04:00
2017-10-18 21:48:37 +03:00
bld.SAMBA_GENERATOR('nfs41acl-h',
source='nfs41acl.x',
target='nfs41acl.h',
rule='rpcgen -h ${SRC} > ${TGT}')
if bld.CONFIG_SET("HAVE_RPC_XDR_H"):
2019-01-28 11:17:07 +03:00
xdr_buf_hack = 'sed -e "s@^\([ \t]*register int32_t \*buf\);@\\1 = buf;@"'
# By default rpcgen assumes that the input file, generated header and
# source file are located in the same directory, which is extracted from
# the provided path to the input file.
# However if the build directory is not under the source tree, ${SRC} will
# be a long relative path through a common parent directory, resulting
# in an invalid path used in #include for the header.
# In order to fix that, the input file is first copied to the output build
# directory and then rpcgen is called with the proper path.
bld.SAMBA_GENERATOR('nfs41acl-xdr-c',
source='nfs41acl.x',
target='nfs41acl_xdr.c',
rule='cp -f ${SRC} ${TGT[0].parent} && rpcgen -c ' \
'${TGT[0].path_from(tsk.get_cwd())[:-len(tsk.outputs[0].name)] + tsk.inputs[0].name} | ' + \
xdr_buf_hack + ' > ${TGT}')
2019-03-08 07:35:39 +03:00
bld.SAMBA_SUBSYSTEM('VFS_NFS4_XDR',
source='nfs41acl_xdr.c',
deps='NFS4_ACLS NDR_NFS4ACL tirpc')
else:
bld.SET_TARGET_TYPE('VFS_NFS4_XDR', 'EMPTY')
2017-10-18 21:48:37 +03:00
2013-04-14 14:06:57 +04:00
bld.SAMBA3_MODULE('vfs_nfs4acl_xattr',
2013-09-24 07:03:32 +04:00
subsystem='vfs',
2019-03-08 07:35:39 +03:00
source = '''
vfs_nfs4acl_xattr.c
nfs4acl_xattr_ndr.c
nfs4acl_xattr_xdr.c
2018-11-29 13:01:59 +03:00
nfs4acl_xattr_nfs.c
2018-11-25 14:07:26 +03:00
nfs4acl_xattr_util.c
2019-03-08 07:35:39 +03:00
''',
deps='NFS4_ACLS sunacl NDR_NFS4ACL VFS_NFS4_XDR',
2013-09-24 07:03:32 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_nfs4acl_xattr'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_nfs4acl_xattr'))
2013-04-14 14:06:57 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_hpuxacl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_hpuxacl.c',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_tru64acl',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_tru64acl.c',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_catia',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_catia.c',
2017-10-11 12:35:15 +03:00
deps='samba-util STRING_REPLACE',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_streams_xattr',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_streams_xattr.c',
2019-06-18 18:09:29 +03:00
deps='samba-util HASH_INODE',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_streams_depot',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_streams_depot.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_cacheprime',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_cacheprime.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_prealloc',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_prealloc.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_commit',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_commit.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_gpfs',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2015-02-20 02:02:11 +03:00
source='vfs_gpfs.c',
deps='NFS4_ACLS non_posix_acls gpfswrap',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
2015-02-18 20:13:33 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'),
includes=bld.CONFIG_GET('CPPPATH_GPFS'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_readahead',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_readahead.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_tsmsm',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_tsmsm.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_fileid',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_fileid.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_aio_fork',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_aio_fork.c',
2012-04-11 03:09:56 +04:00
deps='samba-util tevent',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
2015-04-10 12:12:04 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'))
2010-09-26 05:11:01 +04:00
2012-01-05 00:54:16 +04:00
bld.SAMBA3_MODULE('vfs_aio_pthread',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_aio_pthread.c',
2012-07-12 12:32:39 +04:00
deps='samba-util tevent',
2012-01-05 00:54:16 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
2015-04-10 12:12:04 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'))
2012-01-05 00:54:16 +04:00
2019-06-05 18:01:49 +03:00
bld.SAMBA3_MODULE('vfs_io_uring',
subsystem='vfs',
source='vfs_io_uring.c',
deps='samba-util tevent uring',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_io_uring'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_io_uring'))
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_preopen',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_preopen.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_syncops',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_syncops.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_acl_xattr',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_acl_xattr.c',
2017-08-18 15:41:57 +03:00
deps='samba-util vfs_acl_common',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_acl_tdb',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_acl_tdb.c',
2017-08-18 15:41:57 +03:00
deps='samba-util vfs_acl_common',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_dirsort',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_dirsort.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_crossrename',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_crossrename.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
2010-09-26 05:11:01 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
2010-10-07 23:28:04 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_linux_xfs_sgid.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-09-26 05:11:01 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
2010-09-26 22:07:03 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('vfs_time_audit',
2010-10-28 17:59:36 +04:00
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_time_audit.c',
2011-06-20 14:36:46 +04:00
deps='samba-util',
2010-10-28 17:59:36 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
2010-10-28 17:59:36 +04:00
2012-10-10 05:44:14 +04:00
bld.SAMBA3_MODULE('vfs_media_harmony',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_media_harmony.c',
2012-10-10 05:44:14 +04:00
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_media_harmony'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_media_harmony'))
2014-10-22 21:17:12 +04:00
bld.SAMBA3_MODULE('vfs_unityed_media',
subsystem='vfs',
source='vfs_unityed_media.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_unityed_media'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_unityed_media'))
2011-10-04 14:38:00 +04:00
bld.SAMBA3_MODULE('vfs_dfs_samba4',
subsystem='vfs',
source='vfs_dfs_samba4.c',
2012-04-11 03:09:56 +04:00
deps='samba-util dfs_server_ad samdb tevent',
2011-10-04 14:38:00 +04:00
init_function='',
2012-05-21 13:45:12 +04:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
2010-09-26 22:07:03 +04:00
2013-03-08 14:47:55 +04:00
bld.SAMBA3_MODULE('vfs_btrfs',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_btrfs.c',
2017-06-03 13:57:59 +03:00
deps='samba-util OFFLOAD_TOKEN',
2013-03-08 14:47:55 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_btrfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_btrfs'))
2013-01-30 17:42:46 +04:00
bld.SAMBA3_MODULE('vfs_shell_snap',
subsystem='vfs',
source='vfs_shell_snap.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shell_snap'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shell_snap'))
2011-02-09 07:56:20 +03:00
bld.SAMBA3_SUBSYSTEM('perfcount',
2010-09-26 22:10:49 +04:00
source='',
2011-07-03 11:20:02 +04:00
deps='smbd_base')
2010-09-26 22:10:49 +04:00
2011-02-09 07:56:20 +03:00
bld.SAMBA3_MODULE('perfcount_test',
2010-10-07 23:28:04 +04:00
subsystem='perfcount',
2013-09-24 07:03:32 +04:00
source='perfcount_test.c',
2010-09-26 22:10:49 +04:00
init_function='',
2010-12-01 14:10:03 +03:00
internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))
2013-04-24 23:52:57 +04:00
bld.SAMBA3_MODULE('vfs_ceph',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_ceph.c',
2016-03-21 05:42:21 +03:00
deps='POSIXACL_XATTR samba-util cephfs',
2013-04-24 23:52:57 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_ceph'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph'),
2019-03-26 20:12:04 +03:00
cflags=bld.CONFIG_GET('CFLAGS_CEPHFS'),
includes=bld.CONFIG_GET('CPPPATH_CEPHFS'))
2013-05-29 15:21:46 +04:00
2019-03-26 18:35:18 +03:00
bld.SAMBA3_MODULE('vfs_ceph_snapshots',
subsystem='vfs',
source='vfs_ceph_snapshots.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_ceph_snapshots'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph_snapshots'))
2013-05-29 15:21:46 +04:00
bld.SAMBA3_MODULE('vfs_glusterfs',
subsystem='vfs',
2013-09-24 07:03:32 +04:00
source='vfs_glusterfs.c',
2016-03-21 05:42:20 +03:00
deps='POSIXACL_XATTR samba-util gfapi',
2013-05-29 15:21:46 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_glusterfs'),
2015-04-10 12:12:04 +03:00
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs'))
2013-11-20 15:11:41 +04:00
2019-01-17 17:21:07 +03:00
bld.SAMBA3_MODULE('vfs_glusterfs_fuse',
subsystem='vfs',
source='vfs_glusterfs_fuse.c',
deps='',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_glusterfs_fuse'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs_fuse'))
2013-11-20 15:11:41 +04:00
bld.SAMBA3_MODULE('vfs_worm',
subsystem='vfs',
source='vfs_worm.c',
deps='samba-util',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_worm'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_worm'))
2014-06-27 17:31:35 +04:00
bld.SAMBA3_MODULE('vfs_snapper',
subsystem='vfs',
source='vfs_snapper.c',
deps='samba-util dbus-1',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_snapper'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_snapper'))
2014-09-01 12:40:10 +04:00
2016-10-18 22:34:53 +03:00
bld.SAMBA3_MODULE('vfs_virusfilter',
subsystem='vfs',
2016-10-18 22:38:14 +03:00
source='''
vfs_virusfilter.c
vfs_virusfilter_sophos.c
2016-10-18 22:39:20 +03:00
vfs_virusfilter_fsav.c
2016-10-18 22:40:01 +03:00
vfs_virusfilter_clamav.c
2016-10-18 22:38:14 +03:00
''',
2016-10-18 22:34:53 +03:00
deps='samba-util VFS_VIRUSFILTER_UTILS',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_virusfilter'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_virusfilter'))
2014-09-01 12:40:10 +04:00
bld.SAMBA3_MODULE('vfs_vxfs',
subsystem='vfs',
2016-06-02 09:38:31 +03:00
source='lib_vxfs.c vfs_vxfs.c',
2014-09-01 12:40:10 +04:00
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_vxfs'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_vxfs'))
2015-11-04 09:44:29 +03:00
bld.SAMBA3_MODULE('vfs_offline',
subsystem='vfs',
source='vfs_offline.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_offline'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_offline'))
2016-01-05 22:12:00 +03:00
bld.SAMBA3_MODULE('vfs_fake_dfq',
subsystem='vfs',
source='vfs_fake_dfq.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_dfq'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_dfq'))
2017-12-09 01:29:07 +03:00
bld.SAMBA3_MODULE('vfs_error_inject',
subsystem='vfs',
source='vfs_error_inject.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_error_inject'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_error_inject'))
2018-08-30 18:27:08 +03:00
bld.SAMBA3_MODULE('vfs_delay_inject',
subsystem='vfs',
source='vfs_delay_inject.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_delay_inject'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_delay_inject'))
2020-04-04 04:24:42 +03:00
bld.SAMBA3_MODULE('vfs_widelinks',
subsystem='vfs',
source='vfs_widelinks.c',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_widelinks'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_widelinks'))