4 console-win32-internals.h \
5 cominterop-win32-internals.h \
7 w32file-win32-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 \
57 platform_sources = $(unix_sources)
61 platform_sources += ../../support/libm/complex.c
65 # libtool is not capable of creating static/shared versions of the same
66 # convenience lib, so we have to do it ourselves
69 if DISABLE_EXECUTABLES
70 shared_sgen_libraries = libmonoruntimesgen.la
73 shared_sgen_libraries = libmonoruntimesgen.la
76 sgen_libraries = $(shared_sgen_libraries) libmonoruntimesgen-static.la
80 if DISABLE_EXECUTABLES
81 shared_boehm_libraries = libmonoruntime.la
84 shared_boehm_libraries = libmonoruntime.la
87 boehm_libraries = $(shared_boehm_libraries) libmonoruntime-static.la
90 if DISABLE_EXECUTABLES
91 noinst_LTLIBRARIES = libmonoruntime-config.la $(shared_sgen_libraries) $(shared_boehm_libraries)
93 noinst_LTLIBRARIES = libmonoruntime-config.la $(boehm_libraries) $(sgen_libraries)
96 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
99 # Make sure any prefix changes are updated in the binaries too.
101 # This won't result in many more false positives than AC_DEFINEing them
104 mono-config-dirs.lo: Makefile
107 # This library is used to localize the usage of MONO_BINDIR etc. to just one source file, thus enabling
108 # ccache to work even if the value of these defines change. We need to use a convenience library since automake
109 # doesn't support per file cflags.
111 libmonoruntime_config_la_SOURCES = \
114 libmonoruntime_config_la_CPPFLAGS = $(AM_CPPFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\" -DMONO_RELOC_LIBDIR=\"../$(reloc_libdir)\"
116 CLEANFILES = mono-bundle.stamp
125 $(platform_sources) \
128 assembly-internals.h \
143 culture-info-tables.h \
145 debug-mono-symfile.h \
146 debug-mono-symfile.c \
156 exception-internals.h \
159 w32file-internals.h \
176 marshal-internals.h \
179 mempool-internals.h \
182 metadata-internals.h \
190 mono-debug-debugger.h \
196 mono-perfcounters.c \
197 mono-perfcounters.h \
198 mono-perfcounters-def.h \
204 normalization-tables.h \
214 w32socket-internals.h \
217 w32process-internals.h \
227 security-core-clr.c \
228 security-core-clr.h \
240 threadpool-worker-default.c \
241 threadpool-worker.h \
247 dynamic-image-internals.h \
249 dynamic-stream-internals.h \
251 custom-attrs-internals.h \
253 reflection-internals.h \
255 file-mmap-windows.c \
259 metadata-cross-helpers.c \
267 w32handle-namespace.h \
268 w32handle-namespace.c \
272 # These source files have compile time dependencies on GC code
273 gc_dependent_sources = \
295 sgen-bridge-internals.h \
298 sgen-tarjan-bridge.c \
305 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
306 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
307 libmonoruntime_la_LIBADD = libmonoruntime-config.la
309 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
310 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
311 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
313 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
314 libmonoruntime_static_la_LDFLAGS = -static
315 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
316 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
318 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
319 libmonoruntimesgen_static_la_LDFLAGS = -static
320 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
321 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
323 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
325 libmonoruntimeinclude_HEADERS = \
332 debug-mono-symfile.h \
351 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
352 threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h