loadparm: dns is now a default server service
[Samba/bb.git] / source3 / modules / wscript_build
blob594b27c5569f6408de97fcd317b6672c4f741418
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'
54 bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
55 source='nfs4_acls.c',
56 deps='samba-util tdb')
58 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
59 source='vfs_aixacl_util.c',
60 enabled=False) #fixme
62 bld.SAMBA3_SUBSYSTEM('vfs',
63 source='',
64 deps='smbd_base',
65 vars=locals())
67 bld.SAMBA3_MODULE('vfs_default',
68 subsystem='vfs',
69 source=VFS_DEFAULT_SRC,
70 deps='samba-util NDR_DFSBLOBS',
71 init_function='',
72 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),
73 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
75 bld.SAMBA3_MODULE('vfs_audit',
76 subsystem='vfs',
77 source=VFS_AUDIT_SRC,
78 deps='samba-util',
79 init_function='',
80 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
81 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
83 bld.SAMBA3_MODULE('vfs_extd_audit',
84 subsystem='vfs',
85 source=VFS_EXTD_AUDIT_SRC,
86 deps='samba-util',
87 init_function='',
88 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
89 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
91 bld.SAMBA3_MODULE('vfs_full_audit',
92 subsystem='vfs',
93 source=VFS_FULL_AUDIT_SRC,
94 deps='samba-util',
95 init_function='',
96 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
97 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
99 bld.SAMBA3_MODULE('vfs_fake_perms',
100 subsystem='vfs',
101 source=VFS_FAKE_PERMS_SRC,
102 deps='samba-util',
103 init_function='',
104 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
105 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
107 bld.SAMBA3_MODULE('vfs_fake_acls',
108 subsystem='vfs',
109 source=VFS_FAKE_ACLS_SRC,
110 deps='samba-util',
111 init_function='',
112 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_acls'),
113 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_acls'))
115 bld.SAMBA3_MODULE('vfs_recycle',
116 subsystem='vfs',
117 source=VFS_RECYCLE_SRC,
118 deps='samba-util',
119 init_function='',
120 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
121 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
123 bld.SAMBA3_MODULE('vfs_netatalk',
124 subsystem='vfs',
125 source=VFS_NETATALK_SRC,
126 deps='samba-util',
127 init_function='',
128 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_netatalk'),
129 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_netatalk'))
131 bld.SAMBA3_MODULE('vfs_default_quota',
132 subsystem='vfs',
133 source=VFS_DEFAULT_QUOTA_SRC,
134 deps='samba-util',
135 init_function='',
136 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
137 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
139 bld.SAMBA3_MODULE('vfs_readonly',
140 subsystem='vfs',
141 source=VFS_READONLY_SRC,
142 deps='samba-util',
143 init_function='',
144 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
145 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
147 bld.SAMBA3_MODULE('vfs_cap',
148 subsystem='vfs',
149 source=VFS_CAP_SRC,
150 deps='samba-util',
151 init_function='',
152 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
153 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
155 bld.SAMBA3_MODULE('vfs_expand_msdfs',
156 subsystem='vfs',
157 source=VFS_EXPAND_MSDFS_SRC,
158 deps='samba-util',
159 init_function='',
160 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
161 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
163 bld.SAMBA3_MODULE('vfs_shadow_copy',
164 subsystem='vfs',
165 source=VFS_SHADOW_COPY_SRC,
166 deps='samba-util',
167 init_function='',
168 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
169 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
171 bld.SAMBA3_MODULE('vfs_shadow_copy2',
172 subsystem='vfs',
173 source=VFS_SHADOW_COPY2_SRC,
174 deps='samba-util tdb',
175 init_function='',
176 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
177 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
179 bld.SAMBA3_MODULE('vfs_afsacl',
180 subsystem='vfs',
181 source=VFS_AFSACL_SRC,
182 deps='samba-util',
183 init_function='',
184 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
185 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
187 bld.SAMBA3_MODULE('vfs_xattr_tdb',
188 subsystem='vfs',
189 source=VFS_XATTR_TDB_SRC,
190 deps='dbwrap xattr_tdb',
191 init_function='',
192 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
193 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
195 bld.SAMBA3_MODULE('vfs_posix_eadb',
196 subsystem='vfs',
197 source='vfs_posix_eadb.c',
198 deps='tdb-wrap posix_eadb',
199 init_function='',
200 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
201 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
203 bld.SAMBA3_MODULE('vfs_posixacl',
204 subsystem='vfs',
205 source=VFS_POSIXACL_SRC,
206 deps='acl attr',
207 init_function='',
208 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
209 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
211 bld.SAMBA3_MODULE('vfs_aixacl',
212 subsystem='vfs',
213 source=VFS_AIXACL_SRC,
214 deps='VFS_AIXACL_UTIL',
215 init_function='',
216 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
217 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
219 bld.SAMBA3_MODULE('vfs_aixacl2',
220 subsystem='vfs',
221 source=VFS_AIXACL2_SRC,
222 deps='NFS4_ACLS VFS_AIXACL_UTIL',
223 init_function='',
224 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
225 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
227 bld.SAMBA3_MODULE('vfs_solarisacl',
228 subsystem='vfs',
229 source=VFS_SOLARISACL_SRC,
230 init_function='',
231 deps='sec',
232 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
233 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
235 bld.SAMBA3_MODULE('vfs_zfsacl',
236 subsystem='vfs',
237 source=VFS_ZFSACL_SRC,
238 deps='NFS4_ACLS sunacl',
239 init_function='',
240 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
241 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
243 bld.SAMBA3_MODULE('vfs_hpuxacl',
244 subsystem='vfs',
245 source=VFS_HPUXACL_SRC,
246 init_function='',
247 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
248 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
250 bld.SAMBA3_MODULE('vfs_irixacl',
251 subsystem='vfs',
252 source=VFS_IRIXACL_SRC,
253 init_function='',
254 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_irixacl'),
255 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_irixacl'))
257 bld.SAMBA3_MODULE('vfs_tru64acl',
258 subsystem='vfs',
259 source=VFS_TRU64ACL_SRC,
260 init_function='',
261 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
262 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
264 bld.SAMBA3_MODULE('vfs_catia',
265 subsystem='vfs',
266 source=VFS_CATIA_SRC,
267 deps='samba-util',
268 init_function='',
269 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
270 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
272 bld.SAMBA3_MODULE('vfs_streams_xattr',
273 subsystem='vfs',
274 source=VFS_STREAMS_XATTR_SRC,
275 deps='samba-util',
276 init_function='',
277 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
278 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
280 bld.SAMBA3_MODULE('vfs_streams_depot',
281 subsystem='vfs',
282 source=VFS_STREAMS_DEPOT_SRC,
283 deps='samba-util',
284 init_function='',
285 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
286 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
288 bld.SAMBA3_MODULE('vfs_cacheprime',
289 subsystem='vfs',
290 source=VFS_CACHEPRIME_SRC,
291 deps='samba-util',
292 init_function='',
293 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
294 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
296 bld.SAMBA3_MODULE('vfs_prealloc',
297 subsystem='vfs',
298 source=VFS_PREALLOC_SRC,
299 deps='samba-util',
300 init_function='',
301 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
302 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
304 bld.SAMBA3_MODULE('vfs_commit',
305 subsystem='vfs',
306 source=VFS_COMMIT_SRC,
307 deps='samba-util',
308 init_function='',
309 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
310 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
312 bld.SAMBA3_MODULE('vfs_gpfs',
313 subsystem='vfs',
314 source=VFS_GPFS_SRC,
315 deps='NFS4_ACLS',
316 init_function='',
317 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
318 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
320 bld.SAMBA3_MODULE('vfs_notify_fam',
321 subsystem='vfs',
322 source=VFS_NOTIFY_FAM_SRC,
323 init_function='',
324 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
325 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
327 bld.SAMBA3_MODULE('vfs_readahead',
328 subsystem='vfs',
329 source=VFS_READAHEAD_SRC,
330 deps='samba-util',
331 init_function='',
332 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
333 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
335 bld.SAMBA3_MODULE('vfs_tsmsm',
336 subsystem='vfs',
337 source=VFS_TSMSM_SRC,
338 deps='samba-util',
339 init_function='',
340 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
341 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
343 bld.SAMBA3_MODULE('vfs_fileid',
344 subsystem='vfs',
345 source=VFS_FILEID_SRC,
346 deps='samba-util',
347 init_function='',
348 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
349 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
351 bld.SAMBA3_MODULE('vfs_aio_fork',
352 subsystem='vfs',
353 source=VFS_AIO_FORK_SRC,
354 deps='samba-util tevent',
355 init_function='',
356 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
357 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
358 allow_undefined_symbols=True)
360 bld.SAMBA3_MODULE('vfs_aio_pthread',
361 subsystem='vfs',
362 source=VFS_AIO_PTHREAD_SRC,
363 deps='samba-util tevent',
364 init_function='',
365 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
366 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
367 allow_undefined_symbols=True)
369 bld.SAMBA3_MODULE('vfs_aio_posix',
370 subsystem='vfs',
371 source=VFS_AIO_POSIX_SRC,
372 deps='samba-util tevent',
373 init_function='',
374 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_posix'),
375 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_posix'),
376 allow_undefined_symbols=True)
378 bld.SAMBA3_MODULE('vfs_aio_linux',
379 subsystem='vfs',
380 source=VFS_AIO_LINUX_SRC,
381 deps='samba-util aio',
382 init_function='',
383 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_linux'),
384 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_linux'),
385 allow_undefined_symbols=True)
387 bld.SAMBA3_MODULE('vfs_preopen',
388 subsystem='vfs',
389 source=VFS_PREOPEN_SRC,
390 deps='samba-util',
391 init_function='',
392 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
393 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
395 bld.SAMBA3_MODULE('vfs_syncops',
396 subsystem='vfs',
397 source=VFS_SYNCOPS_SRC,
398 deps='samba-util',
399 init_function='',
400 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
401 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
403 bld.SAMBA3_MODULE('vfs_acl_xattr',
404 subsystem='vfs',
405 source=VFS_ACL_XATTR_SRC,
406 deps='samba-util',
407 init_function='',
408 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
409 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
411 bld.SAMBA3_MODULE('vfs_acl_tdb',
412 subsystem='vfs',
413 source=VFS_ACL_TDB_SRC,
414 deps='NDR_XATTR tdb',
415 init_function='',
416 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
417 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
419 bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',
420 subsystem='vfs',
421 source=VFS_SMB_TRAFFIC_ANALYZER_SRC,
422 deps='samba-util',
423 init_function='',
424 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),
425 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))
427 bld.SAMBA3_MODULE('vfs_dirsort',
428 subsystem='vfs',
429 source=VFS_DIRSORT_SRC,
430 deps='samba-util',
431 init_function='',
432 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
433 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
435 bld.SAMBA3_MODULE('vfs_scannedonly',
436 subsystem='vfs',
437 source=VFS_SCANNEDONLY_SRC,
438 deps='samba-util',
439 init_function='',
440 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),
441 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))
443 bld.SAMBA3_MODULE('vfs_crossrename',
444 subsystem='vfs',
445 source=VFS_CROSSRENAME_SRC,
446 deps='samba-util',
447 init_function='',
448 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
449 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
451 bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
452 subsystem='vfs',
453 source=VFS_LINUX_XFS_SGID_SRC,
454 deps='samba-util',
455 init_function='',
456 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
457 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
459 bld.SAMBA3_MODULE('vfs_time_audit',
460 subsystem='vfs',
461 source=VFS_TIME_AUDIT_SRC,
462 deps='samba-util',
463 init_function='',
464 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
465 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
467 bld.SAMBA3_MODULE('vfs_dfs_samba4',
468 subsystem='vfs',
469 source='vfs_dfs_samba4.c',
470 deps='samba-util dfs_server_ad samdb tevent',
471 init_function='',
472 internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
473 enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
475 PERFCOUNT_TEST_SRC = 'perfcount_test.c'
477 bld.SAMBA3_SUBSYSTEM('perfcount',
478 source='',
479 deps='smbd_base')
481 bld.SAMBA3_MODULE('perfcount_test',
482 subsystem='perfcount',
483 source=PERFCOUNT_TEST_SRC,
484 init_function='',
485 internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
486 enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))