updated Header
[libfirm] / ir / stat / Makefile.in
1 #
2 # Project:     libFIRM
3 # File name:   ir/stat/Makefile.in
4 # Purpose:
5 # Author:      Boris Boesler, Till Riedel
6 # Modified by:
7 # Created:
8 # CVS-ID:      $Id$
9 # Copyright:   (c) 2004 Universität Karlsruhe
10 # Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
11 #
12
13 top_srcdir := @top_srcdir@
14 srcdir = @srcdir@
15 topdir = ../..
16 subdir := ir/ir
17 # do we want statistics
18 enable_statistics := @enable_statistics@
19
20 INSTALL_HEADERS = firmstat.h
21
22 SOURCES = $(INSTALL_HEADERS)
23
24 SOURCES +=      Makefile.in \
25                 firmstat.c
26
27 ifeq ($(enable_statistics),yes)
28 SOURCES += firmstat_t.h pattern.c pattern.h dags.c dags.h counter.h \
29            pattern_dmp.c pattern_dmp.h distrib.c stat_dmp.h stat_dmp.c \
30            const_stat.c
31 endif
32
33
34 include $(topdir)/MakeRules
35
36 CPPFLAGS +=     -I$(top_srcdir)/ir/adt   -I$(top_srcdir)/ir/ir  -I$(top_srcdir)/ir/common  \
37                 -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/tr  -I$(top_srcdir)/ir/tv \
38                 -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st \
39                 -I$(top_srcdir)/ir/external -I$(topdir)/ir/config
40
41 include $(top_srcdir)/MakeTargets
42
43 all: subdir.o