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