4 console-win32-internals.h \
6 file-io-windows-internals.h \
8 icall-windows-internals.h \
10 marshal-windows-internals.h \
11 mono-security-windows.c \
12 mono-security-windows-internals.h \
14 w32semaphore-win32.c \
17 w32process-win32-internals.h \
20 platform_sources = $(win32_sources)
22 # Use -m here. This will use / as directory separator (C:/WINNT).
23 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
24 # / by \ if running under WIN32.
26 assembliesdir = ${libdir}
27 confdir = ${sysconfdir}
29 assembliesdir = `cygpath -m "${libdir}"`
30 confdir = `cygpath -m "${sysconfdir}"`
33 # The mingw math.h has "extern inline" functions that dont appear in libs, so
34 # optimisation is required to actually inline them
38 assembliesdir = $(exec_prefix)/lib
39 confdir = $(sysconfdir)
46 w32process-unix-internals.h \
47 w32process-unix-osx.c \
48 w32process-unix-bsd.c \
49 w32process-unix-haiku.c \
50 w32process-unix-default.c
52 platform_sources = $(unix_sources)
56 platform_sources += ../../support/libm/complex.c
60 # libtool is not capable of creating static/shared versions of the same
61 # convenience lib, so we have to do it ourselves
64 if DISABLE_EXECUTABLES
65 shared_sgen_libraries = libmonoruntimesgen.la
68 shared_sgen_libraries = libmonoruntimesgen.la
71 sgen_libraries = $(shared_sgen_libraries) libmonoruntimesgen-static.la
75 if DISABLE_EXECUTABLES
76 shared_boehm_libraries = libmonoruntime.la
79 shared_boehm_libraries = libmonoruntime.la
82 boehm_libraries = $(shared_boehm_libraries) libmonoruntime-static.la
85 if DISABLE_EXECUTABLES
86 noinst_LTLIBRARIES = libmonoruntime-config.la $(shared_sgen_libraries) $(shared_boehm_libraries)
88 noinst_LTLIBRARIES = libmonoruntime-config.la $(boehm_libraries) $(sgen_libraries)
91 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
94 # Make sure any prefix changes are updated in the binaries too.
96 # This won't result in many more false positives than AC_DEFINEing them
99 mono-config-dirs.lo: Makefile
102 # This library is used to localize the usage of MONO_BINDIR etc. to just one source file, thus enabling
103 # ccache to work even if the value of these defines change. We need to use a convenience library since automake
104 # doesn't support per file cflags.
106 libmonoruntime_config_la_SOURCES = \
109 libmonoruntime_config_la_CPPFLAGS = $(AM_CPPFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\" -DMONO_RELOC_LIBDIR=\"../$(reloc_libdir)\"
111 CLEANFILES = mono-bundle.stamp
120 $(platform_sources) \
122 assembly-internals.h \
137 culture-info-tables.h \
139 debug-mono-symfile.h \
140 debug-mono-symfile.c \
150 exception-internals.h \
153 file-io-internals.h \
170 marshal-internals.h \
173 mempool-internals.h \
176 metadata-internals.h \
184 mono-debug-debugger.h \
190 mono-perfcounters.c \
191 mono-perfcounters.h \
192 mono-perfcounters-def.h \
198 normalization-tables.h \
208 w32process-internals.h \
218 security-core-clr.c \
219 security-core-clr.h \
236 dynamic-image-internals.h \
238 dynamic-stream-internals.h \
240 custom-attrs-internals.h \
242 reflection-internals.h \
244 file-mmap-windows.c \
248 metadata-cross-helpers.c \
256 w32handle-namespace.h \
257 w32handle-namespace.c \
261 # These source files have compile time dependencies on GC code
262 gc_dependent_sources = \
284 sgen-bridge-internals.h \
287 sgen-tarjan-bridge.c \
294 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
295 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
296 libmonoruntime_la_LIBADD = libmonoruntime-config.la
298 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
299 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
300 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
302 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
303 libmonoruntime_static_la_LDFLAGS = -static
304 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
305 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
307 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
308 libmonoruntimesgen_static_la_LDFLAGS = -static
309 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
310 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
312 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
314 libmonoruntimeinclude_HEADERS = \
321 debug-mono-symfile.h \
340 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
341 threadpool-ms-io-poll.c threadpool-ms-io-epoll.c threadpool-ms-io-kqueue.c sgen-dynarray.h