2002-03-21 Martin Baulig <martin@gnome.org>
[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 endif
9
10 mono_SOURCES =                  \
11         codegen.h               \
12         codegen-x86.c           \
13         emit-x86.c              \
14         jit.h                   \
15         regset.h                \
16         regset.c                \
17         debug.h                 \
18         debug-private.h         \
19         debug.c                 \
20         debug-stabs.c           \
21         debug-dwarf2.c          \
22         debug-dwarf2-plus.c     \
23         jit.c                   \
24         trampoline.c            \
25         delegate.c              \
26         exception.c             \
27         invoke.c        
28
29 mono_LDADD =                            \
30         ../metadata/libmetadata.a       \
31         ../io-layer/libwapi.a           \
32         $(GLIB_LIBS)                    \
33         $(GMODULE_LIBS)                 \
34         -lm
35
36 codegen-x86.c codegen.h: x86.brg
37         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h > codegen-x86.c
38
39 BUILT_SOURCES = codegen-x86.c codegen.h
40
41 CLEANFILES = $(BUILT_SOURCES)
42
43 EXTRA_DIST = x86.brg
44