2002-05-27 Dietmar Maurer <dietmar@ximian.com>
[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         invoke.c                \
31         message.c               \
32         linear-scan.c           \
33         helpers.h               \
34         helpers.c
35
36 mono_SOURCES = mono.c
37
38 mono_LDADD =                            \
39         libmono.a                       \
40         ../metadata/libmonoruntime.a    \
41         ../metadata/libmetadata.a       \
42         ../io-layer/libwapi.a           \
43         ../utils/libmonoutils.a         \
44         ../os/libmonoos.a               \
45         $(GLIB_LIBS)                    \
46         $(GMODULE_LIBS)                 \
47         -lm
48
49 codegen-x86.c codegen.h: x86.brg
50         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
51
52 BUILT_SOURCES = codegen-x86.c codegen.h
53
54 CLEANFILES = $(BUILT_SOURCES)
55
56 EXTRA_DIST = x86.brg
57