Merged revisions 8245-8298 via svnmerge from
[cacao.git] / src / vm / jit / alpha / Makefile.am
index 1484628df6cd5e6e33179d8d09bf580cba6f59c9..ae5f78ef3a6c10319d496fb21508ba24133afaab 100644 (file)
@@ -1,30 +1,72 @@
+## src/vm/jit/alpha/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 8274 2007-08-08 15:58:17Z twisti $
+
 ## Process this file with automake to produce Makefile.in
 
-# $Id: Makefile.am 1467 2004-11-08 13:13:00Z twisti $
+DIST_SUBDIRS = \
+       freebsd \
+       linux
 
+SUBDIRS = $(OS_DIR)
 
-INCLUDES = -I$(top_srcdir)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
+AM_CCASFLAGS = $(AM_CPPFLAGS)
 
-EXTRA_DIST = \
-       asmpart.S \
-       disass.c \
-       disass.h \
-       native-math.h \
+LIBS =
+
+noinst_HEADERS = \
+       arch.h \
        machine-instr.h \
-       codegen.c \
-       codegen.h \
-       types.h
+       \
+       md-asm.h
 
-noinst_LIBRARIES = libarch.a
+noinst_LTLIBRARIES = libarch.la
 
-libarch_a_SOURCES = asmpart.S codegen.c disass.c
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+       disass.c
+endif
+
+libarch_la_SOURCES = \
+       asmpart.S \
+       codegen.c \
+       codegen.h \
+       $(DISASS_SOURCES) \
+       emit.c \
+       patcher.c \
+       \
+       md-abi.c \
+       md-abi.h \
+       md.c \
+       md.h
 
-asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
-       $(COMPILE) -c $<
+libarch_la_LIBADD = \
+       $(OS_DIR)/libmd.la
 
-offsets.h: $(top_srcdir)/config.h $(top_srcdir)/global.h $(top_srcdir)/threads/thread.h
-       $(COMPILE) -o $(top_srcdir)/genoffsets $(top_srcdir)/genoffsets.c
-       $(top_srcdir)/genoffsets > offsets.h
+$(srcdir)/asmpart.S: $(top_builddir)/config.h
 
 
 ## Local variables: