mono-threads.c \
mono-threads-posix.c \
mono-threads-mach.c \
+ mono-threads-mach-helper.c \
mono-threads-windows.c \
mono-threads.h \
mono-tls.h \
+ mono-tls.c \
linux_magic.h \
mono-memory-model.h \
atomic.h \
atomic.c \
mono-hwcap.h \
- mono-hwcap.c
+ mono-hwcap.c \
+ bsearch.h \
+ bsearch.c \
+ mono-signal-handler.h
arch_sources =
arch_sources += mach-support-arm.c
endif
+if ARM64
+arch_sources += mach-support-arm.c
+endif
+
else
arch_sources += mach-support-unknown.c
endif
-if !CROSS_COMPILE
-
if X86
arch_sources += mono-hwcap-x86.c mono-hwcap-x86.h
endif
arch_sources += mono-hwcap-arm.c mono-hwcap-arm.h
endif
+if ARM64
+arch_sources += mono-hwcap-arm64.c mono-hwcap-arm64.h
+endif
+
if MIPS
arch_sources += mono-hwcap-mips.c mono-hwcap-mips.h
endif
arch_sources += mono-hwcap-s390x.c mono-hwcap-s390x.h
endif
-else
-
-arch_sources += mono-hwcap-empty.c
-
-endif
-
libmonoutils_la_SOURCES = $(monoutils_sources) $(arch_sources)
libmonoutilsincludedir = $(includedir)/mono-$(API_VER)/mono/utils