[arm64] Add basic port infrastructure.
[mono.git] / mono / arch / Makefile.am
index 876b2febb3543133f5d6e28dfee919a3d9e47fbc..3d687949f92a8ed21f1e339eca6ead21c9e74615 100644 (file)
@@ -1,7 +1,17 @@
+DIST_SUBDIRS = x86 ppc sparc arm arm64 s390x amd64 ia64 mips
+
+AM_CPPFLAGS = $(GLIB_CFLAGS) -I$(top_srcdir)
+
+if INTERP_SUPPORTED
 SUBDIRS = $(arch_target)
-DIST_SUBDIRS = x86 ppc sparc arm s390 alpha hppa amd64
+else
+if ARM
+# arm needs to build some stuff even in JIT mode
+SUBDIRS = $(arch_target)
+endif
+endif
 
-INCLUDES = $(GLIB_CFLAGS) -I$(top_srcdir)
+if INTERP_SUPPORTED
 
 noinst_LTLIBRARIES = libmonoarch.la
 
@@ -9,5 +19,7 @@ libmonoarch_la_SOURCES = unknown.c
 
 libmonoarch_la_LIBADD = $(arch_target)/libmonoarch-$(arch_target).la
 
+endif
+
 EXTRA_DIST = ChangeLog