X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fmm%2FMakefile.am;h=119f8038c47ba275885ce26d3cb6006a7c613713;hb=738c81f2bb922a48794fd170a0d40d4c0ca5c363;hp=d106c284e2663a54c738fa13a9af7c8ad877eede;hpb=6ddfab73461ffb2b2df47cb3ae4280f98f75fa13;p=cacao.git diff --git a/src/mm/Makefile.am b/src/mm/Makefile.am index d106c284e..119f8038c 100644 --- a/src/mm/Makefile.am +++ b/src/mm/Makefile.am @@ -1,12 +1,80 @@ -EXTRA_LIBRARIES = libboehm.a -noinst_LIBRARIES = libmm_new.a libmm_old.a @BOEHM_LIB@ - -libmm_new_a_SOURCES = allocator2.c allocator.h \ - bitmap2.c bitmap2.h \ - heap2.c \ - lifespan.c lifespan.h \ - mm.h -libmm_old_a_SOURCES = heap.old.c -libboehm_a_SOURCES = boehm.c - -INCLUDES=-I$(top_srcdir) -I$(top_srcdir)/@SYSDEP_DIR@ +## src/mm/Makefile.am +## +## Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel, +## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring, +## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, +## J. Wenninger, Institut f. Computersprachen - TU Wien +## +## This file is part of CACAO. +## +## This program is free software; you can redistribute it and/or +## modify it under the terms of the GNU General Public License as +## published by the Free Software Foundation; either version 2, or (at +## your option) any later version. +## +## This program is distributed in the hope that it will be useful, but +## WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +## General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program; if not, write to the Free Software +## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +## 02110-1301, USA. +## +## $Id: Makefile.am 7289 2007-02-06 08:47:05Z twisti $ + +## Process this file with automake to produce Makefile.in + +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 + +LIBS = + +DIST_SUBDIRS = \ + boehm-gc \ + cacao-gc + +if DISABLE_GC +GC_FILE = \ + nogc.c +endif + +if ENABLE_GC_BOEHM +SUBDIRS = \ + boehm-gc + +GC_FILE = \ + boehm.c + +GC_LIB = \ + $(top_builddir)/src/mm/boehm-gc/libgc.la +endif + +if ENABLE_GC_CACAO +SUBDIRS = \ + cacao-gc + +GC_LIB = \ + $(top_builddir)/src/mm/cacao-gc/libgc.la +endif + +noinst_LTLIBRARIES = \ + libmm.la + +libmm_la_SOURCES = \ + $(GC_FILE) \ + gc-common.h \ + memory.c \ + memory.h + +libmm_la_LIBADD = \ + $(GC_LIB) + + +## Local variables: +## mode: Makefile +## indent-tabs-mode: t +## c-basic-offset: 4 +## tab-width: 8 +## compile-command: "automake --add-missing" +## End: