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}"`
9 # The mingw math.h has "extern inline" functions that dont appear in libs, so
10 # optimisation is required to actually inline them
12 assembliesdir = $(exec_prefix)/lib
13 confdir = $(sysconfdir)
16 bin_PROGRAMS = pedump monodiet
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) $(GMODULE_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 = \
65 threadpool-internals.h \
73 debug-mono-symfile.h \
74 debug-mono-symfile.c \
77 mono-debug-debugger.h \
78 mono-debug-debugger.c \
95 normalization-tables.h \
99 culture-info-tables.h \
111 metadata-internals.h \
125 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
127 libmonoruntime_static_la_LDFLAGS = -static
129 libmonoruntimeincludedir = $(includedir)/mono/metadata
131 libmonoruntimeinclude_HEADERS = \
135 debug-mono-symfile.h \
159 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
160 $(LIBGC_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) -lm
162 monodiet_SOURCES = monodiet.c
166 ../io-layer/libwapi.la \
167 ../utils/libmonoutils.la \
174 EXTRA_DIST = make-bundle.pl sample-bundle