architecture independent marshaling code
[mono.git] / mono / jit / Makefile.am
1 INCLUDES =                              \
2         -I$(top_srcdir)                 \
3         $(GMODULE_CFLAGS)               \
4         $(GLIB_CFLAGS)
5
6 if X86
7 bin_PROGRAMS = mono
8 lib_LIBRARIES = libmono.a
9 endif
10
11 libmono_a_SOURCES =             \
12         win32-exception.c       \
13         win32-exception.h       \
14         codegen.h               \
15         codegen-x86.c           \
16         emit-x86.c              \
17         jit.h                   \
18         regset.h                \
19         regset.c                \
20         debug.h                 \
21         debug-private.h         \
22         debug.c                 \
23         debug-stabs.c           \
24         debug-dwarf2.c          \
25         debug-dwarf2-plus.c     \
26         jit.c                   \
27         trampoline.c            \
28         delegate.c              \
29         exception.c             \
30         message.c               \
31         linear-scan.c           \
32         helpers.h               \
33         helpers.c
34
35 mono_SOURCES = mono.c
36
37 mono_LDADD =                            \
38         libmono.a                       \
39         ../metadata/libmonoruntime.a    \
40         ../metadata/libmetadata.a       \
41         ../io-layer/libwapi.a           \
42         ../utils/libmonoutils.a         \
43         ../os/libmonoos.a               \
44         $(GLIB_LIBS)                    \
45         $(GMODULE_LIBS)                 \
46         -lm
47
48 codegen-x86.c codegen.h: x86.brg
49         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
50
51 BUILT_SOURCES = codegen-x86.c codegen.h
52
53 CLEANFILES = $(BUILT_SOURCES)
54
55 EXTRA_DIST = x86.brg
56