Introduce system MIT krb5 build with --with-system-mitkrb5 option.
[kai/samba-autobuild/.git] / source3 / modules / wscript_build
1 #!/usr/bin/env python
2
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_RECYCLE_SRC = '''vfs_recycle.c'''
9 VFS_NETATALK_SRC = '''vfs_netatalk.c'''
10 VFS_DEFAULT_QUOTA_SRC = '''vfs_default_quota.c'''
11 VFS_READONLY_SRC = '''vfs_readonly.c getdate.c'''
12 VFS_CAP_SRC = '''vfs_cap.c'''
13 VFS_EXPAND_MSDFS_SRC = '''vfs_expand_msdfs.c'''
14 VFS_SHADOW_COPY_SRC = '''vfs_shadow_copy.c'''
15 VFS_SHADOW_COPY2_SRC = '''vfs_shadow_copy2.c'''
16 VFS_AFSACL_SRC = '''vfs_afsacl.c'''
17 VFS_XATTR_TDB_SRC = '''vfs_xattr_tdb.c'''
18 VFS_POSIXACL_SRC = '''vfs_posixacl.c'''
19 VFS_AIXACL_SRC = '''vfs_aixacl.c'''
20 VFS_AIXACL2_SRC = '''vfs_aixacl2.c'''
21 VFS_SOLARISACL_SRC = '''vfs_solarisacl.c'''
22 VFS_ZFSACL_SRC = '''vfs_zfsacl.c'''
23 VFS_HPUXACL_SRC = '''vfs_hpuxacl.c'''
24 VFS_IRIXACL_SRC = '''vfs_irixacl.c'''
25 VFS_TRU64ACL_SRC = '''vfs_tru64acl.c'''
26 VFS_CATIA_SRC = 'vfs_catia.c'
27 VFS_STREAMS_XATTR_SRC = 'vfs_streams_xattr.c'
28 VFS_STREAMS_DEPOT_SRC = 'vfs_streams_depot.c'
29 VFS_CACHEPRIME_SRC = 'vfs_cacheprime.c'
30 VFS_PREALLOC_SRC = 'vfs_prealloc.c'
31 VFS_COMMIT_SRC = 'vfs_commit.c'
32 VFS_GPFS_SRC = 'vfs_gpfs.c gpfs.c'
33 VFS_GPFS_HSM_NOTIFY_SRC = 'vfs_gpfs_hsm_notify.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_LINUX_SRC = 'vfs_aio_linux.c'
41 VFS_PREOPEN_SRC = 'vfs_preopen.c'
42 VFS_SYNCOPS_SRC = 'vfs_syncops.c'
43 VFS_ACL_XATTR_SRC = 'vfs_acl_xattr.c'
44 VFS_ACL_TDB_SRC = 'vfs_acl_tdb.c'
45 VFS_SMB_TRAFFIC_ANALYZER_SRC = 'vfs_smb_traffic_analyzer.c'
46 VFS_DIRSORT_SRC = 'vfs_dirsort.c'
47 VFS_SCANNEDONLY_SRC = 'vfs_scannedonly.c'
48 VFS_CROSSRENAME_SRC = 'vfs_crossrename.c'
49 VFS_LINUX_XFS_SGID_SRC = 'vfs_linux_xfs_sgid.c'
50 VFS_TIME_AUDIT_SRC = 'vfs_time_audit.c'
51
52
53 bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
54                     source='nfs4_acls.c',
55                     deps='samba-util tdb')
56
57 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
58                     source='vfs_aixacl_util.c',
59                     enabled=False) #fixme
60
61 bld.SAMBA3_SUBSYSTEM('vfs',
62                     source='',
63                     deps='smbd_base',
64                     vars=locals())
65
66 bld.SAMBA3_MODULE('vfs_default',
67                  subsystem='vfs',
68                  source=VFS_DEFAULT_SRC,
69                  deps='samba-util NDR_DFSBLOBS',
70                  init_function='',
71                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default'),
72                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default'))
73
74 bld.SAMBA3_MODULE('vfs_audit',
75                  subsystem='vfs',
76                  source=VFS_AUDIT_SRC,
77                  deps='samba-util',
78                  init_function='',
79                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_audit'),
80                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_audit'))
81
82 bld.SAMBA3_MODULE('vfs_extd_audit',
83                  subsystem='vfs',
84                  source=VFS_EXTD_AUDIT_SRC,
85                  deps='samba-util',
86                  init_function='',
87                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_extd_audit'),
88                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_extd_audit'))
89
90 bld.SAMBA3_MODULE('vfs_full_audit',
91                  subsystem='vfs',
92                  source=VFS_FULL_AUDIT_SRC,
93                  deps='samba-util',
94                  init_function='',
95                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_full_audit'),
96                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_full_audit'))
97
98 bld.SAMBA3_MODULE('vfs_fake_perms',
99                  subsystem='vfs',
100                  source=VFS_FAKE_PERMS_SRC,
101                  deps='acl attr samba-util',
102                  init_function='',
103                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fake_perms'),
104                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fake_perms'))
105
106 bld.SAMBA3_MODULE('vfs_recycle',
107                  subsystem='vfs',
108                  source=VFS_RECYCLE_SRC,
109                  deps='samba-util',
110                  init_function='',
111                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_recycle'),
112                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_recycle'))
113
114 bld.SAMBA3_MODULE('vfs_netatalk',
115                  subsystem='vfs',
116                  source=VFS_NETATALK_SRC,
117                  deps='samba-util',
118                  init_function='',
119                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_netatalk'),
120                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_netatalk'))
121
122 bld.SAMBA3_MODULE('vfs_default_quota',
123                  subsystem='vfs',
124                  source=VFS_DEFAULT_QUOTA_SRC,
125                  deps='samba-util',
126                  init_function='',
127                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_default_quota'),
128                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_default_quota'))
129
130 bld.SAMBA3_MODULE('vfs_readonly',
131                  subsystem='vfs',
132                  source=VFS_READONLY_SRC,
133                  deps='samba-util',
134                  init_function='',
135                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readonly'),
136                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readonly'))
137
138 bld.SAMBA3_MODULE('vfs_cap',
139                  subsystem='vfs',
140                  source=VFS_CAP_SRC,
141                  deps='samba-util',
142                  init_function='',
143                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cap'),
144                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cap'))
145
146 bld.SAMBA3_MODULE('vfs_expand_msdfs',
147                  subsystem='vfs',
148                  source=VFS_EXPAND_MSDFS_SRC,
149                  deps='samba-util',
150                  init_function='',
151                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_expand_msdfs'),
152                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_expand_msdfs'))
153
154 bld.SAMBA3_MODULE('vfs_shadow_copy',
155                  subsystem='vfs',
156                  source=VFS_SHADOW_COPY_SRC,
157                  deps='samba-util',
158                  init_function='',
159                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy'),
160                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy'))
161
162 bld.SAMBA3_MODULE('vfs_shadow_copy2',
163                  subsystem='vfs',
164                  source=VFS_SHADOW_COPY2_SRC,
165                  deps='samba-util tdb',
166                  init_function='',
167                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_shadow_copy2'),
168                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_shadow_copy2'))
169
170 bld.SAMBA3_MODULE('vfs_afsacl',
171                  subsystem='vfs',
172                  source=VFS_AFSACL_SRC,
173                  deps='samba-util',
174                  init_function='',
175                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_afsacl'),
176                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_afsacl'))
177
178 bld.SAMBA3_MODULE('vfs_xattr_tdb',
179                  subsystem='vfs',
180                  source=VFS_XATTR_TDB_SRC,
181                  deps='dbwrap xattr_tdb',
182                  init_function='',
183                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_xattr_tdb'),
184                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_xattr_tdb'))
185
186 bld.SAMBA3_MODULE('vfs_posix_eadb',
187                  subsystem='vfs',
188                  source='vfs_posix_eadb.c',
189                  deps='tdb-wrap posix_eadb',
190                  init_function='',
191                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED(),
192                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posix_eadb') and bld.AD_DC_BUILD_IS_ENABLED())
193
194 bld.SAMBA3_MODULE('vfs_posixacl',
195                  subsystem='vfs',
196                  source=VFS_POSIXACL_SRC,
197                  deps='acl attr',
198                  init_function='',
199                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_posixacl'),
200                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_posixacl'))
201
202 bld.SAMBA3_MODULE('vfs_aixacl',
203                  subsystem='vfs',
204                  source=VFS_AIXACL_SRC,
205                  deps='VFS_AIXACL_UTIL',
206                  init_function='',
207                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl'),
208                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl'))
209
210 bld.SAMBA3_MODULE('vfs_aixacl2',
211                  subsystem='vfs',
212                  source=VFS_AIXACL2_SRC,
213                  deps='NFS4_ACLS VFS_AIXACL_UTIL',
214                  init_function='',
215                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aixacl2'),
216                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aixacl2'))
217
218 bld.SAMBA3_MODULE('vfs_solarisacl',
219                  subsystem='vfs',
220                  source=VFS_SOLARISACL_SRC,
221                  init_function='',
222                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
223                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
224
225 bld.SAMBA3_MODULE('vfs_zfsacl',
226                  subsystem='vfs',
227                  source=VFS_ZFSACL_SRC,
228                  deps='NFS4_ACLS sunacl',
229                  init_function='',
230                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
231                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
232
233 bld.SAMBA3_MODULE('vfs_hpuxacl',
234                  subsystem='vfs',
235                  source=VFS_HPUXACL_SRC,
236                  init_function='',
237                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
238                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
239
240 bld.SAMBA3_MODULE('vfs_irixacl',
241                  subsystem='vfs',
242                  source=VFS_IRIXACL_SRC,
243                  init_function='',
244                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_irixacl'),
245                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_irixacl'))
246
247 bld.SAMBA3_MODULE('vfs_tru64acl',
248                  subsystem='vfs',
249                  source=VFS_TRU64ACL_SRC,
250                  init_function='',
251                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
252                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
253
254 bld.SAMBA3_MODULE('vfs_catia',
255                  subsystem='vfs',
256                  source=VFS_CATIA_SRC,
257                  deps='samba-util',
258                  init_function='',
259                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
260                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
261
262 bld.SAMBA3_MODULE('vfs_streams_xattr',
263                  subsystem='vfs',
264                  source=VFS_STREAMS_XATTR_SRC,
265                  deps='samba-util',
266                  init_function='',
267                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
268                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
269
270 bld.SAMBA3_MODULE('vfs_streams_depot',
271                  subsystem='vfs',
272                  source=VFS_STREAMS_DEPOT_SRC,
273                  deps='samba-util',
274                  init_function='',
275                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
276                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
277
278 bld.SAMBA3_MODULE('vfs_cacheprime',
279                  subsystem='vfs',
280                  source=VFS_CACHEPRIME_SRC,
281                  deps='samba-util',
282                  init_function='',
283                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
284                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
285
286 bld.SAMBA3_MODULE('vfs_prealloc',
287                  subsystem='vfs',
288                  source=VFS_PREALLOC_SRC,
289                  deps='samba-util',
290                  init_function='',
291                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
292                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
293
294 bld.SAMBA3_MODULE('vfs_commit',
295                  subsystem='vfs',
296                  source=VFS_COMMIT_SRC,
297                  deps='samba-util',
298                  init_function='',
299                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
300                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
301
302 bld.SAMBA3_MODULE('vfs_gpfs',
303                  subsystem='vfs',
304                  source=VFS_GPFS_SRC,
305                  deps='NFS4_ACLS',
306                  init_function='',
307                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
308                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
309
310 bld.SAMBA3_MODULE('vfs_gpfs_hsm_notify',
311                  subsystem='vfs',
312                  source=VFS_GPFS_HSM_NOTIFY_SRC,
313                  init_function='',
314                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs_hsm_notify'),
315                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs_hsm_notify'))
316
317 bld.SAMBA3_MODULE('vfs_notify_fam',
318                  subsystem='vfs',
319                  source=VFS_NOTIFY_FAM_SRC,
320                  init_function='',
321                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
322                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
323
324 bld.SAMBA3_MODULE('vfs_readahead',
325                  subsystem='vfs',
326                  source=VFS_READAHEAD_SRC,
327                  deps='samba-util',
328                  init_function='',
329                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
330                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
331
332 bld.SAMBA3_MODULE('vfs_tsmsm',
333                  subsystem='vfs',
334                  source=VFS_TSMSM_SRC,
335                  deps='samba-util',
336                  init_function='',
337                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
338                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
339
340 bld.SAMBA3_MODULE('vfs_fileid',
341                  subsystem='vfs',
342                  source=VFS_FILEID_SRC,
343                  deps='samba-util',
344                  init_function='',
345                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
346                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
347
348 bld.SAMBA3_MODULE('vfs_aio_fork',
349                  subsystem='vfs',
350                  source=VFS_AIO_FORK_SRC,
351                  deps='samba-util tevent',
352                  init_function='',
353                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
354                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
355                   allow_undefined_symbols=True)
356
357 bld.SAMBA3_MODULE('vfs_aio_pthread',
358                  subsystem='vfs',
359                  source=VFS_AIO_PTHREAD_SRC,
360                  deps='samba-util tevent',
361                  init_function='',
362                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
363                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
364                   allow_undefined_symbols=True)
365
366 bld.SAMBA3_MODULE('vfs_aio_linux',
367                  subsystem='vfs',
368                  source=VFS_AIO_LINUX_SRC,
369                  deps='samba-util aio',
370                  init_function='',
371                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_linux'),
372                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_linux'),
373                   allow_undefined_symbols=True)
374
375 bld.SAMBA3_MODULE('vfs_preopen',
376                  subsystem='vfs',
377                  source=VFS_PREOPEN_SRC,
378                  deps='samba-util',
379                  init_function='',
380                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
381                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
382
383 bld.SAMBA3_MODULE('vfs_syncops',
384                  subsystem='vfs',
385                  source=VFS_SYNCOPS_SRC,
386                  deps='samba-util',
387                  init_function='',
388                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
389                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
390
391 bld.SAMBA3_MODULE('vfs_acl_xattr',
392                  subsystem='vfs',
393                  source=VFS_ACL_XATTR_SRC,
394                  deps='samba-util',
395                  init_function='',
396                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
397                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
398
399 bld.SAMBA3_MODULE('vfs_acl_tdb',
400                  subsystem='vfs',
401                  source=VFS_ACL_TDB_SRC,
402                  deps='NDR_XATTR tdb',
403                  init_function='',
404                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
405                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
406
407 bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',
408                  subsystem='vfs',
409                  source=VFS_SMB_TRAFFIC_ANALYZER_SRC,
410                  deps='samba-util',
411                  init_function='',
412                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),
413                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))
414
415 bld.SAMBA3_MODULE('vfs_dirsort',
416                  subsystem='vfs',
417                  source=VFS_DIRSORT_SRC,
418                  deps='samba-util',
419                  init_function='',
420                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
421                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
422
423 bld.SAMBA3_MODULE('vfs_scannedonly',
424                  subsystem='vfs',
425                  source=VFS_SCANNEDONLY_SRC,
426                  deps='samba-util',
427                  init_function='',
428                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),
429                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))
430
431 bld.SAMBA3_MODULE('vfs_crossrename',
432                  subsystem='vfs',
433                  source=VFS_CROSSRENAME_SRC,
434                  deps='samba-util',
435                  init_function='',
436                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
437                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
438
439 bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
440                  subsystem='vfs',
441                  source=VFS_LINUX_XFS_SGID_SRC,
442                  deps='samba-util',
443                  init_function='',
444                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
445                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
446
447 bld.SAMBA3_MODULE('vfs_time_audit',
448                  subsystem='vfs',
449                  source=VFS_TIME_AUDIT_SRC,
450                  deps='samba-util',
451                  init_function='',
452                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
453                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
454
455 bld.SAMBA3_MODULE('vfs_dfs_samba4',
456                  subsystem='vfs',
457                  source='vfs_dfs_samba4.c',
458                  deps='samba-util dfs_server_ad samdb tevent',
459                  init_function='',
460                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
461                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
462
463 PERFCOUNT_TEST_SRC = 'perfcount_test.c'
464
465 bld.SAMBA3_SUBSYSTEM('perfcount',
466                     source='',
467                      deps='smbd_base')
468
469 bld.SAMBA3_MODULE('perfcount_test',
470                  subsystem='perfcount',
471                  source=PERFCOUNT_TEST_SRC,
472                  init_function='',
473                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
474                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))