srcdir = @srcdir@
topdir = ../..
subdir := ir/ir
+# do we want statistics
+enable_statistics := @enable_statistics@
INSTALL_HEADERS = firmstat.h
SOURCES = $(INSTALL_HEADERS)
SOURCES += Makefile.in \
- firmstat.c \
- pattern.c
+ firmstat.c
+
+ifeq ($(enable_statistics),yes)
+SOURCES += firmstat_t.h pattern.c pattern.h dags.c dags.h counter.h \
+ pattern_dmp.c pattern_dmp.h distrib.c
+endif
+
include $(topdir)/MakeRules