2002-03-14 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         jit.c
23
24 mono_LDADD =                            \
25         ../metadata/libmetadata.a       \
26         ../io-layer/libwapi.a           \
27         $(GLIB_LIBS)                    \
28         $(GMODULE_LIBS)                 \
29         -lm
30
31 codegen-x86.c codegen.h: x86.brg
32         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h > codegen-x86.c
33
34 BUILT_SOURCES = codegen-x86.c codegen.h
35
36 CLEANFILES = $(BUILT_SOURCES)
37
38 EXTRA_DIST = x86.brg
39