2 # Use -m here. This will use / as directory separator (C:/WINNT).
3 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
4 # / by \ if running under WIN32.
6 assembliesdir = ${libdir}
7 confdir = ${sysconfdir}
9 assembliesdir = `cygpath -m "${libdir}"`
10 confdir = `cygpath -m "${sysconfdir}"`
13 # The mingw math.h has "extern inline" functions that dont appear in libs, so
14 # optimisation is required to actually inline them
17 assembliesdir = $(exec_prefix)/lib
18 confdir = $(sysconfdir)
24 # libtool is not capable of creating static/shared versions of the same
25 # convenience lib, so we have to do it ourselves
27 noinst_LTLIBRARIES = libmonoruntime.la libmonoruntime-static.la
29 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
32 # Make sure any prefix changes are updated in the binaries too.
34 # assembly.c uses MONO_ASSEMBLIES
35 # mono-config.c uses MONO_CFG_DIR
37 # This won't result in many more false positives than AC_DEFINEing them
40 assembly.lo mono-config.lo: Makefile
42 CLEANFILES = mono-bundle.stamp
44 libmonoruntime_static_la_LIBADD = $(bundle_obj) $(libmonoruntime_la_LIBADD)
46 libmonoruntime_la_SOURCES = \
76 threadpool-internals.h \
84 debug-mono-symfile.h \
85 debug-mono-symfile.c \
88 mono-debug-debugger.h \
89 mono-debug-debugger.c \
110 normalization-tables.h \
114 culture-info-tables.h \
128 metadata-internals.h \
140 mono-perfcounters.c \
141 mono-perfcounters.h \
142 mono-perfcounters-def.h \
145 mempool-internals.h \
150 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
152 libmonoruntime_static_la_LDFLAGS = -static
154 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
156 libmonoruntimeinclude_HEADERS = \
161 debug-mono-symfile.h \
185 PEDUMP_DTRACE_OBJECT = pedump-dtrace.$(OBJEXT)
187 pedump-dtrace.$(OBJEXT): $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
188 DTRACE="$(DTRACE)" DTRACEFLAGS="$(DTRACEFLAGS)" AR="$(AR)" $(SHELL) $(top_srcdir)/data/dtrace-prelink.sh \
189 --pic pedump-dtrace.$(OBJEXT) $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
192 PEDUMP_DTRACE_OBJECT =
198 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
199 $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(PEDUMP_DTRACE_OBJECT)
201 EXTRA_DIST = make-bundle.pl sample-bundle