Fri Jul 19 18:38:38 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_LTLIBRARIES = libmono.la
9
10 libmono_la_LIBADD =     \
11         ../metadata/libmonoruntime.la
12
13 endif
14
15 libmono_la_SOURCES =            \
16         win32-exception.c       \
17         win32-exception.h       \
18         codegen.h               \
19         codegen-x86.c           \
20         emit-x86.c              \
21         regset.c                \
22         debug-private.h         \
23         debug.c                 \
24         debug-stabs.c           \
25         debug-dwarf2.c          \
26         debug-dwarf2-plus.c     \
27         jit.c                   \
28         trampoline.c            \
29         exception.c             \
30         message.c               \
31         linear-scan.c           \
32         helpers.h               \
33         helpers.c
34
35 libmonoincludedir = $(includedir)/mono/jit
36 libmonoinclude_HEADERS = \
37         jit.h                   \
38         debug.h                 \
39         regset.h
40
41 mono_SOURCES = mono.c
42
43 #mono_LDFLAGS=-static
44 mono_LDADD =                            \
45         libmono.la                      \
46         $(GLIB_LIBS)                    \
47         $(GMODULE_LIBS)                 \
48         -lm
49
50 codegen-x86.c codegen.h: x86.brg
51         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
52
53 BUILT_SOURCES = codegen-x86.c codegen.h
54
55 CLEANFILES = $(BUILT_SOURCES)
56
57 EXTRA_DIST = x86.brg
58