2008-11-17 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / arch / Makefile.am
index d76d6c7189fa96a6f532adf828b924aaecd27e8b..09604162948bf881d6ab2fbcb6a6150bb98cf118 100644 (file)
@@ -1,3 +1,25 @@
-# conditional compilation support here
+DIST_SUBDIRS = x86 ppc sparc arm s390 s390x alpha hppa amd64 ia64 mips
+
+INCLUDES = $(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
+
+noinst_LTLIBRARIES = libmonoarch.la
+
+libmonoarch_la_SOURCES = unknown.c
+
+libmonoarch_la_LIBADD = $(arch_target)/libmonoarch-$(arch_target).la
+
+endif
+
+EXTRA_DIST = ChangeLog
 
-SUBDIRS = x86