/
Makefile.am
123 lines (109 loc) · 2.14 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
if PLATFORM_WIN32
export HOST_CC
assembliesdir = `echo $(libdir) | tr '/' '\\\\'`
# The mingw math.h has "extern inline" functions that dont appear in libs, so
# optimisation is required to actually inline them
AM_CFLAGS = -O
else
assembliesdir = $(libdir)
endif
bin_PROGRAMS = monosn pedump
noinst_LTLIBRARIES = libmetadata.la libmonoruntime.la
INCLUDES = $(GLIB_CFLAGS) $(GMODULE_CFLAGS) -I$(top_srcdir) -I$(top_srcdir)/mono \
-DMONO_ASSEMBLIES=\""$(assembliesdir)"\" -DMONO_CFG_DIR=\""$(sysconfdir)"\"
libmonoruntime_la_SOURCES = \
reflection.c \
object.c \
icall.c \
decimal.c \
decimal.h \
gc.c \
gc-internal.h \
marshal.c \
marshal.h \
monitor.c \
monitor.h \
threads.c \
threadpool.c \
file-io.c \
file-io.h \
socket-io.c \
socket-io.h \
exception.c \
exception.h \
unicode.c \
unicode.h \
appdomain.c \
debug-mono-symfile.h \
debug-mono-symfile.c \
profiler.c \
profiler-private.h \
rand.h \
rand.c \
string-icalls.c \
string-icalls.h \
sysmath.h \
sysmath.c \
process.c \
process.h \
environment.c \
environment.h
libmetadata_la_SOURCES = \
assembly.c \
domain.c \
opcodes.c \
image.c \
metadata.c \
verify.c \
mono-endian.c \
mono-config.c \
mono-config.h \
private.h \
rawbuffer.c \
loader.c \
class.c \
mempool.c \
debug-helpers.c
libmetadataincludedir = $(includedir)/mono/metadata
libmonoruntimeincludedir = $(includedir)/mono/metadata
libmonoruntimeinclude_HEADERS = \
appdomain.h \
debug-mono-symfile.h \
threadpool.h \
threads-types.h \
threads.h \
environment.h \
monitor.h
libmetadatainclude_HEADERS = \
assembly.h \
opcodes.h \
blob.h \
cil-coff.h \
mono-endian.h \
image.h \
metadata.h \
verify.h \
rawbuffer.h \
reflection.h \
row-indexes.h \
tabledefs.h \
tokentype.h \
loader.h \
class.h \
object.h \
exception.h \
profiler.h \
appdomain.h \
debug-helpers.h \
mempool.h \
rand.h
pedump_SOURCES = \
pedump.c
pedump_LDADD = libmetadata.la ../io-layer/libwapi.la ../utils/libmonoutils.la $(GLIB_LIBS) $(GMODULE_LIBS) -lm
monosn_LDADD = \
../metadata/libmetadata.la \
../io-layer/libwapi.la \
../utils/libmonoutils.la \
$(GLIB_LIBS) \
$(GMODULE_LIBS) \
-lm