X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fstat%2FMakefile.in;h=a100f54faa76addf28523b62dc866edc6c748306;hb=d0d85962ef52c14950db90e5981a7bea36023ab3;hp=557459818cf305e8abc617392a8cbb17e3184623;hpb=1d8455193922a1d69b3f6dceab9e352aa5a5b9b4;p=libfirm diff --git a/ir/stat/Makefile.in b/ir/stat/Makefile.in index 557459818..a100f54fa 100644 --- a/ir/stat/Makefile.in +++ b/ir/stat/Makefile.in @@ -14,6 +14,8 @@ top_srcdir := @top_srcdir@ srcdir = @srcdir@ topdir = ../.. subdir := ir/ir +# do we want statistics +enable_statistics := @enable_statistics@ INSTALL_HEADERS = firmstat.h @@ -22,11 +24,19 @@ SOURCES = $(INSTALL_HEADERS) SOURCES += Makefile.in \ 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 stat_dmp.h stat_dmp.c \ + const_stat.c +endif + + include $(topdir)/MakeRules CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/common \ -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/tv \ - -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st + -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st \ + -I$(top_srcdir)/ir/external -I$(topdir)/ir/config include $(top_srcdir)/MakeTargets