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.
5 assembliesdir = `cygpath -m "${libdir}"`
6 confdir = `cygpath -m "${sysconfdir}"`
8 # The mingw math.h has "extern inline" functions that dont appear in libs, so
9 # optimisation is required to actually inline them
12 assembliesdir = $(exec_prefix)/lib
13 confdir = $(sysconfdir)
19 # libtool is not capable of creating static/shared versions of the same
20 # convenience lib, so we have to do it ourselves
22 noinst_LTLIBRARIES = libmonoruntime.la libmonoruntime-static.la
24 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) -DMONO_BINDIR=\"$(bindir)/\" -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
27 # Make sure any prefix changes are updated in the binaries too.
29 # assembly.c uses MONO_ASSEMBLIES
30 # mono-config.c uses MONO_CFG_DIR
32 # This won't result in many more false positives than AC_DEFINEing them
35 assembly.lo mono-config.lo: Makefile
37 CLEANFILES = mono-bundle.stamp
39 libmonoruntime_static_la_LIBADD = $(bundle_obj) $(libmonoruntime_la_LIBADD)
41 libmonoruntime_la_SOURCES = \
69 threadpool-internals.h \
77 debug-mono-symfile.h \
78 debug-mono-symfile.c \
81 mono-debug-debugger.h \
82 mono-debug-debugger.c \
101 normalization-tables.h \
105 culture-info-tables.h \
117 metadata-internals.h \
133 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
135 libmonoruntime_static_la_LDFLAGS = -static
137 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
139 libmonoruntimeinclude_HEADERS = \
144 debug-mono-symfile.h \
169 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
170 $(LIBGC_LIBS) $(GLIB_LIBS) -lm
172 EXTRA_DIST = make-bundle.pl sample-bundle