noinst_LTLIBRARIES = libmonoutils.la
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS)
if ENABLE_DTRACE
arch_sources =
+if !CROSS_COMPILE
+
if X86
arch_sources += mach-support-x86.c
endif
arch_sources += mach-support-arm.c
endif
+else
+
+arch_sources += mach-support-unknown.c
+
+endif
+
libmonoutils_la_SOURCES = $(monoutils_sources) $(arch_sources)
libmonoutilsincludedir = $(includedir)/mono-$(API_VER)/mono/utils