3 bld
.SAMBA3_SUBSYSTEM('NFS4_ACLS',
7 bld
.SAMBA3_BINARY('test_nfs4_acls',
8 source
='test_nfs4_acls.c',
9 deps
='smbd_base cmocka',
12 bld
.SAMBA3_SUBSYSTEM('vfs_acl_common',
13 source
='vfs_acl_common.c',
16 bld
.SAMBA3_SUBSYSTEM('POSIXACL_XATTR',
17 source
='posixacl_xattr.c',
18 enabled
=(bld
.SAMBA3_IS_ENABLED_MODULE('vfs_ceph') or bld
.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs')),
21 bld
.SAMBA3_SUBSYSTEM('non_posix_acls',
22 source
='non_posix_acls.c',
23 deps
='samba-util vfs')
25 bld
.SAMBA3_SUBSYSTEM('VFS_VIRUSFILTER_UTILS',
26 source
='vfs_virusfilter_utils.c',
28 enabled
=(bld
.SAMBA3_IS_ENABLED_MODULE('vfs_virusfilter')))
30 bld
.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
31 source
='vfs_aixacl_util.c',
32 enabled
=(bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl') or bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2')))
34 bld
.SAMBA3_SUBSYSTEM('vfs',
38 bld
.SAMBA3_SUBSYSTEM('OFFLOAD_TOKEN',
39 source
='offload_token.c',
42 bld
.SAMBA3_SUBSYSTEM('UTIL_REPARSE',
43 source
='util_reparse.c',
46 bld
.SAMBA3_SUBSYSTEM('HASH_INODE',
47 source
='hash_inode.c',
51 # This is always be static, see
52 # source3/wscript: required_static_modules
54 bld
.SAMBA3_MODULE('vfs_default',
56 source
='vfs_default.c',
57 deps
='samba-util NDR_DFSBLOBS OFFLOAD_TOKEN UTIL_REPARSE',
59 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_default'),
60 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
63 # This is always be static, see
64 # source3/wscript: required_static_modules
66 bld
.SAMBA3_MODULE('vfs_not_implemented',
68 source
='vfs_not_implemented.c',
71 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_not_implemented'),
72 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_not_implemented'))
74 bld
.SAMBA3_MODULE('vfs_audit',
79 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
80 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
82 bld
.SAMBA3_MODULE('vfs_extd_audit',
84 source
='vfs_extd_audit.c',
87 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
88 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
90 bld
.SAMBA3_MODULE('vfs_full_audit',
92 source
='vfs_full_audit.c',
95 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
96 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
98 bld
.SAMBA3_BINARY('test_vfs_full_audit',
99 source
='test_vfs_full_audit.c',
100 deps
='smbd_base cmocka',
103 bld
.SAMBA3_MODULE('vfs_fake_perms',
105 source
='vfs_fake_perms.c',
108 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
109 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
111 bld
.SAMBA3_MODULE('vfs_fake_acls',
113 source
='vfs_fake_acls.c',
116 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'),
117 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls'),
120 bld
.SAMBA3_MODULE('vfs_recycle',
122 source
='vfs_recycle.c',
125 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
126 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
128 bld
.SAMBA3_MODULE('vfs_fruit',
130 source
='vfs_fruit.c',
131 deps
='samba-util OFFLOAD_TOKEN STRING_REPLACE HASH_INODE ADOUBLE',
133 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_fruit'),
134 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_fruit'))
136 bld
.SAMBA3_MODULE('vfs_default_quota',
138 source
='vfs_default_quota.c',
141 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
142 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
145 if bld
.CONFIG_SET('HAVE_WNO_STRICT_OVERFLOW'):
146 module_cflags
+= ' -Wno-strict-overflow'
148 if bld
.CONFIG_SET('HAVE_WNO_UNUSED_BUT_SET_VARIABLE'):
149 module_cflags
+= ' -Wno-unused-but-set-variable'
151 bld
.SAMBA3_MODULE('vfs_readonly',
153 source
='vfs_readonly.c getdate.c',
155 cflags_end
=module_cflags
,
157 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
158 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
160 bld
.SAMBA3_MODULE('vfs_cap',
165 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
166 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
168 bld
.SAMBA3_MODULE('vfs_expand_msdfs',
170 source
='vfs_expand_msdfs.c',
173 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
174 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
176 bld
.SAMBA3_MODULE('vfs_shadow_copy',
178 source
='vfs_shadow_copy.c',
181 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
182 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
184 bld
.SAMBA3_MODULE('vfs_shadow_copy2',
186 source
='vfs_shadow_copy2.c',
188 deps
='samba-util tdb',
190 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
191 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
193 bld
.SAMBA3_MODULE('vfs_afsacl',
195 source
='vfs_afsacl.c',
198 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
199 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
201 bld
.SAMBA3_MODULE('vfs_xattr_tdb',
203 source
='vfs_xattr_tdb.c',
204 deps
='dbwrap xattr_tdb',
206 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
207 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
209 bld
.SAMBA3_MODULE('vfs_posix_eadb',
211 source
='vfs_posix_eadb.c',
212 deps
='tdb-wrap posix_eadb',
214 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld
.AD_DC_BUILD_IS_ENABLED(),
215 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld
.AD_DC_BUILD_IS_ENABLED())
217 bld
.SAMBA3_MODULE('vfs_posixacl',
219 source
='vfs_posixacl.c',
222 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
223 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
225 bld
.SAMBA3_BINARY('test_vfs_posixacl',
226 source
='test_vfs_posixacl.c',
227 deps
='smbd_base cmocka',
230 bld
.SAMBA3_MODULE('vfs_aixacl',
232 source
='vfs_aixacl.c',
233 deps
='VFS_AIXACL_UTIL',
235 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
236 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
238 bld
.SAMBA3_MODULE('vfs_aixacl2',
240 source
='vfs_aixacl2.c',
241 deps
='NFS4_ACLS VFS_AIXACL_UTIL',
243 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
244 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
246 bld
.SAMBA3_MODULE('vfs_solarisacl',
248 source
='vfs_solarisacl.c',
251 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
252 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
254 bld
.SAMBA3_MODULE('vfs_zfsacl',
256 source
='vfs_zfsacl.c',
257 deps
='NFS4_ACLS sunacl',
259 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
260 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
262 if bld
.SAMBA3_IS_ENABLED_MODULE('vfs_nfs4acl_xattr'):
263 bld
.SAMBA_GENERATOR('nfs41acl-h',
266 rule
='rpcgen -h ${SRC} > ${TGT}')
268 if bld
.CONFIG_SET("HAVE_RPC_XDR_H"):
269 xdr_buf_hack
= r
'sed -e "s@^\([ \t]*register int32_t \*buf\);@\\1 = buf;@"'
271 # By default rpcgen assumes that the input file, generated header and
272 # source file are located in the same directory, which is extracted from
273 # the provided path to the input file.
274 # However if the build directory is not under the source tree, ${SRC} will
275 # be a long relative path through a common parent directory, resulting
276 # in an invalid path used in #include for the header.
277 # In order to fix that, the input file is first copied to the output build
278 # directory and then rpcgen is called with the proper path.
279 bld
.SAMBA_GENERATOR('nfs41acl-xdr-c',
281 target
='nfs41acl_xdr.c',
282 rule
='cp -f ${SRC} ${TGT[0].parent} && rpcgen -c ' \
283 '${TGT[0].path_from(tsk.get_cwd())[:-len(tsk.outputs[0].name)] + tsk.inputs[0].name} | ' + \
284 xdr_buf_hack
+ ' > ${TGT}')
286 bld
.SAMBA_SUBSYSTEM('VFS_NFS4_XDR',
287 source
='nfs41acl_xdr.c',
288 deps
='NFS4_ACLS NDR_NFS4ACL tirpc')
290 bld
.SET_TARGET_TYPE('VFS_NFS4_XDR', 'EMPTY')
292 bld
.SAMBA3_MODULE('vfs_nfs4acl_xattr',
301 deps
='NFS4_ACLS sunacl NDR_NFS4ACL VFS_NFS4_XDR',
303 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_nfs4acl_xattr'))
305 bld
.SAMBA3_MODULE('vfs_hpuxacl',
307 source
='vfs_hpuxacl.c',
309 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
310 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
312 bld
.SAMBA3_MODULE('vfs_catia',
314 source
='vfs_catia.c',
315 deps
='samba-util STRING_REPLACE',
317 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
318 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
320 bld
.SAMBA3_MODULE('vfs_streams_xattr',
322 source
='vfs_streams_xattr.c',
323 deps
='samba-util HASH_INODE',
325 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
326 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
328 bld
.SAMBA3_MODULE('vfs_streams_depot',
330 source
='vfs_streams_depot.c',
333 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
334 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
336 bld
.SAMBA3_MODULE('vfs_cacheprime',
338 source
='vfs_cacheprime.c',
341 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
342 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
344 bld
.SAMBA3_MODULE('vfs_prealloc',
346 source
='vfs_prealloc.c',
349 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
350 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
352 bld
.SAMBA3_MODULE('vfs_commit',
354 source
='vfs_commit.c',
357 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
358 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
360 bld
.SAMBA3_MODULE('vfs_gpfs',
363 deps
='NFS4_ACLS non_posix_acls gpfswrap',
365 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
366 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'),
367 includes
=bld
.CONFIG_GET('CPPPATH_GPFS'))
369 bld
.SAMBA3_BINARY('test_vfs_gpfs',
370 source
='test_vfs_gpfs.c',
371 deps
='NFS4_ACLS non_posix_acls gpfswrap cmocka',
373 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'),
374 includes
=bld
.CONFIG_GET('CPPPATH_GPFS'))
376 bld
.SAMBA3_MODULE('vfs_readahead',
378 source
='vfs_readahead.c',
381 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
382 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
384 bld
.SAMBA3_MODULE('vfs_tsmsm',
386 source
='vfs_tsmsm.c',
389 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
390 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
392 bld
.SAMBA3_MODULE('vfs_fileid',
394 source
='vfs_fileid.c',
397 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
398 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
400 bld
.SAMBA3_MODULE('vfs_aio_fork',
402 source
='vfs_aio_fork.c',
403 deps
='samba-util tevent',
405 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
406 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'))
408 bld
.SAMBA3_MODULE('vfs_aio_pthread',
410 source
='vfs_aio_pthread.c',
411 deps
='samba-util tevent',
413 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
414 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'))
416 bld
.SAMBA3_MODULE('vfs_io_uring',
418 source
='vfs_io_uring.c',
419 deps
='samba-util tevent uring',
421 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_io_uring'),
422 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_io_uring'))
424 bld
.SAMBA3_MODULE('vfs_preopen',
426 source
='vfs_preopen.c',
429 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
430 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
432 bld
.SAMBA3_MODULE('vfs_syncops',
434 source
='vfs_syncops.c',
437 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
438 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
440 bld
.SAMBA3_MODULE('vfs_acl_xattr',
442 source
='vfs_acl_xattr.c',
443 deps
='samba-util vfs_acl_common',
445 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
446 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
448 bld
.SAMBA3_MODULE('vfs_acl_tdb',
450 source
='vfs_acl_tdb.c',
451 deps
='samba-util vfs_acl_common',
453 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
454 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
456 bld
.SAMBA3_MODULE('vfs_dirsort',
458 source
='vfs_dirsort.c',
461 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
462 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
464 bld
.SAMBA3_MODULE('vfs_crossrename',
466 source
='vfs_crossrename.c',
469 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
470 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
472 bld
.SAMBA3_MODULE('vfs_linux_xfs_sgid',
474 source
='vfs_linux_xfs_sgid.c',
477 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
478 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
480 bld
.SAMBA3_MODULE('vfs_time_audit',
482 source
='vfs_time_audit.c',
485 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
486 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
488 bld
.SAMBA3_MODULE('vfs_media_harmony',
490 source
='vfs_media_harmony.c',
493 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_media_harmony'),
494 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_media_harmony'))
496 bld
.SAMBA3_MODULE('vfs_unityed_media',
498 source
='vfs_unityed_media.c',
501 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_unityed_media'),
502 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_unityed_media'))
504 bld
.SAMBA3_MODULE('vfs_dfs_samba4',
506 source
='vfs_dfs_samba4.c',
507 deps
='samba-util dfs_server_ad samdb tevent',
509 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld
.AD_DC_BUILD_IS_ENABLED(),
510 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld
.AD_DC_BUILD_IS_ENABLED())
512 bld
.SAMBA3_MODULE('vfs_btrfs',
514 source
='vfs_btrfs.c',
515 deps
='samba-util OFFLOAD_TOKEN',
517 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_btrfs'),
518 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_btrfs'))
520 bld
.SAMBA3_MODULE('vfs_shell_snap',
522 source
='vfs_shell_snap.c',
525 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_shell_snap'),
526 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_shell_snap'))
528 bld
.SAMBA3_SUBSYSTEM('perfcount',
532 bld
.SAMBA3_MODULE('vfs_ceph',
535 deps
='POSIXACL_XATTR samba-util cephfs',
537 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_ceph'),
538 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_ceph'),
539 cflags
=bld
.CONFIG_GET('CFLAGS_CEPHFS'),
540 includes
=bld
.CONFIG_GET('CPPPATH_CEPHFS'))
542 bld
.SAMBA3_MODULE('vfs_ceph_new',
544 source
='vfs_ceph_new.c',
545 deps
='POSIXACL_XATTR samba-util',
547 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_ceph_new'),
548 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_ceph_new'),
549 cflags
=bld
.CONFIG_GET('CFLAGS_CEPHFS'),
550 includes
=bld
.CONFIG_GET('CPPPATH_CEPHFS'))
552 bld
.SAMBA3_MODULE('vfs_ceph_snapshots',
554 source
='vfs_ceph_snapshots.c',
557 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_ceph_snapshots'),
558 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_ceph_snapshots'))
560 bld
.SAMBA3_MODULE('vfs_glusterfs',
562 source
='vfs_glusterfs.c',
563 deps
='POSIXACL_XATTR samba-util gfapi',
565 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_glusterfs'),
566 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs'))
568 bld
.SAMBA3_MODULE('vfs_glusterfs_fuse',
570 source
='vfs_glusterfs_fuse.c',
573 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_glusterfs_fuse'),
574 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_glusterfs_fuse'))
576 bld
.SAMBA3_MODULE('vfs_worm',
581 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_worm'),
582 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_worm'))
584 bld
.SAMBA3_MODULE('vfs_snapper',
586 source
='vfs_snapper.c',
587 deps
='samba-util dbus-1',
589 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_snapper'),
590 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_snapper'))
592 bld
.SAMBA3_MODULE('vfs_virusfilter',
596 vfs_virusfilter_sophos.c
597 vfs_virusfilter_fsav.c
598 vfs_virusfilter_clamav.c
599 vfs_virusfilter_dummy.c
601 deps
='samba-util VFS_VIRUSFILTER_UTILS',
603 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_virusfilter'),
604 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_virusfilter'))
606 bld
.SAMBA3_MODULE('vfs_vxfs',
608 source
='lib_vxfs.c vfs_vxfs.c',
610 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_vxfs'),
611 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_vxfs'))
613 bld
.SAMBA3_MODULE('vfs_offline',
615 source
='vfs_offline.c',
617 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_offline'),
618 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_offline'))
620 bld
.SAMBA3_MODULE('vfs_fake_dfq',
622 source
='vfs_fake_dfq.c',
624 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_fake_dfq'),
625 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_fake_dfq'),
628 bld
.SAMBA3_MODULE('vfs_error_inject',
630 source
='vfs_error_inject.c',
632 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_error_inject'),
633 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_error_inject'),
636 bld
.SAMBA3_MODULE('vfs_delay_inject',
638 source
='vfs_delay_inject.c',
640 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_delay_inject'),
641 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_delay_inject'),
644 bld
.SAMBA3_MODULE('vfs_widelinks',
646 source
='vfs_widelinks.c',
648 internal_module
=bld
.SAMBA3_IS_STATIC_MODULE('vfs_widelinks'),
649 enabled
=bld
.SAMBA3_IS_ENABLED_MODULE('vfs_widelinks'))