summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-26 21:26:23 +0200
committerGünther Deschner <gd@samba.org>2010-09-27 00:39:37 +0200
commit6fcd2437e4527d4832d2d80fe37c45f5c4c100ec (patch)
treef39043353b5726e063668850600027399b94fbd4
parenta6025af503f72a68f7bf7811750aac4c1e1d9db3 (diff)
downloadsamba-6fcd2437e4527d4832d2d80fe37c45f5c4c100ec.tar.gz
samba-6fcd2437e4527d4832d2d80fe37c45f5c4c100ec.tar.bz2
samba-6fcd2437e4527d4832d2d80fe37c45f5c4c100ec.zip
s3-waf: convert PERFCOUNT into a subsystem.
Guenther
-rw-r--r--source3/wscript_build20
1 files changed, 20 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build
index 805369e83a..198a7ee12e 100644
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1152,6 +1152,7 @@ for prefix in bld.env.MODULE_PREFIXES:
if prefix == 'pdb': continue
if prefix == 'idmap': continue
if prefix == 'charset': continue
+ if prefix == 'perfcount': continue
static_key = "%s_STATIC" % prefix.upper()
shared_key = "%s_SHARED" % prefix.upper()
@@ -1419,6 +1420,25 @@ bld.SAMBA_MODULE('CHARSET_MACOSXFS',
internal_module=True,
enabled=False) #fixme
+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=True,
+ enabled=False) #fixme
+
+bld.SAMBA_MODULE('PERFCOUNT_TEST',
+ subsystem='PERFCOUNT',
+ source=PERFCOUNT_TEST_SRC,
+ init_function='',
+ internal_module=True,
+ enabled=True)
+
bld.SAMBA_SUBSYSTEM('AVAHI',
source=AVAHI_SRC,
deps='avahi-common avahi-client',