Do not enter ir/stat if statistics is disabled
authorRubino Geiß <rubino@ipd.info.uni-karlsruhe.de>
Tue, 20 Apr 2004 13:52:54 +0000 (13:52 +0000)
committerRubino Geiß <rubino@ipd.info.uni-karlsruhe.de>
Tue, 20 Apr 2004 13:52:54 +0000 (13:52 +0000)
[r2688]

Makefile.in

index 81b0510..a40c393 100644 (file)
@@ -20,7 +20,11 @@ topdir := .
 # subdirectory under topdir
 subdir := .
 
-subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/tr ir/ana ir/st ir/stat
+subdirs := ir/adt ir/debug ir/tv ir/common ir/ident ir/ir ir/tr ir/ana ir/st
+
+ifeq ($(enable_statistics),yes)
+subdirs += ir/stat
+endif
 
 SOURCES := Makefile.in MakeRules.in MakeTargets\
           aclocal.m4 config.h.in\