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 \
129 culture-info-tables.h \
131 debug-mono-symfile.h \
132 debug-mono-symfile.c \
142 exception-internals.h \
145 file-io-internals.h \
162 marshal-internals.h \
165 mempool-internals.h \
168 metadata-internals.h \
176 mono-debug-debugger.h \
182 mono-perfcounters.c \
183 mono-perfcounters.h \
184 mono-perfcounters-def.h \
190 normalization-tables.h \
200 process-internals.h \
210 security-core-clr.c \
211 security-core-clr.h \
228 dynamic-image-internals.h \
230 dynamic-stream-internals.h \
232 custom-attrs-internals.h \
234 reflection-internals.h \
236 file-mmap-windows.c \
240 metadata-cross-helpers.c \
248 w32handle-namespace.h \
249 w32handle-namespace.c
251 # These source files have compile time dependencies on GC code
252 gc_dependent_sources = \
274 sgen-bridge-internals.h \
277 sgen-tarjan-bridge.c \
284 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
285 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
286 libmonoruntime_la_LIBADD = libmonoruntime-config.la
288 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
289 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
290 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
292 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
293 libmonoruntime_static_la_LDFLAGS = -static
294 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
295 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
297 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
298 libmonoruntimesgen_static_la_LDFLAGS = -static
299 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
300 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
302 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
304 libmonoruntimeinclude_HEADERS = \
311 debug-mono-symfile.h \
330 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
331 threadpool-ms-io-poll.c threadpool-ms-io-epoll.c threadpool-ms-io-kqueue.c sgen-dynarray.h