X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fia32%2FMakefile.in;h=993cf7640b3f117d4a2dc6136556e40c5630e6e4;hb=fa4ec191e159484f0fcbea2ef044deaa2ab2d293;hp=5a61411975a83a16549b41309cad68677f6ec862;hpb=367c4677fcfe42108c7938439d5760cc3c51101b;p=libfirm diff --git a/ir/be/ia32/Makefile.in b/ir/be/ia32/Makefile.in index 5a6141197..993cf7640 100644 --- a/ir/be/ia32/Makefile.in +++ b/ir/be/ia32/Makefile.in @@ -15,9 +15,15 @@ srcdir = @srcdir@ topdir = ../../.. subdir := ir/be/ia32 full_dir = $(top_srcdir)/ir/be -full_dirbe = $(full_dir)/$(FIRMBE_ARCH) +full_dirbe = $(full_dir)/ia32 +arch = ia32 -SOURCES = Makefile.in new_nodes.c new_nodes.h transform.c transform.h +SOURCES = Makefile.in $(arch)_new_nodes.c $(arch)_new_nodes.h gen_$(arch)_new_nodes.c.inl gen_$(arch)_new_nodes.h \ + gen_$(arch)_emitter.c gen_$(arch)_emitter.h $(arch)_emitter.c $(arch)_emitter.h \ + bearch_$(arch).c gen_$(arch)_regalloc_if_t.h gen_$(arch)_regalloc_if.h gen_$(arch)_regalloc_if.c \ + $(arch)_transform.c $(arch)_transform.h $(arch)_gen_decls.c $(arch)_gen_decls.h \ + $(arch)_map_regs.c $(arch)_map_regs.h $(arch)_optimize.c $(arch)_optimize.h \ + $(arch)_x87.c $(arch)_x87.h include $(topdir)/MakeRules @@ -29,7 +35,19 @@ CPPFLAGS += -I$(top_srcdir)/ir/adt -I$(top_srcdir)/ir/ir -I$(top_srcdir)/ir/ include $(top_srcdir)/MakeTargets -subdir_depend depend: - $(full_dir)/scripts/generate_new_opcodes.pl $(full_dirbe)/$(FIRMBE_ARCH)_spec.pl $(full_dirbe) +$(full_dirbe)/$(arch)_new_nodes.c: $(full_dirbe)/gen_$(arch)_regalloc_if.h $(full_dirbe)/gen_$(arch)_new_nodes.c.inl + +$(full_dirbe)/$(arch)_new_nodes.h: $(full_dirbe)/gen_$(arch)_new_nodes.h.inl + +$(full_dirbe)/bearch_$(arch).c: $(full_dirbe)/gen_$(arch)_regalloc_if.h + +$(full_dirbe)/gen_$(arch)_new_nodes.c.inl $(full_dirbe)/gen_$(arch)_new_nodes.h.inl: $(full_dir)/scripts/generate_new_opcodes.pl $(full_dirbe)/$(arch)_spec.pl + $(full_dir)/scripts/generate_new_opcodes.pl $(full_dirbe)/$(arch)_spec.pl $(full_dirbe) + +$(full_dirbe)/gen_$(arch)_emitter.c $(full_dirbe)/gen_$(arch)_emitter.h: $(full_dir)/scripts/generate_emitter.pl $(full_dirbe)/$(arch)_spec.pl + $(full_dir)/scripts/generate_emitter.pl $(full_dirbe)/$(arch)_spec.pl $(full_dirbe) + +$(full_dirbe)/gen_$(arch)_regalloc_if.c $(full_dirbe)/gen_$(arch)_regalloc_if.h $(full_dirbe)/gen_$(arch)_regalloc_if_t.h: $(full_dir)/scripts/generate_regalloc_if.pl $(full_dirbe)/$(arch)_spec.pl + $(full_dir)/scripts/generate_regalloc_if.pl $(full_dirbe)/$(arch)_spec.pl $(full_dirbe) all: subdir.o