top_srcdir := @top_srcdir@
srcdir = @srcdir@
topdir = ../..
-subdir := ir/ir
+subdir := ir/opt
-INSTALL_HEADERS = cfopt.h tailrec.h ldstopt.h strength_red.h
-
-SOURCES = $(INSTALL_HEADERS)
-
-SOURCES += Makefile.in \
- tailrec.c strength_red.c ldstopt.c
+SOURCES = Makefile.in \
+ cfopt.c tailrec.c strength_red.c ldstopt.c reassoc.c \
+ loop_unrolling.c ifconv.c scalar_replace.c funccall.c \
+ opt_polymorphy.c return.c tropt.c opt_confirms.c opt_confirms.h \
+ escape_ana.c proc_cloning.c gvn_pre.c opt_frame.c \
+ opt_osr.c condeval.c ldst2.c convopt.c
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/stat
+ -I$(top_srcdir)/ir/stat -I$(top_srcdir)/ir/external -I$(topdir)/ir/config
include $(top_srcdir)/MakeTargets