moved firmext code into the backend dir
[libfirm] / ir / be / grgen / Makefile.in
1 #
2 # Project:     libFIRM
3 # File name:   ir/arch/Makefile.in
4 # Purpose:
5 # Author:      Boris Boesler, Till Riedel, Michael Beck, Gernot Veit Batz
6 # Modified by:
7 # Created:
8 # CVS-ID:      $Id$
9 # Copyright:   (c) 1999-2003 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
18 INSTALL_HEADERS =       base.h \
19                                         action.h \
20                                         analyze.h \
21                                         ana_vs.h \
22                                         matchplan.h \
23                                         match.h \
24                                         plan_vs_dmst.h \
25                                         grs.h \
26                                         common.h
27
28 SOURCES = $(INSTALL_HEADERS)
29
30 SOURCES +=      Makefile.in \
31                         base.c \
32                         analyze.c \
33                         auxilary.c \
34                         plan_vs_dmst.c \
35                         ana_vs.c \
36                         matchplan.c \
37                         grshooks.c \
38                         action.c \
39                         match.c
40
41 include $(topdir)/MakeRules
42
43 CPPFLAGS +=     -I$(top_srcdir)/ir/adt   -I$(top_srcdir)/ir/ir   -I$(top_srcdir)/ir/common  \
44                 -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/tr   -I$(top_srcdir)/ir/tv \
45                 -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana  -I$(top_srcdir)/ir/st \
46                 -I$(top_srcdir)/ir/arch  -I$(top_srcdir)/ir/stat -I$(top_srcdir)/ir/external \
47                 -I$(topdir)/ir/config
48
49 include $(top_srcdir)/MakeTargets
50
51 # override header install
52 local_install_headers: $(INCLUDEDIR)/ext/grs
53                 $(INSTALL)  -m u+rw,a+r $(addprefix $(srcdir)/,$(INSTALL_HEADERS)) $(INCLUDEDIR)/ext/grs
54
55 $(INCLUDEDIR)/ext/grs:
56                 mkdir -p $@
57
58 all: subdir.o
59
60 $(srcdir)/ext/grs/plan_vs_dmst.c: $(srcdir)/ext/grs/uf_mpq.h