topdir = ../..
subdir := ir/ir
+enable_libcore := @enable_libcore@
+
INSTALL_HEADERS = irprog.h irgraph.h irnode.h irmode.h irop.h ircons.h \
irflag.h irvrfy.h irgwalk.h irgmod.h iropt.h irdump.h \
irgopt.h ircgcons.h ircgopt.h irreflect.h irarch.h irprintf.h \
irmode_t.h irop_t.h irprog_t.h ircgcons.c ircgopt.c irreflect.c irarch.c \
pseudo_irg.c irhooks.c iredges.c
-ifeq ($(with_libcore),no)
-SOURCES += irprintf.c
-else
+ifeq ($(enable_libcore),yes)
SOURCES += irargs.c
+else
+SOURCES += irprintf.c
endif
include $(topdir)/MakeRules