119f8038c47ba275885ce26d3cb6006a7c613713
[cacao.git] / src / mm / Makefile.am
1 ## src/mm/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
4 ## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 ## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 ## J. Wenninger, Institut f. Computersprachen - TU Wien
7 ##
8 ## This file is part of CACAO.
9 ##
10 ## This program is free software; you can redistribute it and/or
11 ## modify it under the terms of the GNU General Public License as
12 ## published by the Free Software Foundation; either version 2, or (at
13 ## your option) any later version.
14 ##
15 ## This program is distributed in the hope that it will be useful, but
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ## General Public License for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License
21 ## along with this program; if not, write to the Free Software
22 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 ## 02110-1301, USA.
24 ##
25 ## $Id: Makefile.am 7289 2007-02-06 08:47:05Z twisti $
26
27 ## Process this file with automake to produce Makefile.in
28
29 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir)/src
30
31 LIBS =
32
33 DIST_SUBDIRS = \
34         boehm-gc \
35         cacao-gc
36
37 if DISABLE_GC
38 GC_FILE = \
39         nogc.c
40 endif
41
42 if ENABLE_GC_BOEHM
43 SUBDIRS = \
44         boehm-gc
45
46 GC_FILE = \
47         boehm.c
48
49 GC_LIB = \
50         $(top_builddir)/src/mm/boehm-gc/libgc.la
51 endif
52
53 if ENABLE_GC_CACAO
54 SUBDIRS = \
55         cacao-gc
56
57 GC_LIB = \
58         $(top_builddir)/src/mm/cacao-gc/libgc.la
59 endif
60
61 noinst_LTLIBRARIES = \
62         libmm.la
63
64 libmm_la_SOURCES = \
65         $(GC_FILE) \
66         gc-common.h \
67         memory.c \
68         memory.h
69
70 libmm_la_LIBADD = \
71         $(GC_LIB)
72
73
74 ## Local variables:
75 ## mode: Makefile
76 ## indent-tabs-mode: t
77 ## c-basic-offset: 4
78 ## tab-width: 8
79 ## compile-command: "automake --add-missing"
80 ## End: