s3-vfs: Use the system. namespace for fake ACLs
[kai/samba.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_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
53
54 bld.SAMBA3_SUBSYSTEM('NFS4_ACLS',
55                     source='nfs4_acls.c',
56                     deps='samba-util tdb')
57
58 bld.SAMBA3_SUBSYSTEM('VFS_AIXACL_UTIL',
59                     source='vfs_aixacl_util.c',
60                     enabled=False) #fixme
61
62 bld.SAMBA3_SUBSYSTEM('vfs',
63                     source='',
64                     deps='smbd_base',
65                     vars=locals())
66
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'))
74
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'))
82
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'))
90
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'))
98
99 bld.SAMBA3_MODULE('vfs_fake_perms',
100                  subsystem='vfs',
101                  source=VFS_FAKE_PERMS_SRC,
102                  deps='acl attr 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'))
106
107 bld.SAMBA3_MODULE('vfs_fake_acls',
108                  subsystem='vfs',
109                  source=VFS_FAKE_ACLS_SRC,
110                  deps='acl attr 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'))
114
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'))
122
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'))
130
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'))
138
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'))
146
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'))
154
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'))
162
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'))
170
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'))
178
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'))
186
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'))
194
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())
202
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'))
210
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'))
218
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'))
226
227 bld.SAMBA3_MODULE('vfs_solarisacl',
228                  subsystem='vfs',
229                  source=VFS_SOLARISACL_SRC,
230                  init_function='',
231                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_solarisacl'),
232                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_solarisacl'))
233
234 bld.SAMBA3_MODULE('vfs_zfsacl',
235                  subsystem='vfs',
236                  source=VFS_ZFSACL_SRC,
237                  deps='NFS4_ACLS sunacl',
238                  init_function='',
239                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_zfsacl'),
240                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_zfsacl'))
241
242 bld.SAMBA3_MODULE('vfs_hpuxacl',
243                  subsystem='vfs',
244                  source=VFS_HPUXACL_SRC,
245                  init_function='',
246                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_hpuxacl'),
247                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_hpuxacl'))
248
249 bld.SAMBA3_MODULE('vfs_irixacl',
250                  subsystem='vfs',
251                  source=VFS_IRIXACL_SRC,
252                  init_function='',
253                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_irixacl'),
254                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_irixacl'))
255
256 bld.SAMBA3_MODULE('vfs_tru64acl',
257                  subsystem='vfs',
258                  source=VFS_TRU64ACL_SRC,
259                  init_function='',
260                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_true64acl'),
261                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_true64acl'))
262
263 bld.SAMBA3_MODULE('vfs_catia',
264                  subsystem='vfs',
265                  source=VFS_CATIA_SRC,
266                  deps='samba-util',
267                  init_function='',
268                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_catia'),
269                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_catia'))
270
271 bld.SAMBA3_MODULE('vfs_streams_xattr',
272                  subsystem='vfs',
273                  source=VFS_STREAMS_XATTR_SRC,
274                  deps='samba-util',
275                  init_function='',
276                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_xattr'),
277                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_xattr'))
278
279 bld.SAMBA3_MODULE('vfs_streams_depot',
280                  subsystem='vfs',
281                  source=VFS_STREAMS_DEPOT_SRC,
282                  deps='samba-util',
283                  init_function='',
284                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_streams_depot'),
285                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_streams_depot'))
286
287 bld.SAMBA3_MODULE('vfs_cacheprime',
288                  subsystem='vfs',
289                  source=VFS_CACHEPRIME_SRC,
290                  deps='samba-util',
291                  init_function='',
292                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_cacheprime'),
293                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_cacheprime'))
294
295 bld.SAMBA3_MODULE('vfs_prealloc',
296                  subsystem='vfs',
297                  source=VFS_PREALLOC_SRC,
298                  deps='samba-util',
299                  init_function='',
300                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_prealloc'),
301                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_prealloc'))
302
303 bld.SAMBA3_MODULE('vfs_commit',
304                  subsystem='vfs',
305                  source=VFS_COMMIT_SRC,
306                  deps='samba-util',
307                  init_function='',
308                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_commit'),
309                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_commit'))
310
311 bld.SAMBA3_MODULE('vfs_gpfs',
312                  subsystem='vfs',
313                  source=VFS_GPFS_SRC,
314                  deps='NFS4_ACLS',
315                  init_function='',
316                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_gpfs'),
317                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_gpfs'))
318
319 bld.SAMBA3_MODULE('vfs_notify_fam',
320                  subsystem='vfs',
321                  source=VFS_NOTIFY_FAM_SRC,
322                  init_function='',
323                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_notify_fam'),
324                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_notify_fam'))
325
326 bld.SAMBA3_MODULE('vfs_readahead',
327                  subsystem='vfs',
328                  source=VFS_READAHEAD_SRC,
329                  deps='samba-util',
330                  init_function='',
331                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_readahead'),
332                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_readahead'))
333
334 bld.SAMBA3_MODULE('vfs_tsmsm',
335                  subsystem='vfs',
336                  source=VFS_TSMSM_SRC,
337                  deps='samba-util',
338                  init_function='',
339                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_tsmsm'),
340                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_tsmsm'))
341
342 bld.SAMBA3_MODULE('vfs_fileid',
343                  subsystem='vfs',
344                  source=VFS_FILEID_SRC,
345                  deps='samba-util',
346                  init_function='',
347                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_fileid'),
348                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_fileid'))
349
350 bld.SAMBA3_MODULE('vfs_aio_fork',
351                  subsystem='vfs',
352                  source=VFS_AIO_FORK_SRC,
353                  deps='samba-util tevent',
354                  init_function='',
355                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_fork'),
356                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_fork'),
357                   allow_undefined_symbols=True)
358
359 bld.SAMBA3_MODULE('vfs_aio_pthread',
360                  subsystem='vfs',
361                  source=VFS_AIO_PTHREAD_SRC,
362                  deps='samba-util tevent',
363                  init_function='',
364                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_pthread'),
365                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_pthread'),
366                   allow_undefined_symbols=True)
367
368 bld.SAMBA3_MODULE('vfs_aio_posix',
369                  subsystem='vfs',
370                  source=VFS_AIO_POSIX_SRC,
371                  deps='samba-util tevent',
372                  init_function='',
373                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_posix'),
374                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_posix'),
375                   allow_undefined_symbols=True)
376
377 bld.SAMBA3_MODULE('vfs_aio_linux',
378                  subsystem='vfs',
379                  source=VFS_AIO_LINUX_SRC,
380                  deps='samba-util aio',
381                  init_function='',
382                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_aio_linux'),
383                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_aio_linux'),
384                   allow_undefined_symbols=True)
385
386 bld.SAMBA3_MODULE('vfs_preopen',
387                  subsystem='vfs',
388                  source=VFS_PREOPEN_SRC,
389                  deps='samba-util',
390                  init_function='',
391                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_preopen'),
392                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_preopen'))
393
394 bld.SAMBA3_MODULE('vfs_syncops',
395                  subsystem='vfs',
396                  source=VFS_SYNCOPS_SRC,
397                  deps='samba-util',
398                  init_function='',
399                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_syncops'),
400                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_syncops'))
401
402 bld.SAMBA3_MODULE('vfs_acl_xattr',
403                  subsystem='vfs',
404                  source=VFS_ACL_XATTR_SRC,
405                  deps='samba-util',
406                  init_function='',
407                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_xattr'),
408                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_xattr'))
409
410 bld.SAMBA3_MODULE('vfs_acl_tdb',
411                  subsystem='vfs',
412                  source=VFS_ACL_TDB_SRC,
413                  deps='NDR_XATTR tdb',
414                  init_function='',
415                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_acl_tdb'),
416                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_acl_tdb'))
417
418 bld.SAMBA3_MODULE('vfs_smb_traffic_analyzer',
419                  subsystem='vfs',
420                  source=VFS_SMB_TRAFFIC_ANALYZER_SRC,
421                  deps='samba-util',
422                  init_function='',
423                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_smb_traffic_analyzer'),
424                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_smb_traffic_analyzer'))
425
426 bld.SAMBA3_MODULE('vfs_dirsort',
427                  subsystem='vfs',
428                  source=VFS_DIRSORT_SRC,
429                  deps='samba-util',
430                  init_function='',
431                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dirsort'),
432                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dirsort'))
433
434 bld.SAMBA3_MODULE('vfs_scannedonly',
435                  subsystem='vfs',
436                  source=VFS_SCANNEDONLY_SRC,
437                  deps='samba-util',
438                  init_function='',
439                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_scannedonly'),
440                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_scannedonly'))
441
442 bld.SAMBA3_MODULE('vfs_crossrename',
443                  subsystem='vfs',
444                  source=VFS_CROSSRENAME_SRC,
445                  deps='samba-util',
446                  init_function='',
447                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_crossrename'),
448                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_crossrename'))
449
450 bld.SAMBA3_MODULE('vfs_linux_xfs_sgid',
451                  subsystem='vfs',
452                  source=VFS_LINUX_XFS_SGID_SRC,
453                  deps='samba-util',
454                  init_function='',
455                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_linux_xfs_sgid'),
456                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_linux_xfs_sgid'))
457
458 bld.SAMBA3_MODULE('vfs_time_audit',
459                  subsystem='vfs',
460                  source=VFS_TIME_AUDIT_SRC,
461                  deps='samba-util',
462                  init_function='',
463                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_time_audit'),
464                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_time_audit'))
465
466 bld.SAMBA3_MODULE('vfs_dfs_samba4',
467                  subsystem='vfs',
468                  source='vfs_dfs_samba4.c',
469                  deps='samba-util dfs_server_ad samdb tevent',
470                  init_function='',
471                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED(),
472                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('vfs_dfs_samba4') and bld.AD_DC_BUILD_IS_ENABLED())
473
474 PERFCOUNT_TEST_SRC = 'perfcount_test.c'
475
476 bld.SAMBA3_SUBSYSTEM('perfcount',
477                     source='',
478                      deps='smbd_base')
479
480 bld.SAMBA3_MODULE('perfcount_test',
481                  subsystem='perfcount',
482                  source=PERFCOUNT_TEST_SRC,
483                  init_function='',
484                  internal_module=bld.SAMBA3_IS_STATIC_MODULE('perfcount_test'),
485                  enabled=bld.SAMBA3_IS_ENABLED_MODULE('perfcount_test'))