Merged with tip.
[cacao.git] / src / vm / jit / alpha / Makefile.am
index db46f32da92e47c47d8ef2bb6f6f674f8577bcc6..d9ba3e434584689c3695ec832249380eed2b51aa 100644 (file)
@@ -1,27 +1,68 @@
-## Process this file with automake to produce Makefile.in
+## src/vm/jit/alpha/Makefile.am
+##
+## Copyright (C) 1996-2005, 2006, 2007, 2008
+## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
+##
+## 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 1054 2004-05-05 21:08:55Z stefan $
 
+DIST_SUBDIRS = \
+       freebsd \
+       linux
 
-INCLUDES = -I$(top_srcdir)/jit
+SUBDIRS = $(OS_DIR)
 
-EXTRA_DIST = \
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
+AM_CCASFLAGS = $(AM_CPPFLAGS)
+
+LIBS =
+
+noinst_HEADERS = \
+       arch.h \
+       \
+       md-asm.h \
+       md-atomic.hpp
+
+noinst_LTLIBRARIES = libarch.la
+
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+       disass.c
+endif
+
+libarch_la_SOURCES = \
        asmpart.S \
-       disass.c \
-       disass.h \
-       native-math.h \
-       machine-instr.h \
        codegen.c \
        codegen.h \
-       types.h \
-       sigcontext.h
-
-noinst_LIBRARIES = libarch.a
+       $(DISASS_SOURCES) \
+       emit.c \
+       patcher.c \
+       \
+       md-abi.c \
+       md-abi.h \
+       md-trap.h \
+       md.c \
+       md.h
 
-libarch_a_SOURCES = asmpart.S codegen.c disass.c
+libarch_la_LIBADD = \
+       $(OS_DIR)/libmd.la
 
-%.o: %.S
-       $(COMPILE) -c $<
+$(srcdir)/asmpart.S: $(top_builddir)/config.h
 
 
 ## Local variables: