3 # Use -m here. This will use / as directory separator (C:/WINNT).
4 # The files that use MONO_ASSEMBLIES and/or MONO_CFG_DIR replace the
5 # / by \ if running under WIN32.
6 assembliesdir = `cygpath -m "${libdir}"`
7 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
11 PLATFORM_LIB = ../os/libmonoos.la
13 assembliesdir = $(libdir)
14 confdir = $(sysconfdir)
17 bin_PROGRAMS = pedump monodiet
20 # libtool is not capable of creating static/shared versions of the same
21 # convenience lib, so we have to do it ourselves
23 noinst_LTLIBRARIES = libmonoruntime.la libmonoruntime-static.la
26 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) $(ICU_CFLAGS) \
27 -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
30 CLEANFILES = mono-bundle.stamp
32 libmonoruntime_static_la_LIBADD = $(bundle_obj) $(PLATFORM_LIB) $(libmonoruntime_la_LIBADD)
34 libmonoruntime_la_SOURCES = \
63 debug-mono-symfile.h \
64 debug-mono-symfile.c \
67 mono-debug-debugger.h \
68 mono-debug-debugger.c \
88 culture-info-tables.h \
101 metadata-internals.h \
116 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
118 libmonoruntime_static_la_LDFLAGS = -static
120 libmonoruntimeincludedir = $(includedir)/mono/metadata
122 libmonoruntimeinclude_HEADERS = \
126 mono-debug-debugger.h \
127 debug-mono-symfile.h \
151 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
152 $(LIBGC_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) -lm
154 monodiet_SOURCES = monodiet.c
158 ../io-layer/libwapi.la \
159 ../utils/libmonoutils.la \
166 EXTRA_DIST = make-bundle.pl sample-bundle