build: Add missing dep from vfs_nfs4acl_xattr to NDR_NFS4ACL
[Samba/id10ts.git] / source3 / modules / wscript_build
blob937dbdec15fb556869f9939606cbecf930036333
1 #!/usr/bin/env python
3 VFS_DEFAULT_SRC = '''vfs_default.c'''
4 VFS_AUDIT_SRC = '''vfs_audit.c'''
5 VFS_EXTD_AUDIT_SRC = '''vfs_extd_audit.c'''
6 VFS_FULL_AUDIT_SRC = '''vfs_full_audit.c'''
7 VFS_FAKE_PERMS_SRC = '''vfs_fake_perms.c'''
8 VFS_FAKE_ACLS_SRC = '''vfs_fake_acls.c'''
9 VFS_RECYCLE_SRC = '''vfs_recycle.c'''
10 VFS_NETATALK_SRC = '''vfs_netatalk.c'''
11 VFS_DEFAULT_QUOTA_SRC = '''vfs_default_quota.c'''
12 VFS_READONLY_SRC = '''vfs_readonly.c getdate.c'''
13 VFS_CAP_SRC = '''vfs_cap.c'''
14 VFS_EXPAND_MSDFS_SRC = '''vfs_expand_msdfs.c'''
15 VFS_SHADOW_COPY_SRC = '''vfs_shadow_copy.c'''
16 VFS_SHADOW_COPY2_SRC = '''vfs_shadow_copy2.c'''
17 VFS_AFSACL_SRC = '''vfs_afsacl.c'''
18 VFS_XATTR_TDB_SRC = '''vfs_xattr_tdb.c'''
19 VFS_POSIXACL_SRC = '''vfs_posixacl.c'''
20 VFS_AIXACL_SRC = '''vfs_aixacl.c'''
21 VFS_AIXACL2_SRC = '''vfs_aixacl2.c'''
22 VFS_SOLARISACL_SRC = '''vfs_solarisacl.c'''
23 VFS_ZFSACL_SRC = '''vfs_zfsacl.c'''
24 VFS_NFS4ACL_XATTR_SRC = 'vfs_nfs4acl_xattr.c'
25 VFS_HPUXACL_SRC = '''vfs_hpuxacl.c'''
26 VFS_TRU64ACL_SRC = '''vfs_tru64acl.c'''
27 VFS_CATIA_SRC = 'vfs_catia.c'
28 VFS_STREAMS_XATTR_SRC = 'vfs_streams_xattr.c'
29 VFS_STREAMS_DEPOT_SRC = 'vfs_streams_depot.c'
30 VFS_CACHEPRIME_SRC = 'vfs_cacheprime.c'
31 VFS_PREALLOC_SRC = 'vfs_prealloc.c'
32 VFS_COMMIT_SRC = 'vfs_commit.c'
33 VFS_GPFS_SRC = 'vfs_gpfs.c gpfs.c'
34 VFS_NOTIFY_FAM_SRC = 'vfs_notify_fam.c'
35 VFS_READAHEAD_SRC = 'vfs_readahead.c'
36 VFS_TSMSM_SRC = 'vfs_tsmsm.c'
37 VFS_FILEID_SRC = 'vfs_fileid.c'
38 VFS_AIO_FORK_SRC = 'vfs_aio_fork.c'
39 VFS_AIO_PTHREAD_SRC = 'vfs_aio_pthread.c'
40 VFS_AIO_POSIX_SRC = 'vfs_aio_posix.c'
41 VFS_AIO_LINUX_SRC = 'vfs_aio_linux.c'
42 VFS_PREOPEN_SRC = 'vfs_preopen.c'
43 VFS_SYNCOPS_SRC = 'vfs_syncops.c'
44 VFS_ACL_XATTR_SRC = 'vfs_acl_xattr.c'
45 VFS_ACL_TDB_SRC = 'vfs_acl_tdb.c'
46 VFS_SMB_TRAFFIC_ANALYZER_SRC = 'vfs_smb_traffic_analyzer.c'
47 VFS_DIRSORT_SRC = 'vfs_dirsort.c'
48 VFS_SCANNEDONLY_SRC = 'vfs_scannedonly.c'
49 VFS_CROSSRENAME_SRC = 'vfs_crossrename.c'
50 VFS_LINUX_XFS_SGID_SRC = 'vfs_linux_xfs_sgid.c'
51 VFS_TIME_AUDIT_SRC = 'vfs_time_audit.c'
52 VFS_MEDIA_HARMONY_SRC = 'vfs_media_harmony.c'
53 VFS_BTRFS_SRC = 'vfs_btrfs.c'
54 VFS_CEPH_SRC = 'vfs_ceph.c'
57 bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
58 source='nfs4_acls.c',
59 deps='samba-util tdb')
61 bld.SAMBA3_LIBRARY('non_posix_acls',
62 source='non_posix_acls.c',
63 deps='samba-util vfs',
64 private_library=True)
66 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
67 source='vfs_aixacl_util.c',
68 enabled=(bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl') or bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2')))
70 bld.SAMBA3_SUBSYSTEM('vfs',
71 source='',
72 deps='smbd_base',
73 vars=locals())
75 bld.SAMBA3_MODULE('vfs_default',
76 subsystem='vfs',
77 source=VFS_DEFAULT_SRC,
78 deps='samba-util NDR_DFSBLOBS',
79 init_function='',
80 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),
81 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
83 bld.SAMBA3_MODULE('vfs_audit',
84 subsystem='vfs',
85 source=VFS_AUDIT_SRC,
86 deps='samba-util',
87 init_function='',
88 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
89 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
91 bld.SAMBA3_MODULE('vfs_extd_audit',
92 subsystem='vfs',
93 source=VFS_EXTD_AUDIT_SRC,
94 deps='samba-util',
95 init_function='',
96 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
97 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
99 bld.SAMBA3_MODULE('vfs_full_audit',
100 subsystem='vfs',
101 source=VFS_FULL_AUDIT_SRC,
102 deps='samba-util',
103 init_function='',
104 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
105 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
107 bld.SAMBA3_MODULE('vfs_fake_perms',
108 subsystem='vfs',
109 source=VFS_FAKE_PERMS_SRC,
110 deps='samba-util',
111 init_function='',
112 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
113 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
115 bld.SAMBA3_MODULE('vfs_fake_acls',
116 subsystem='vfs',
117 source=VFS_FAKE_ACLS_SRC,
118 deps='samba-util',
119 init_function='',
120 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'),
121 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls'))
123 bld.SAMBA3_MODULE('vfs_recycle',
124 subsystem='vfs',
125 source=VFS_RECYCLE_SRC,
126 deps='samba-util',
127 init_function='',
128 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
129 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
131 bld.SAMBA3_MODULE('vfs_netatalk',
132 subsystem='vfs',
133 source=VFS_NETATALK_SRC,
134 deps='samba-util',
135 init_function='',
136 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_netatalk'),
137 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_netatalk'))
139 bld.SAMBA3_MODULE('vfs_default_quota',
140 subsystem='vfs',
141 source=VFS_DEFAULT_QUOTA_SRC,
142 deps='samba-util',
143 init_function='',
144 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
145 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
147 bld.SAMBA3_MODULE('vfs_readonly',
148 subsystem='vfs',
149 source=VFS_READONLY_SRC,
150 deps='samba-util',
151 init_function='',
152 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
153 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
155 bld.SAMBA3_MODULE('vfs_cap',
156 subsystem='vfs',
157 source=VFS_CAP_SRC,
158 deps='samba-util',
159 init_function='',
160 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
161 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
163 bld.SAMBA3_MODULE('vfs_expand_msdfs',
164 subsystem='vfs',
165 source=VFS_EXPAND_MSDFS_SRC,
166 deps='samba-util',
167 init_function='',
168 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
169 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
171 bld.SAMBA3_MODULE('vfs_shadow_copy',
172 subsystem='vfs',
173 source=VFS_SHADOW_COPY_SRC,
174 deps='samba-util',
175 init_function='',
176 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
177 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
179 bld.SAMBA3_MODULE('vfs_shadow_copy2',
180 subsystem='vfs',
181 source=VFS_SHADOW_COPY2_SRC,
182 deps='samba-util tdb',
183 init_function='',
184 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
185 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
187 bld.SAMBA3_MODULE('vfs_afsacl',
188 subsystem='vfs',
189 source=VFS_AFSACL_SRC,
190 deps='samba-util',
191 init_function='',
192 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
193 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
195 bld.SAMBA3_MODULE('vfs_xattr_tdb',
196 subsystem='vfs',
197 source=VFS_XATTR_TDB_SRC,
198 deps='dbwrap xattr_tdb',
199 init_function='',
200 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
201 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
203 bld.SAMBA3_MODULE('vfs_posix_eadb',
204 subsystem='vfs',
205 source='vfs_posix_eadb.c',
206 deps='tdb-wrap posix_eadb',
207 init_function='',
208 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
209 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
211 bld.SAMBA3_MODULE('vfs_posixacl',
212 subsystem='vfs',
213 source=VFS_POSIXACL_SRC,
214 deps='acl attr',
215 init_function='',
216 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
217 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
219 bld.SAMBA3_MODULE('vfs_aixacl',
220 subsystem='vfs',
221 source=VFS_AIXACL_SRC,
222 deps='VFS_AIXACL_UTIL',
223 init_function='',
224 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
225 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
227 bld.SAMBA3_MODULE('vfs_aixacl2',
228 subsystem='vfs',
229 source=VFS_AIXACL2_SRC,
230 deps='NFS4_ACLS VFS_AIXACL_UTIL',
231 init_function='',
232 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
233 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
235 bld.SAMBA3_MODULE('vfs_solarisacl',
236 subsystem='vfs',
237 source=VFS_SOLARISACL_SRC,
238 init_function='',
239 deps='sec',
240 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
241 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
243 bld.SAMBA3_MODULE('vfs_zfsacl',
244 subsystem='vfs',
245 source=VFS_ZFSACL_SRC,
246 deps='NFS4_ACLS sunacl',
247 init_function='',
248 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
249 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
251 bld.SAMBA3_MODULE('vfs_nfs4acl_xattr',
252 subsystem='vfs',
253 source=VFS_NFS4ACL_XATTR_SRC,
254 deps='NFS4_ACLS sunacl NDR_NFS4ACL',
255 init_function='',
256 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_nfs4acl_xattr'),
257 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_nfs4acl_xattr'))
259 bld.SAMBA3_MODULE('vfs_hpuxacl',
260 subsystem='vfs',
261 source=VFS_HPUXACL_SRC,
262 init_function='',
263 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
264 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
266 bld.SAMBA3_MODULE('vfs_tru64acl',
267 subsystem='vfs',
268 source=VFS_TRU64ACL_SRC,
269 init_function='',
270 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
271 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
273 bld.SAMBA3_MODULE('vfs_catia',
274 subsystem='vfs',
275 source=VFS_CATIA_SRC,
276 deps='samba-util',
277 init_function='',
278 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
279 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
281 bld.SAMBA3_MODULE('vfs_streams_xattr',
282 subsystem='vfs',
283 source=VFS_STREAMS_XATTR_SRC,
284 deps='samba-util',
285 init_function='',
286 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
287 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
289 bld.SAMBA3_MODULE('vfs_streams_depot',
290 subsystem='vfs',
291 source=VFS_STREAMS_DEPOT_SRC,
292 deps='samba-util',
293 init_function='',
294 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
295 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
297 bld.SAMBA3_MODULE('vfs_cacheprime',
298 subsystem='vfs',
299 source=VFS_CACHEPRIME_SRC,
300 deps='samba-util',
301 init_function='',
302 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
303 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
305 bld.SAMBA3_MODULE('vfs_prealloc',
306 subsystem='vfs',
307 source=VFS_PREALLOC_SRC,
308 deps='samba-util',
309 init_function='',
310 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
311 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
313 bld.SAMBA3_MODULE('vfs_commit',
314 subsystem='vfs',
315 source=VFS_COMMIT_SRC,
316 deps='samba-util',
317 init_function='',
318 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
319 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
321 bld.SAMBA3_MODULE('vfs_gpfs',
322 subsystem='vfs',
323 source=VFS_GPFS_SRC,
324 deps='NFS4_ACLS non_posix_acls',
325 init_function='',
326 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
327 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
329 vfs_notify_fam_deps='samba-util '
330 if bld.CONFIG_SET('SAMBA_FAM_LIBS'):
331 vfs_notify_fam_deps += bld.CONFIG_GET('SAMBA_FAM_LIBS')
332 bld.SAMBA3_MODULE('vfs_notify_fam',
333 subsystem='vfs',
334 source=VFS_NOTIFY_FAM_SRC,
335 deps=vfs_notify_fam_deps,
336 init_function='',
337 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
338 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
340 bld.SAMBA3_MODULE('vfs_readahead',
341 subsystem='vfs',
342 source=VFS_READAHEAD_SRC,
343 deps='samba-util',
344 init_function='',
345 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
346 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
348 bld.SAMBA3_MODULE('vfs_tsmsm',
349 subsystem='vfs',
350 source=VFS_TSMSM_SRC,
351 deps='samba-util',
352 init_function='',
353 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
354 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
356 bld.SAMBA3_MODULE('vfs_fileid',
357 subsystem='vfs',
358 source=VFS_FILEID_SRC,
359 deps='samba-util',
360 init_function='',
361 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
362 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
364 bld.SAMBA3_MODULE('vfs_aio_fork',
365 subsystem='vfs',
366 source=VFS_AIO_FORK_SRC,
367 deps='samba-util tevent',
368 init_function='',
369 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
370 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
371 allow_undefined_symbols=True)
373 bld.SAMBA3_MODULE('vfs_aio_pthread',
374 subsystem='vfs',
375 source=VFS_AIO_PTHREAD_SRC,
376 deps='samba-util tevent',
377 init_function='',
378 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
379 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
380 allow_undefined_symbols=True)
382 bld.SAMBA3_MODULE('vfs_aio_posix',
383 subsystem='vfs',
384 source=VFS_AIO_POSIX_SRC,
385 deps='samba-util tevent',
386 init_function='',
387 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_posix'),
388 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_posix'),
389 allow_undefined_symbols=True)
391 bld.SAMBA3_MODULE('vfs_aio_linux',
392 subsystem='vfs',
393 source=VFS_AIO_LINUX_SRC,
394 deps='samba-util aio',
395 init_function='',
396 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_linux'),
397 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_linux'),
398 allow_undefined_symbols=True)
400 bld.SAMBA3_MODULE('vfs_preopen',
401 subsystem='vfs',
402 source=VFS_PREOPEN_SRC,
403 deps='samba-util',
404 init_function='',
405 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
406 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
408 bld.SAMBA3_MODULE('vfs_syncops',
409 subsystem='vfs',
410 source=VFS_SYNCOPS_SRC,
411 deps='samba-util',
412 init_function='',
413 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
414 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
416 bld.SAMBA3_MODULE('vfs_acl_xattr',
417 subsystem='vfs',
418 source=VFS_ACL_XATTR_SRC,
419 deps='samba-util',
420 init_function='',
421 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
422 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
424 bld.SAMBA3_MODULE('vfs_acl_tdb',
425 subsystem='vfs',
426 source=VFS_ACL_TDB_SRC,
427 deps='NDR_XATTR tdb',
428 init_function='',
429 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
430 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
432 bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',
433 subsystem='vfs',
434 source=VFS_SMB_TRAFFIC_ANALYZER_SRC,
435 deps='samba-util',
436 init_function='',
437 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),
438 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))
440 bld.SAMBA3_MODULE('vfs_dirsort',
441 subsystem='vfs',
442 source=VFS_DIRSORT_SRC,
443 deps='samba-util',
444 init_function='',
445 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
446 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
448 bld.SAMBA3_MODULE('vfs_scannedonly',
449 subsystem='vfs',
450 source=VFS_SCANNEDONLY_SRC,
451 deps='samba-util',
452 init_function='',
453 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),
454 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))
456 bld.SAMBA3_MODULE('vfs_crossrename',
457 subsystem='vfs',
458 source=VFS_CROSSRENAME_SRC,
459 deps='samba-util',
460 init_function='',
461 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
462 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
464 bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
465 subsystem='vfs',
466 source=VFS_LINUX_XFS_SGID_SRC,
467 deps='samba-util',
468 init_function='',
469 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
470 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
472 bld.SAMBA3_MODULE('vfs_time_audit',
473 subsystem='vfs',
474 source=VFS_TIME_AUDIT_SRC,
475 deps='samba-util',
476 init_function='',
477 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
478 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
480 bld.SAMBA3_MODULE('vfs_media_harmony',
481 subsystem='vfs',
482 source=VFS_MEDIA_HARMONY_SRC,
483 deps='samba-util',
484 init_function='',
485 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_media_harmony'),
486 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_media_harmony'))
488 bld.SAMBA3_MODULE('vfs_dfs_samba4',
489 subsystem='vfs',
490 source='vfs_dfs_samba4.c',
491 deps='samba-util dfs_server_ad samdb tevent',
492 init_function='',
493 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
494 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
496 bld.SAMBA3_MODULE('vfs_btrfs',
497 subsystem='vfs',
498 source=VFS_BTRFS_SRC,
499 deps='samba-util',
500 init_function='',
501 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_btrfs'),
502 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_btrfs'))
504 PERFCOUNT_TEST_SRC = 'perfcount_test.c'
506 bld.SAMBA3_SUBSYSTEM('perfcount',
507 source='',
508 deps='smbd_base')
510 bld.SAMBA3_MODULE('perfcount_test',
511 subsystem='perfcount',
512 source=PERFCOUNT_TEST_SRC,
513 init_function='',
514 internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
515 enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))
517 bld.SAMBA3_MODULE('vfs_ceph',
518 subsystem='vfs',
519 source=VFS_CEPH_SRC,
520 deps='samba-util cephfs',
521 init_function='',
522 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_ceph'),
523 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_ceph'),
524 cflags=bld.CONFIG_GET('CCFLAGS_CEPHFS'))