8ef863bb26602046df61e2f37c444f9b374e17d7
[cacao.git] / src / mm / Makefile.am
1 ## src/mm/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006 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 ## Contact: cacao@cacaojvm.org
26 ##
27 ## Authors: Christian Thalinger
28 ##
29 ## Changes:
30 ##
31 ## $Id: Makefile.am 5900 2006-11-04 17:30:44Z michi $
32
33 ## Process this file with automake to produce Makefile.in
34
35 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
36
37 LIBS =
38
39 DIST_SUBDIRS = \
40         boehm-gc \
41         cacao-gc
42
43 if DISABLE_GC
44 GC_FILE = \
45         nogc.c
46 endif
47
48 if ENABLE_GC_BOEHM
49 SUBDIRS = \
50         boehm-gc
51
52 GC_FILE = \
53         boehm.c
54
55 GC_LIB = \
56         $(top_builddir)/src/mm/boehm-gc/libgc.la
57 endif
58
59 if ENABLE_GC_CACAO
60 SUBDIRS = \
61         cacao-gc
62
63 GC_LIB = \
64         $(top_builddir)/src/mm/cacao-gc/libgc.la
65 endif
66
67 noinst_LTLIBRARIES = \
68         libmm.la
69
70 libmm_la_SOURCES = \
71         $(GC_FILE) \
72         gc-common.h \
73         memory.c \
74         memory.h
75
76 libmm_la_LIBADD = \
77         $(GC_LIB)
78
79
80 ## Local variables:
81 ## mode: Makefile
82 ## indent-tabs-mode: t
83 ## c-basic-offset: 4
84 ## tab-width: 8
85 ## compile-command: "automake --add-missing"
86 ## End: