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
mono-stack-unwinding.h \
hazard-pointer.c \
hazard-pointer.h \
+ lock-free-queue.c \
+ lock-free-queue.h \
+ lock-free-alloc.c \
+ lock-free-alloc.h \
+ lock-free-array-queue.c \
+ lock-free-array-queue.h \
mono-linked-list-set.c \
mono-linked-list-set.h \
mono-threads.c \
- mono-threads.h
+ mono-threads-posix.c \
+ mono-threads-mach.c \
+ mono-threads-windows.c \
+ mono-threads.h \
+ mono-tls.h \
+ linux_magic.h \
+ mono-memory-model.h
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