2002-08-02 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_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         linear-scan.c           \
31         helpers.h               \
32         helpers.c
33
34 libmonoincludedir = $(includedir)/mono/jit
35 libmonoinclude_HEADERS = \
36         jit.h                   \
37         debug.h                 \
38         regset.h
39
40 mono_SOURCES = mono.c
41
42 #mono_LDFLAGS=-static
43 mono_LDADD =                            \
44         libmono.la                      \
45         $(GLIB_LIBS)                    \
46         $(GMODULE_LIBS)                 \
47         -lm
48
49 codegen-x86.c codegen.h: x86.brg
50         ../monoburg/monoburg $(srcdir)/x86.brg -d codegen.h -s codegen-x86.c
51
52 BUILT_SOURCES = codegen-x86.c codegen.h
53
54 CLEANFILES = $(BUILT_SOURCES)
55
56 EXTRA_DIST = x86.brg
57