summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 20:10:49 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:38 +0200
commita742e0065aee09499b60f3762af50f180c42c855 (patch)
treecc1fef43bb60e747d774df8daeb96f7c28a4ec27 /source3/modules
parent3e35cc42b55844d52d53639a49832dcb29ee140e (diff)
downloadsamba-a742e0065aee09499b60f3762af50f180c42c855.tar.gz
samba-a742e0065aee09499b60f3762af50f180c42c855.tar.bz2
samba-a742e0065aee09499b60f3762af50f180c42c855.zip
s3-waf: move perfcount subsystem to modules/wscript_build.
Guenther
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/wscript_build23
1 files changed, 23 insertions, 0 deletions
diff --git a/source3/modules/wscript_build b/source3/modules/wscript_build
index 076992de10..c751c08136 100644
--- a/source3/modules/wscript_build
+++ b/source3/modules/wscript_build
@@ -442,3 +442,26 @@ bld.SAMBA_MODULE('CHARSET_MACOSXFS',
init_function='',
internal_module=bld.SAMBA3_IS_STATIC_MODULE('CHARSET_MACOSXFS'),
enabled=bld.SAMBA3_IS_ENABLED_MODULE('CHARSET_MACOSXFS'))
+
+
+PERFCOUNT_ONEFS_SRC = 'perfcount_onefs.c'
+PERFCOUNT_TEST_SRC = 'perfcount_test.c'
+
+bld.SAMBA_SUBSYSTEM('PERFCOUNT',
+ source='',
+ deps='''PERFCOUNT_ONEFS PERFCOUNT_TEST''',
+ vars=locals())
+
+bld.SAMBA_MODULE('PERFCOUNT_ONEFS',
+ subsystem='PERFCOUNT',
+ source=PERFCOUNT_ONEFS_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PERFCOUNT_ONEFS'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PERFCOUNT_ONEFS'))
+
+bld.SAMBA_MODULE('PERFCOUNT_TEST',
+ subsystem='PERFCOUNT',
+ source=PERFCOUNT_TEST_SRC,
+ init_function='',
+ internal_module=bld.SAMBA3_IS_STATIC_MODULE('PERFCOUNT_TEST'),
+ enabled=bld.SAMBA3_IS_ENABLED_MODULE('PERFCOUNT_TEST'))