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