2010-06-21 Rodrigo Kumpera <rkumpera@novell.com>
[mono.git] / mono / interpreter / Makefile.am
blobdc29d1530d6361c99d2bd45e1c570a52d43c572e
1 INCLUDES =                              \
2         -I$(top_srcdir)                 \
3         $(LIBGC_CFLAGS)                 \
4         $(GLIB_CFLAGS)
6 if HOST_WIN32
7 export HOST_CC
8 # The mingw math.h has "extern inline" functions that dont appear in libs, so
9 # optimisation is required to actually inline them
10 AM_CFLAGS = -O
11 endif
13 if INTERP_SUPPORTED
14 bin_PROGRAMS = mint
16 lib_LTLIBRARIES = libmint.la
18 man_MANS = mint.1
19 endif
21 mint_SOURCES =          \
22         main.c
24 mint_LDADD =            \
25         libmint.la
27 libmint_la_SOURCES =    \
28         hacks.h         \
29         interp.h        \
30         interp.c        \
31         mintops.h       \
32         mintops.def     \
33         mintops.c       \
34         transform.c
36 libmintincludedir = $(includedir)/mono-$(API_VER)/mono/interpreter
38 libmintinclude_HEADERS =        \
39         embed.h
41 # This is needed for automake dependency generation
42 if INCLUDED_LIBGC
43 libgc_libs=../../libgc/libmonogc.la
44 else
45 libgc_libs=$(LIBGC_LIBS)
46 endif
48 libmint_la_LIBADD =                             \
49         ../arch/libmonoarch.la          \
50         ../metadata/libmonoruntime.la   \
51         ../io-layer/libwapi.la          \
52         ../utils/libmonoutils.la        \
53         $(libgc_libs)                   \
54         $(GLIB_LIBS)                    \
55         $(ICU_LIBS)                     \
56         -lm
58 EXTRA_DIST = $(man_MANS)