4 console-win32-internals.h \
5 cominterop-win32-internals.h \
7 file-io-windows-internals.h \
9 icall-windows-internals.h \
11 marshal-windows-internals.h \
12 mono-security-windows.c \
13 mono-security-windows-internals.h \
15 w32semaphore-win32.c \
18 w32process-win32-internals.h \
21 platform_sources = $(win32_sources)
23 # Use -m here. This will use / as directory separator (C:/WINNT).
24 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
25 # / by \ if running under WIN32.
27 assembliesdir = ${libdir}
28 confdir = ${sysconfdir}
30 assembliesdir = `cygpath -m "${libdir}"`
31 confdir = `cygpath -m "${sysconfdir}"`
34 # The mingw math.h has "extern inline" functions that dont appear in libs, so
35 # optimisation is required to actually inline them
39 assembliesdir = $(exec_prefix)/lib
40 confdir = $(sysconfdir)
47 w32process-unix-internals.h \
48 w32process-unix-osx.c \
49 w32process-unix-bsd.c \
50 w32process-unix-haiku.c \
51 w32process-unix-default.c
53 platform_sources = $(unix_sources)
57 platform_sources += ../../support/libm/complex.c
61 # libtool is not capable of creating static/shared versions of the same
62 # convenience lib, so we have to do it ourselves
65 if DISABLE_EXECUTABLES
66 shared_sgen_libraries = libmonoruntimesgen.la
69 shared_sgen_libraries = libmonoruntimesgen.la
72 sgen_libraries = $(shared_sgen_libraries) libmonoruntimesgen-static.la
76 if DISABLE_EXECUTABLES
77 shared_boehm_libraries = libmonoruntime.la
80 shared_boehm_libraries = libmonoruntime.la
83 boehm_libraries = $(shared_boehm_libraries) libmonoruntime-static.la
86 if DISABLE_EXECUTABLES
87 noinst_LTLIBRARIES = libmonoruntime-config.la $(shared_sgen_libraries) $(shared_boehm_libraries)
89 noinst_LTLIBRARIES = libmonoruntime-config.la $(boehm_libraries) $(sgen_libraries)
92 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
95 # Make sure any prefix changes are updated in the binaries too.
97 # This won't result in many more false positives than AC_DEFINEing them
100 mono-config-dirs.lo: Makefile
103 # This library is used to localize the usage of MONO_BINDIR etc. to just one source file, thus enabling
104 # ccache to work even if the value of these defines change. We need to use a convenience library since automake
105 # doesn't support per file cflags.
107 libmonoruntime_config_la_SOURCES = \
110 libmonoruntime_config_la_CPPFLAGS = $(AM_CPPFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\" -DMONO_RELOC_LIBDIR=\"../$(reloc_libdir)\"
112 CLEANFILES = mono-bundle.stamp
121 $(platform_sources) \
124 assembly-internals.h \
139 culture-info-tables.h \
141 debug-mono-symfile.h \
142 debug-mono-symfile.c \
152 exception-internals.h \
155 file-io-internals.h \
172 marshal-internals.h \
175 mempool-internals.h \
178 metadata-internals.h \
186 mono-debug-debugger.h \
192 mono-perfcounters.c \
193 mono-perfcounters.h \
194 mono-perfcounters-def.h \
200 normalization-tables.h \
212 w32process-internals.h \
222 security-core-clr.c \
223 security-core-clr.h \
235 threadpool-worker-default.c \
236 threadpool-worker.h \
242 dynamic-image-internals.h \
244 dynamic-stream-internals.h \
246 custom-attrs-internals.h \
248 reflection-internals.h \
250 file-mmap-windows.c \
254 metadata-cross-helpers.c \
262 w32handle-namespace.h \
263 w32handle-namespace.c \
267 # These source files have compile time dependencies on GC code
268 gc_dependent_sources = \
290 sgen-bridge-internals.h \
293 sgen-tarjan-bridge.c \
300 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
301 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
302 libmonoruntime_la_LIBADD = libmonoruntime-config.la
304 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
305 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
306 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
308 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
309 libmonoruntime_static_la_LDFLAGS = -static
310 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
311 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
313 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
314 libmonoruntimesgen_static_la_LDFLAGS = -static
315 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
316 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
318 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
320 libmonoruntimeinclude_HEADERS = \
327 debug-mono-symfile.h \
346 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
347 threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h