+## src/native/tools/Makefile.am
+##
+## Copyright (C) 1996-2005, 2006 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.
+##
+## Contact: cacao@cacaojvm.org
+##
+## Authors: Christian Thalinger
+##
+## Changes:
+##
+## $Id: Makefile.am 4357 2006-01-22 23:33:38Z twisti $
+
## Process this file with automake to produce Makefile.in
-# $Id: Makefile.am 1622 2004-11-30 13:18:52Z twisti $
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_builddir)/src
-if USE_THREADS
+if DISABLE_GC
if NATIVE_THREADS
-THREAD_LIBRARY = $(top_srcdir)/src/threads/native/libthreads.a
+GC_LIB = $(top_builddir)/src/boehm-gc/libgc.la
else
-THREAD_LIBRARY = $(top_srcdir)/src/threads/green/libthreads.a
+GC_LIB =
endif
else
-THREAD_LIBRARY =
+GC_LIB = $(top_builddir)/src/boehm-gc/libgc.la
endif
noinst_PROGRAMS = gennativetable
gennativetable_SOURCES = gennativetable.c
gennativetable_LDADD = \
- $(top_srcdir)/src/cacaoh/headers.o \
- $(THREAD_LIBRARY) \
- $(top_srcdir)/src/mm/libmm.a \
- $(top_srcdir)/src/vm/libvm.a \
- $(top_srcdir)/src/toolbox/libtoolbox.a \
- $(top_srcdir)/src/boehm-gc/.libs/libgc.a \
- $(top_srcdir)/src/classpath/native/jni/java-lang/.libs/libjavalang.a
-
-gennativetable_DEPENDENCIES = \
- $(top_srcdir)/src/cacaoh/headers.o \
- $(THREAD_LIBRARY) \
- $(top_srcdir)/src/mm/libmm.a \
- $(top_srcdir)/src/vm/libvm.a \
- $(top_srcdir)/src/toolbox/libtoolbox.a \
- $(top_srcdir)/src/boehm-gc/.libs/libgc.a \
- $(top_srcdir)/src/classpath/native/jni/java-lang/.libs/libjavalang.a
+ $(top_builddir)/src/cacaoh/libcacaoh.la \
+ $(top_builddir)/src/fdlibm/libfdlibm.la \
+ $(GC_LIB)
+
+gennativetable_DEPENDENCIES = $(gennativetable_LDADD)
## Local variables: