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 process-windows-internals.h \
16 w32semaphore-win32.c \
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 platform_sources = $(unix_sources)
50 platform_sources += ../../support/libm/complex.c
54 # libtool is not capable of creating static/shared versions of the same
55 # convenience lib, so we have to do it ourselves
58 if DISABLE_EXECUTABLES
59 shared_sgen_libraries = libmonoruntimesgen.la
62 shared_sgen_libraries = libmonoruntimesgen.la
65 sgen_libraries = $(shared_sgen_libraries) libmonoruntimesgen-static.la
69 if DISABLE_EXECUTABLES
70 shared_boehm_libraries = libmonoruntime.la
73 shared_boehm_libraries = libmonoruntime.la
76 boehm_libraries = $(shared_boehm_libraries) libmonoruntime-static.la
79 if DISABLE_EXECUTABLES
80 noinst_LTLIBRARIES = libmonoruntime-config.la $(shared_sgen_libraries) $(shared_boehm_libraries)
82 noinst_LTLIBRARIES = libmonoruntime-config.la $(boehm_libraries) $(sgen_libraries)
85 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
88 # Make sure any prefix changes are updated in the binaries too.
90 # This won't result in many more false positives than AC_DEFINEing them
93 mono-config-dirs.lo: Makefile
96 # This library is used to localize the usage of MONO_BINDIR etc. to just one source file, thus enabling
97 # ccache to work even if the value of these defines change. We need to use a convenience library since automake
98 # doesn't support per file cflags.
100 libmonoruntime_config_la_SOURCES = \
103 libmonoruntime_config_la_CPPFLAGS = $(AM_CPPFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\" -DMONO_RELOC_LIBDIR=\"../$(reloc_libdir)\"
105 CLEANFILES = mono-bundle.stamp
114 $(platform_sources) \
116 assembly-internals.h \
130 culture-info-tables.h \
132 debug-mono-symfile.h \
133 debug-mono-symfile.c \
143 exception-internals.h \
146 file-io-internals.h \
163 marshal-internals.h \
166 mempool-internals.h \
169 metadata-internals.h \
177 mono-debug-debugger.h \
183 mono-perfcounters.c \
184 mono-perfcounters.h \
185 mono-perfcounters-def.h \
191 normalization-tables.h \
201 process-internals.h \
211 security-core-clr.c \
212 security-core-clr.h \
229 dynamic-image-internals.h \
231 dynamic-stream-internals.h \
233 custom-attrs-internals.h \
235 reflection-internals.h \
237 file-mmap-windows.c \
241 metadata-cross-helpers.c \
249 w32handle-namespace.h \
250 w32handle-namespace.c \
254 # These source files have compile time dependencies on GC code
255 gc_dependent_sources = \
277 sgen-bridge-internals.h \
280 sgen-tarjan-bridge.c \
287 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
288 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
289 libmonoruntime_la_LIBADD = libmonoruntime-config.la
291 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
292 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
293 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
295 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
296 libmonoruntime_static_la_LDFLAGS = -static
297 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
298 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
300 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
301 libmonoruntimesgen_static_la_LDFLAGS = -static
302 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
303 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
305 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
307 libmonoruntimeinclude_HEADERS = \
314 debug-mono-symfile.h \
333 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
334 threadpool-ms-io-poll.c threadpool-ms-io-epoll.c threadpool-ms-io-kqueue.c sgen-dynarray.h