-DIST_SUBDIRS = x86 ppc sparc arm s390 s390x alpha hppa amd64 ia64 mips
+DIST_SUBDIRS = x86 ppc sparc arm arm64 s390x 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