3 # File name: ir/be/ia32/Makefile.in
5 # Author: Boris Boesler, Till Riedel
9 # Copyright: (c) 1999-2005 Universitaet Karlsruhe
10 # Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
13 top_srcdir := @top_srcdir@
17 full_dir = $(top_srcdir)/ir/be
18 full_dirbe = $(full_dir)/$(FIRMBE_ARCH)
20 SOURCES = Makefile.in new_nodes.c new_nodes.h new_nodes.c.inl new_nodes.h.inl \
21 emitter_gen.c emitter_gen.h emitter.c emitter.h \
22 regalloc_if.c regalloc_if.h regalloc_if_gen.inl \
23 transform.c transform.h gen_decls.c gen_decls.h
25 include $(topdir)/MakeRules
27 CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/common \
28 -I$(top_srcdir)/ir/ident -I$(top_srcdir)/ir/tr -I$(top_srcdir)/ir/tv \
29 -I$(top_srcdir)/ir/debug -I$(top_srcdir)/ir/ana -I$(top_srcdir)/ir/st \
30 -I$(top_srcdir)/ir/stat -I$(top_srcdir)/ir/external -I$(top_srcdir)/ir/ana2 \
33 include $(top_srcdir)/MakeTargets
35 $(full_dirbe)/new_nodes.c.inl $(full_dirbe)/new_nodes.h.inl: $(full_dir)/scripts/generate_new_opcodes.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl
36 $(full_dir)/scripts/generate_new_opcodes.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl $(full_dirbe)
38 $(full_dirbe)/emitter_gen.c $(full_dirbe)/emitter_gen.h: $(full_dir)/scripts/generate_emitter.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl emitter.c emitter.h
39 $(full_dir)/scripts/generate_emitter.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl $(full_dirbe)
41 $(full_dirbe)/regalloc_if_gen.inl: $(full_dir)/scripts/generate_regalloc_if.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl
42 $(full_dir)/scripts/generate_regalloc_if.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl $(full_dirbe)