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 \
22 platform_sources = $(win32_sources)
24 # Use -m here. This will use / as directory separator (C:/WINNT).
25 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
26 # / by \ if running under WIN32.
28 assembliesdir = ${libdir}
29 confdir = ${sysconfdir}
31 assembliesdir = `cygpath -m "${libdir}"`
32 confdir = `cygpath -m "${sysconfdir}"`
35 # The mingw math.h has "extern inline" functions that dont appear in libs, so
36 # optimisation is required to actually inline them
40 assembliesdir = $(exec_prefix)/lib
41 confdir = $(sysconfdir)
48 w32process-unix-internals.h \
49 w32process-unix-osx.c \
50 w32process-unix-bsd.c \
51 w32process-unix-haiku.c \
52 w32process-unix-default.c \
59 platform_sources = $(unix_sources)
63 platform_sources += ../../support/libm/complex.c
67 # libtool is not capable of creating static/shared versions of the same
68 # convenience lib, so we have to do it ourselves
71 if DISABLE_EXECUTABLES
72 shared_sgen_libraries = libmonoruntimesgen.la
75 shared_sgen_libraries = libmonoruntimesgen.la
78 sgen_libraries = $(shared_sgen_libraries) libmonoruntimesgen-static.la
82 if DISABLE_EXECUTABLES
83 shared_boehm_libraries = libmonoruntime.la
86 shared_boehm_libraries = libmonoruntime.la
89 boehm_libraries = $(shared_boehm_libraries) libmonoruntime-static.la
92 if DISABLE_EXECUTABLES
93 noinst_LTLIBRARIES = libmonoruntime-config.la $(shared_sgen_libraries) $(shared_boehm_libraries)
95 noinst_LTLIBRARIES = libmonoruntime-config.la $(boehm_libraries) $(sgen_libraries)
98 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CPPFLAGS) $(GLIB_CFLAGS) $(SHARED_CFLAGS)
101 # Make sure any prefix changes are updated in the binaries too.
103 # This won't result in many more false positives than AC_DEFINEing them
106 mono-config-dirs.lo: Makefile
109 # This library is used to localize the usage of MONO_BINDIR etc. to just one source file, thus enabling
110 # ccache to work even if the value of these defines change. We need to use a convenience library since automake
111 # doesn't support per file cflags.
113 libmonoruntime_config_la_SOURCES = \
116 libmonoruntime_config_la_CPPFLAGS = $(AM_CPPFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\" -DMONO_RELOC_LIBDIR=\"../$(reloc_libdir)\"
118 CLEANFILES = mono-bundle.stamp
129 $(platform_sources) \
134 assembly-internals.h \
149 culture-info-tables.h \
151 debug-mono-symfile.h \
152 debug-mono-symfile.c \
162 exception-internals.h \
165 w32file-internals.h \
182 marshal-internals.h \
185 mempool-internals.h \
188 metadata-internals.h \
203 mono-perfcounters.c \
204 mono-perfcounters.h \
205 mono-perfcounters-def.h \
210 normalization-tables.h \
221 w32socket-internals.h \
224 w32process-internals.h \
234 security-core-clr.c \
235 security-core-clr.h \
247 threadpool-worker-default.c \
248 threadpool-worker.h \
254 dynamic-image-internals.h \
256 dynamic-stream-internals.h \
258 custom-attrs-internals.h \
260 reflection-internals.h \
262 file-mmap-windows.c \
266 metadata-cross-helpers.c \
274 w32handle-namespace.h \
275 w32handle-namespace.c \
288 # These source files have compile time dependencies on GC code
289 gc_dependent_sources = \
302 sgen-bridge-internals.h \
305 sgen-tarjan-bridge.c \
312 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
313 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
314 libmonoruntime_la_LIBADD = libmonoruntime-config.la
316 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
317 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
318 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
320 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
321 libmonoruntime_static_la_LDFLAGS = -static
322 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
323 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
325 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
326 libmonoruntimesgen_static_la_LDFLAGS = -static
327 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
328 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
330 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
332 libmonoruntimeinclude_HEADERS = \
339 debug-mono-symfile.h \
359 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
360 threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h