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 = \
74 threadpool-internals.h \
82 debug-mono-symfile.h \
83 debug-mono-symfile.c \
86 mono-debug-debugger.h \
87 mono-debug-debugger.c \
108 normalization-tables.h \
112 culture-info-tables.h \
126 metadata-internals.h \
138 mono-perfcounters.c \
139 mono-perfcounters.h \
140 mono-perfcounters-def.h \
145 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
147 libmonoruntime_static_la_LDFLAGS = -static
149 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
151 libmonoruntimeinclude_HEADERS = \
156 debug-mono-symfile.h \
180 PEDUMP_DTRACE_OBJECT = pedump-dtrace.$(OBJEXT)
182 pedump-dtrace.$(OBJEXT): $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
183 DTRACE="$(DTRACE)" DTRACEFLAGS="$(DTRACEFLAGS)" AR="$(AR)" $(SHELL) $(top_srcdir)/dtrace-prelink.sh \
184 --pic pedump-dtrace.$(OBJEXT) $(top_srcdir)/data/mono.d libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la
187 PEDUMP_DTRACE_OBJECT =
193 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
194 $(LIBGC_LIBS) $(GLIB_LIBS) -lm $(PEDUMP_DTRACE_OBJECT)
196 EXTRA_DIST = make-bundle.pl sample-bundle