tevent: use DLIST_DEMOTE() before calling on fde handler after select() and poll()
[Samba.git] / source3 / modules / wscript_build
blobd73a70724b8af4237cf175561c379510f7d16be5
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_HPUXACL_SRC = '''vfs_hpuxacl.c'''
25 VFS_IRIXACL_SRC = '''vfs_irixacl.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'
55 bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
56 source='nfs4_acls.c',
57 deps='samba-util tdb')
59 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
60 source='vfs_aixacl_util.c',
61 enabled=False) #fixme
63 bld.SAMBA3_SUBSYSTEM('vfs',
64 source='',
65 deps='smbd_base',
66 vars=locals())
68 bld.SAMBA3_MODULE('vfs_default',
69 subsystem='vfs',
70 source=VFS_DEFAULT_SRC,
71 deps='samba-util NDR_DFSBLOBS',
72 init_function='',
73 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),
74 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
76 bld.SAMBA3_MODULE('vfs_audit',
77 subsystem='vfs',
78 source=VFS_AUDIT_SRC,
79 deps='samba-util',
80 init_function='',
81 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
82 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
84 bld.SAMBA3_MODULE('vfs_extd_audit',
85 subsystem='vfs',
86 source=VFS_EXTD_AUDIT_SRC,
87 deps='samba-util',
88 init_function='',
89 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
90 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
92 bld.SAMBA3_MODULE('vfs_full_audit',
93 subsystem='vfs',
94 source=VFS_FULL_AUDIT_SRC,
95 deps='samba-util',
96 init_function='',
97 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
98 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
100 bld.SAMBA3_MODULE('vfs_fake_perms',
101 subsystem='vfs',
102 source=VFS_FAKE_PERMS_SRC,
103 deps='samba-util',
104 init_function='',
105 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
106 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
108 bld.SAMBA3_MODULE('vfs_fake_acls',
109 subsystem='vfs',
110 source=VFS_FAKE_ACLS_SRC,
111 deps='samba-util',
112 init_function='',
113 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'),
114 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls'))
116 bld.SAMBA3_MODULE('vfs_recycle',
117 subsystem='vfs',
118 source=VFS_RECYCLE_SRC,
119 deps='samba-util',
120 init_function='',
121 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
122 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
124 bld.SAMBA3_MODULE('vfs_netatalk',
125 subsystem='vfs',
126 source=VFS_NETATALK_SRC,
127 deps='samba-util',
128 init_function='',
129 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_netatalk'),
130 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_netatalk'))
132 bld.SAMBA3_MODULE('vfs_default_quota',
133 subsystem='vfs',
134 source=VFS_DEFAULT_QUOTA_SRC,
135 deps='samba-util',
136 init_function='',
137 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
138 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
140 bld.SAMBA3_MODULE('vfs_readonly',
141 subsystem='vfs',
142 source=VFS_READONLY_SRC,
143 deps='samba-util',
144 init_function='',
145 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
146 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
148 bld.SAMBA3_MODULE('vfs_cap',
149 subsystem='vfs',
150 source=VFS_CAP_SRC,
151 deps='samba-util',
152 init_function='',
153 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
154 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
156 bld.SAMBA3_MODULE('vfs_expand_msdfs',
157 subsystem='vfs',
158 source=VFS_EXPAND_MSDFS_SRC,
159 deps='samba-util',
160 init_function='',
161 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
162 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
164 bld.SAMBA3_MODULE('vfs_shadow_copy',
165 subsystem='vfs',
166 source=VFS_SHADOW_COPY_SRC,
167 deps='samba-util',
168 init_function='',
169 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
170 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
172 bld.SAMBA3_MODULE('vfs_shadow_copy2',
173 subsystem='vfs',
174 source=VFS_SHADOW_COPY2_SRC,
175 deps='samba-util tdb',
176 init_function='',
177 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
178 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
180 bld.SAMBA3_MODULE('vfs_afsacl',
181 subsystem='vfs',
182 source=VFS_AFSACL_SRC,
183 deps='samba-util',
184 init_function='',
185 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
186 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
188 bld.SAMBA3_MODULE('vfs_xattr_tdb',
189 subsystem='vfs',
190 source=VFS_XATTR_TDB_SRC,
191 deps='dbwrap xattr_tdb',
192 init_function='',
193 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
194 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
196 bld.SAMBA3_MODULE('vfs_posix_eadb',
197 subsystem='vfs',
198 source='vfs_posix_eadb.c',
199 deps='tdb-wrap posix_eadb',
200 init_function='',
201 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
202 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
204 bld.SAMBA3_MODULE('vfs_posixacl',
205 subsystem='vfs',
206 source=VFS_POSIXACL_SRC,
207 deps='acl attr',
208 init_function='',
209 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
210 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
212 bld.SAMBA3_MODULE('vfs_aixacl',
213 subsystem='vfs',
214 source=VFS_AIXACL_SRC,
215 deps='VFS_AIXACL_UTIL',
216 init_function='',
217 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
218 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
220 bld.SAMBA3_MODULE('vfs_aixacl2',
221 subsystem='vfs',
222 source=VFS_AIXACL2_SRC,
223 deps='NFS4_ACLS VFS_AIXACL_UTIL',
224 init_function='',
225 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
226 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
228 bld.SAMBA3_MODULE('vfs_solarisacl',
229 subsystem='vfs',
230 source=VFS_SOLARISACL_SRC,
231 init_function='',
232 deps='sec',
233 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
234 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
236 bld.SAMBA3_MODULE('vfs_zfsacl',
237 subsystem='vfs',
238 source=VFS_ZFSACL_SRC,
239 deps='NFS4_ACLS sunacl',
240 init_function='',
241 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
242 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
244 bld.SAMBA3_MODULE('vfs_hpuxacl',
245 subsystem='vfs',
246 source=VFS_HPUXACL_SRC,
247 init_function='',
248 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
249 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
251 bld.SAMBA3_MODULE('vfs_irixacl',
252 subsystem='vfs',
253 source=VFS_IRIXACL_SRC,
254 init_function='',
255 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_irixacl'),
256 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_irixacl'))
258 bld.SAMBA3_MODULE('vfs_tru64acl',
259 subsystem='vfs',
260 source=VFS_TRU64ACL_SRC,
261 init_function='',
262 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
263 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
265 bld.SAMBA3_MODULE('vfs_catia',
266 subsystem='vfs',
267 source=VFS_CATIA_SRC,
268 deps='samba-util',
269 init_function='',
270 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
271 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
273 bld.SAMBA3_MODULE('vfs_streams_xattr',
274 subsystem='vfs',
275 source=VFS_STREAMS_XATTR_SRC,
276 deps='samba-util',
277 init_function='',
278 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
279 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
281 bld.SAMBA3_MODULE('vfs_streams_depot',
282 subsystem='vfs',
283 source=VFS_STREAMS_DEPOT_SRC,
284 deps='samba-util',
285 init_function='',
286 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
287 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
289 bld.SAMBA3_MODULE('vfs_cacheprime',
290 subsystem='vfs',
291 source=VFS_CACHEPRIME_SRC,
292 deps='samba-util',
293 init_function='',
294 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
295 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
297 bld.SAMBA3_MODULE('vfs_prealloc',
298 subsystem='vfs',
299 source=VFS_PREALLOC_SRC,
300 deps='samba-util',
301 init_function='',
302 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
303 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
305 bld.SAMBA3_MODULE('vfs_commit',
306 subsystem='vfs',
307 source=VFS_COMMIT_SRC,
308 deps='samba-util',
309 init_function='',
310 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
311 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
313 bld.SAMBA3_MODULE('vfs_gpfs',
314 subsystem='vfs',
315 source=VFS_GPFS_SRC,
316 deps='NFS4_ACLS',
317 init_function='',
318 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
319 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
321 bld.SAMBA3_MODULE('vfs_notify_fam',
322 subsystem='vfs',
323 source=VFS_NOTIFY_FAM_SRC,
324 init_function='',
325 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
326 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
328 bld.SAMBA3_MODULE('vfs_readahead',
329 subsystem='vfs',
330 source=VFS_READAHEAD_SRC,
331 deps='samba-util',
332 init_function='',
333 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
334 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
336 bld.SAMBA3_MODULE('vfs_tsmsm',
337 subsystem='vfs',
338 source=VFS_TSMSM_SRC,
339 deps='samba-util',
340 init_function='',
341 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
342 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
344 bld.SAMBA3_MODULE('vfs_fileid',
345 subsystem='vfs',
346 source=VFS_FILEID_SRC,
347 deps='samba-util',
348 init_function='',
349 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
350 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
352 bld.SAMBA3_MODULE('vfs_aio_fork',
353 subsystem='vfs',
354 source=VFS_AIO_FORK_SRC,
355 deps='samba-util tevent',
356 init_function='',
357 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
358 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
359 allow_undefined_symbols=True)
361 bld.SAMBA3_MODULE('vfs_aio_pthread',
362 subsystem='vfs',
363 source=VFS_AIO_PTHREAD_SRC,
364 deps='samba-util tevent',
365 init_function='',
366 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
367 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
368 allow_undefined_symbols=True)
370 bld.SAMBA3_MODULE('vfs_aio_posix',
371 subsystem='vfs',
372 source=VFS_AIO_POSIX_SRC,
373 deps='samba-util tevent',
374 init_function='',
375 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_posix'),
376 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_posix'),
377 allow_undefined_symbols=True)
379 bld.SAMBA3_MODULE('vfs_aio_linux',
380 subsystem='vfs',
381 source=VFS_AIO_LINUX_SRC,
382 deps='samba-util aio',
383 init_function='',
384 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_linux'),
385 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_linux'),
386 allow_undefined_symbols=True)
388 bld.SAMBA3_MODULE('vfs_preopen',
389 subsystem='vfs',
390 source=VFS_PREOPEN_SRC,
391 deps='samba-util',
392 init_function='',
393 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
394 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
396 bld.SAMBA3_MODULE('vfs_syncops',
397 subsystem='vfs',
398 source=VFS_SYNCOPS_SRC,
399 deps='samba-util',
400 init_function='',
401 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
402 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
404 bld.SAMBA3_MODULE('vfs_acl_xattr',
405 subsystem='vfs',
406 source=VFS_ACL_XATTR_SRC,
407 deps='samba-util',
408 init_function='',
409 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
410 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
412 bld.SAMBA3_MODULE('vfs_acl_tdb',
413 subsystem='vfs',
414 source=VFS_ACL_TDB_SRC,
415 deps='NDR_XATTR tdb',
416 init_function='',
417 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
418 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
420 bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',
421 subsystem='vfs',
422 source=VFS_SMB_TRAFFIC_ANALYZER_SRC,
423 deps='samba-util',
424 init_function='',
425 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),
426 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))
428 bld.SAMBA3_MODULE('vfs_dirsort',
429 subsystem='vfs',
430 source=VFS_DIRSORT_SRC,
431 deps='samba-util',
432 init_function='',
433 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
434 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
436 bld.SAMBA3_MODULE('vfs_scannedonly',
437 subsystem='vfs',
438 source=VFS_SCANNEDONLY_SRC,
439 deps='samba-util',
440 init_function='',
441 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),
442 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))
444 bld.SAMBA3_MODULE('vfs_crossrename',
445 subsystem='vfs',
446 source=VFS_CROSSRENAME_SRC,
447 deps='samba-util',
448 init_function='',
449 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
450 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
452 bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
453 subsystem='vfs',
454 source=VFS_LINUX_XFS_SGID_SRC,
455 deps='samba-util',
456 init_function='',
457 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
458 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
460 bld.SAMBA3_MODULE('vfs_time_audit',
461 subsystem='vfs',
462 source=VFS_TIME_AUDIT_SRC,
463 deps='samba-util',
464 init_function='',
465 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
466 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
468 bld.SAMBA3_MODULE('vfs_media_harmony',
469 subsystem='vfs',
470 source=VFS_MEDIA_HARMONY_SRC,
471 deps='samba-util',
472 init_function='',
473 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_media_harmony'),
474 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_media_harmony'))
476 bld.SAMBA3_MODULE('vfs_dfs_samba4',
477 subsystem='vfs',
478 source='vfs_dfs_samba4.c',
479 deps='samba-util dfs_server_ad samdb tevent',
480 init_function='',
481 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
482 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
484 PERFCOUNT_TEST_SRC = 'perfcount_test.c'
486 bld.SAMBA3_SUBSYSTEM('perfcount',
487 source='',
488 deps='smbd_base')
490 bld.SAMBA3_MODULE('perfcount_test',
491 subsystem='perfcount',
492 source=PERFCOUNT_TEST_SRC,
493 init_function='',
494 internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
495 enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))