Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no longer...
[mono.git] / mono / arch / Makefile.am
index 31c55c2d8c235fd7787fad6f1a7293ef33231788..28a91475f51786df82ddc148ab3fda047aadea39 100644 (file)
@@ -1,9 +1,15 @@
 DIST_SUBDIRS = x86 ppc sparc arm s390 s390x alpha hppa amd64 ia64 mips
 
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
 
+if INTERP_SUPPORTED
+SUBDIRS = $(arch_target)
+else
+if ARM
 # arm needs to build some stuff even in JIT mode
 SUBDIRS = $(arch_target)
+endif
+endif
 
 if INTERP_SUPPORTED