s3-waf: move perfcount subsystem to modules/wscript_build.
authorGünther Deschner <gd@samba.org>
Sun, 26 Sep 2010 18:10:49 +0000 (20:10 +0200)
committerGünther Deschner <gd@samba.org>
Sun, 26 Sep 2010 22:39:38 +0000 (00:39 +0200)
Guenther

source3/modules/wscript_build
source3/wscript_build

index 076992de10b9693de9604d072289b26d3cdc5a82..c751c081360afcfbdab5a365fd54c90eaf810f72 100644 (file)
@@ -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'))
index e7dd0b733f3ad19da72eb97663f4460723cfa98b..6b81247e13781f17306658e20e3f5a989a8bc13e 100644 (file)
@@ -518,10 +518,6 @@ NSS_INFO_STATIC = ''
 NSS_INFO_TEMPLATE_SRC = 'winbindd/nss_info_template.c'
 NSS_INFO_SRC = 'winbindd/nss_info.c'
 
-PERFCOUNT_STATIC = ''
-PERFCOUNT_ONEFS_SRC = 'modules/perfcount_onefs.c'
-PERFCOUNT_TEST_SRC = 'modules/perfcount_test.c'
-
 WINBINDD_SRC1 = '''winbindd/winbindd.c
                    winbindd/winbindd_group.c
                    winbindd/winbindd_util.c
@@ -1129,25 +1125,6 @@ bld.SAMBA_SUBSYSTEM('ASN1_UTIL',
                     deps='talloc',
                     local_include=False)
 
-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('GPEXT',
                     source=GPEXT_SRC,
                     deps='''GPEXT_REGISTRY GPEXT_SCRIPTS GPEXT_SECURITY''',