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 = $(exec_prefix)/lib
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 # Make sure any prefix changes are updated in the binaries too.
32 # assembly.c uses MONO_ASSEMBLIES
33 # mono-config.c uses MONO_CFG_DIR
35 # This won't result in many more false positives than AC_DEFINEing them
38 assembly.lo mono-config.lo: Makefile
40 CLEANFILES = mono-bundle.stamp
42 libmonoruntime_static_la_LIBADD = $(bundle_obj) $(PLATFORM_LIB) $(libmonoruntime_la_LIBADD)
44 libmonoruntime_la_SOURCES = \
64 threadpool-internals.h \
74 debug-mono-symfile.h \
75 debug-mono-symfile.c \
78 mono-debug-debugger.h \
79 mono-debug-debugger.c \
99 culture-info-tables.h \
112 metadata-internals.h \
126 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
128 libmonoruntime_static_la_LDFLAGS = -static
130 libmonoruntimeincludedir = $(includedir)/mono/metadata
132 libmonoruntimeinclude_HEADERS = \
136 mono-debug-debugger.h \
137 debug-mono-symfile.h \
161 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
163 $(LIBGC_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) -lm
165 monodiet_SOURCES = monodiet.c
169 ../io-layer/libwapi.la \
170 ../utils/libmonoutils.la \
178 EXTRA_DIST = make-bundle.pl sample-bundle