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
127 $(platform_sources) \
130 assembly-internals.h \
145 culture-info-tables.h \
147 debug-mono-symfile.h \
148 debug-mono-symfile.c \
158 exception-internals.h \
161 w32file-internals.h \
178 marshal-internals.h \
181 mempool-internals.h \
184 metadata-internals.h \
199 mono-perfcounters.c \
200 mono-perfcounters.h \
201 mono-perfcounters-def.h \
207 normalization-tables.h \
217 w32socket-internals.h \
220 w32process-internals.h \
230 security-core-clr.c \
231 security-core-clr.h \
243 threadpool-worker-default.c \
244 threadpool-worker.h \
250 dynamic-image-internals.h \
252 dynamic-stream-internals.h \
254 custom-attrs-internals.h \
256 reflection-internals.h \
258 file-mmap-windows.c \
262 metadata-cross-helpers.c \
270 w32handle-namespace.h \
271 w32handle-namespace.c \
276 # These source files have compile time dependencies on GC code
277 gc_dependent_sources = \
300 sgen-bridge-internals.h \
303 sgen-tarjan-bridge.c \
310 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
311 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
312 libmonoruntime_la_LIBADD = libmonoruntime-config.la
314 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
315 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
316 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
318 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
319 libmonoruntime_static_la_LDFLAGS = -static
320 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
321 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
323 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
324 libmonoruntimesgen_static_la_LDFLAGS = -static
325 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
326 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
328 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
330 libmonoruntimeinclude_HEADERS = \
337 debug-mono-symfile.h \
356 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
357 threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h