Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile.am « jit « mono - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a79805f5b18ac50236e6860e4260e4d75e26c380 (plain)
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
INCLUDES = 				\
	-I$(top_srcdir)			\
	$(GMODULE_CFLAGS)		\
	$(GLIB_CFLAGS)

liboldmono_la_LDFLAGS=-Wl,-version-script=$(srcdir)/ldscript

if X86
if PLATFORM_WIN32
export HOST_CC
endif

bin_PROGRAMS = oldmono
lib_LTLIBRARIES = liboldmono.la

liboldmono_la_LIBADD = 	\
	../metadata/libmonoruntime.la	\
	../metadata/libmetadata.la	\
	../io-layer/libwapi.la		\
	../utils/libmonoutils.la	\
	../os/libmonoos.la

endif

jitsources =		\
	win32-exception.c	\
	win32-exception.h	\
	codegen.h		\
	codegen-x86.c		\
	emit-x86.c		\
	regset.c		\
	debug-jit.h		\
	debug-jit.c		\
	jit.c			\
	trampoline.c		\
	exception.c		\
	linear-scan.c		\
	helpers.h		\
	helpers.c

liboldmono_la_SOURCES = $(jitsources)

liboldmonoincludedir = $(includedir)/mono/jit
liboldmonoinclude_HEADERS = \
	jit.h			\
	regset.h

oldmono_SOURCES = mono.c $(jitsources)

#mono_LDFLAGS=-static
oldmono_LDADD =				\
	../metadata/libmonoruntime.la	\
	../metadata/libmetadata.la	\
	../io-layer/libwapi.la		\
	../utils/libmonoutils.la	\
	../os/libmonoos.la		\
	$(GLIB_LIBS)			\
	$(GMODULE_LIBS) 		\
	-lm

oldmono_CFLAGS = $(AM_CFLAGS)

codegen-x86.c codegen.h: x86.brg
	../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c

BUILT_SOURCES = codegen-x86.c codegen.h

CLEANFILES = $(BUILT_SOURCES)

EXTRA_DIST = x86.brg ldscript