* Removed all Id tags.
[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
26 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
27
28 LIBS =
29
30 DIST_SUBDIRS = \
31         boehm-gc \
32         cacao-gc
33
34 if DISABLE_GC
35 GC_FILE = \
36         nogc.c
37 endif
38
39 if ENABLE_GC_BOEHM
40 SUBDIRS = \
41         boehm-gc
42
43 GC_FILE = \
44         boehm.c
45
46 GC_LIB = \
47         $(top_builddir)/src/mm/boehm-gc/libgc.la
48 endif
49
50 if ENABLE_GC_CACAO
51 SUBDIRS = \
52         cacao-gc
53
54 GC_LIB = \
55         $(top_builddir)/src/mm/cacao-gc/libgc.la
56 endif
57
58 noinst_LTLIBRARIES = \
59         libmm.la
60
61 libmm_la_SOURCES = \
62         $(GC_FILE) \
63         gc-common.h \
64         memory.c \
65         memory.h
66
67 libmm_la_LIBADD = \
68         $(GC_LIB)
69
70
71 ## Local variables:
72 ## mode: Makefile
73 ## indent-tabs-mode: t
74 ## c-basic-offset: 4
75 ## tab-width: 8
76 ## compile-command: "automake --add-missing"
77 ## End: