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