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)
19 noinst_LTLIBRARIES = libmetadata.la libmonoruntime.la
22 INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/mono $(LIBGC_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) $(ICU_CFLAGS) \
23 -DMONO_ASSEMBLIES=\"$(assembliesdir)\" -DMONO_CFG_DIR=\"$(confdir)\"
26 bundle_srcs = mono-bundle.s mono-bundle.h
27 bundle_obj = mono-bundle.o
28 #BUILT_SOURCES = $(bundle_srcs)
30 $(bundle_obj): $(bundle_srcs)
31 $(bundle_srcs): mono-bundle.stamp
32 @if test -f $@; then :; else rm -f mono-bundle.stamp; $(MAKE) mono-bundle.stamp; fi
33 mono-bundle.stamp: $(BUNDLE_FILE) $(srcdir)/make-bundle.pl
35 perl $(srcdir)/make-bundle.pl $(BUNDLE_FILE) mono-bundle.h mono-bundle.s
40 CLEANFILES = mono-bundle.stamp
42 libmonoruntime_la_LIBADD = $(PLATFORM_LIB)
43 libmetadata_la_LIBADD = $(bundle_obj) $(PLATFORM_LIB)
45 libmonoruntime_la_SOURCES = \
72 debug-mono-symfile.h \
73 debug-mono-symfile.c \
76 mono-debug-debugger.h \
77 mono-debug-debugger.c \
99 libmetadata_la_SOURCES = \
108 metadata-internals.h \
123 libmetadataincludedir = $(includedir)/mono/metadata
124 libmonoruntimeincludedir = $(includedir)/mono/metadata
126 libmonoruntimeinclude_HEADERS = \
129 mono-debug-debugger.h \
130 debug-mono-symfile.h \
134 libmetadatainclude_HEADERS = \
156 pedump_LDADD = libmetadata.la ../io-layer/libwapi.la ../utils/libmonoutils.la \
157 $(LIBGC_LIBS) $(GLIB_LIBS) $(GMODULE_LIBS) -lm
159 EXTRA_DIST = make-bundle.pl sample-bundle