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 \
198 mono-perfcounters.c \
199 mono-perfcounters.h \
200 mono-perfcounters-def.h \
206 normalization-tables.h \
216 w32socket-internals.h \
219 w32process-internals.h \
229 security-core-clr.c \
230 security-core-clr.h \
242 threadpool-worker-default.c \
243 threadpool-worker.h \
249 dynamic-image-internals.h \
251 dynamic-stream-internals.h \
253 custom-attrs-internals.h \
255 reflection-internals.h \
257 file-mmap-windows.c \
261 metadata-cross-helpers.c \
269 w32handle-namespace.h \
270 w32handle-namespace.c \
275 # These source files have compile time dependencies on GC code
276 gc_dependent_sources = \
298 sgen-bridge-internals.h \
301 sgen-tarjan-bridge.c \
308 libmonoruntime_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(null_gc_sources) $(boehm_sources)
309 libmonoruntime_la_CFLAGS = $(BOEHM_DEFINES)
310 libmonoruntime_la_LIBADD = libmonoruntime-config.la
312 libmonoruntimesgen_la_SOURCES = $(common_sources) $(gc_dependent_sources) $(sgen_sources)
313 libmonoruntimesgen_la_CFLAGS = $(SGEN_DEFINES)
314 libmonoruntimesgen_la_LIBADD = libmonoruntime-config.la
316 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
317 libmonoruntime_static_la_LDFLAGS = -static
318 libmonoruntime_static_la_CFLAGS = $(BOEHM_DEFINES)
319 libmonoruntime_static_la_LIBADD = $(bundle_obj) libmonoruntime-config.la
321 libmonoruntimesgen_static_la_SOURCES = $(libmonoruntimesgen_la_SOURCES)
322 libmonoruntimesgen_static_la_LDFLAGS = -static
323 libmonoruntimesgen_static_la_CFLAGS = $(SGEN_DEFINES)
324 libmonoruntimesgen_static_la_LIBADD = libmonoruntime-config.la
326 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
328 libmonoruntimeinclude_HEADERS = \
335 debug-mono-symfile.h \
354 EXTRA_DIST = $(win32_sources) $(unix_sources) $(null_sources) runtime.h \
355 threadpool-io-poll.c threadpool-io-epoll.c threadpool-io-kqueue.c sgen-dynarray.h