Fri Apr 19 19:26:28 CEST 2002 Paolo Molaro <lupus@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
33 mono_SOURCES = mono.c
34
35 mono_LDADD =                            \
36         libmono.a                       \
37         ../metadata/libmonoruntime.a    \
38         ../metadata/libmetadata.a       \
39         ../io-layer/libwapi.a           \
40         ../utils/libmonoutils.a         \
41         $(GLIB_LIBS)                    \
42         $(GMODULE_LIBS)                 \
43         -lm
44
45 codegen-x86.c codegen.h: x86.brg
46         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
47
48 BUILT_SOURCES = codegen-x86.c codegen.h
49
50 CLEANFILES = $(BUILT_SOURCES)
51
52 EXTRA_DIST = x86.brg
53