A method for the irn label.
[libfirm] / ir / ir / Makefile.in
index e3184b7..4dd4a1b 100644 (file)
@@ -15,6 +15,8 @@ srcdir = @srcdir@
 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 \
@@ -29,10 +31,10 @@ SOURCES +=  Makefile.in \
                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