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) -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 = \
67 threadpool-internals.h \
75 debug-mono-symfile.h \
76 debug-mono-symfile.c \
79 mono-debug-debugger.h \
80 mono-debug-debugger.c \
97 normalization-tables.h \
101 culture-info-tables.h \
113 metadata-internals.h \
127 libmonoruntime_static_la_SOURCES = $(libmonoruntime_la_SOURCES)
129 libmonoruntime_static_la_LDFLAGS = -static
131 libmonoruntimeincludedir = $(includedir)/mono-$(API_VER)/mono/metadata
133 libmonoruntimeinclude_HEADERS = \
138 debug-mono-symfile.h \
163 pedump_LDADD = libmonoruntime.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
164 $(LIBGC_LIBS) $(GLIB_LIBS) -lm
166 monodiet_SOURCES = monodiet.c
170 ../io-layer/libwapi.la \
171 ../utils/libmonoutils.la \
177 EXTRA_DIST = make-bundle.pl sample-bundle