5 platform_sources = $(win32_sources)
7 # Use -m here. This will use / as directory separator (C:/WINNT).
8 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
9 # / by \ if running under WIN32.
11 assembliesdir = ${libdir}
12 confdir = ${sysconfdir}
14 assembliesdir = `cygpath -m "${libdir}"`
15 confdir = `cygpath -m "${sysconfdir}"`
18 # The mingw math.h has "extern inline" functions that dont appear in libs, so
19 # optimisation is required to actually inline them
23 assembliesdir = $(exec_prefix)/lib
24 confdir = $(sysconfdir)
28 platform_sources = $(unix_sources)
34 # libtool is not capable of creating static/shared versions of the same
35 # convenience lib, so we have to do it ourselves
37 noinst_LTLIBRARIES = libmonoruntime.la libmonoruntime-static.la
39 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
42 # Make sure any prefix changes are updated in the binaries too.
44 # assembly.c uses MONO_ASSEMBLIES
45 # mono-config.c uses MONO_CFG_DIR
47 # This won't result in many more false positives than AC_DEFINEing them
50 assembly.lo mono-config.lo: Makefile
52 CLEANFILES = mono-bundle.stamp
54 libmonoruntime_static_la_LIBADD = $(bundle_obj) $(libmonoruntime_la_LIBADD)
59 libmonoruntime_la_SOURCES = \
76 culture-info-tables.h \
78 debug-mono-symfile.h \
79 debug-mono-symfile.c \
106 mempool-internals.h \
109 metadata-internals.h \
115 mono-debug-debugger.h \
116 mono-debug-debugger.c \
121 mono-perfcounters.c \
122 mono-perfcounters.h \
123 mono-perfcounters-def.h \
126 normalization-tables.h \
143 security-core-clr.c \
144 security-core-clr.h \
158 threadpool-internals.h \
163 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
165 libmonoruntime_static_la_LDFLAGS = -static
167 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
169 libmonoruntimeinclude_HEADERS = \
176 debug-mono-symfile.h \
197 PEDUMP_DTRACE_OBJECT = pedump-dtrace.$(OBJEXT)
199 pedump-dtrace.$(OBJEXT): $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
200 DTRACE="$(DTRACE)" DTRACEFLAGS="$(DTRACEFLAGS)" AR="$(AR)" $(SHELL) $(top_srcdir)/data/dtrace-prelink.sh \
201 --pic pedump-dtrace.$(OBJEXT) $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
204 PEDUMP_DTRACE_OBJECT =
210 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
211 $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(PEDUMP_DTRACE_OBJECT)
213 EXTRA_DIST = make-bundle.pl sample-bundle $(win32_sources) $(unix_sources) $(null_sources)