New inlining schema implemented:
[libfirm] / ir / stat / Makefile.in
index 6e08a6f..cbe5525 100644 (file)
@@ -14,15 +14,21 @@ top_srcdir := @top_srcdir@
 srcdir = @srcdir@
 topdir = ../..
 subdir := ir/ir
+# do we want statistics
+enable_statistics := @enable_statistics@
 
-INSTALL_HEADERS =
+INSTALL_HEADERS = firmstat.h
 
 SOURCES = $(INSTALL_HEADERS)
 
 SOURCES +=     Makefile.in \
-               firmstat.h \
                firmstat.c
 
+ifeq ($(enable_statistics),yes)
+SOURCES += pattern.c
+endif
+
+
 include $(topdir)/MakeRules
 
 CPPFLAGS +=    -I$(top_srcdir)/ir/adt   -I$(top_srcdir)/ir/ir  -I$(top_srcdir)/ir/common  \