* Removed all Id tags.
[cacao.git] / src / vm / jit / mips / Makefile.am
index 5b8bc9a52e0aa5ff1323cce6f756261a64e49bd7..c5fdfc9b54ccd4ab2b4930bea997b14682b4d26b 100644 (file)
@@ -1,29 +1,70 @@
-## Process this file with automake to produce Makefile.in
+## src/vm/jit/mips/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 1280 2004-07-05 22:01:50Z twisti $
 
+DIST_SUBDIRS = \
+       irix \
+       linux \
+       uclinux
 
-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 \
+       machine-instr.h \
+       \
+       md-asm.h
+
+noinst_LTLIBRARIES = \
+       libarch.la
+
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+       disass.c
+endif
+
+libarch_la_SOURCES = \
        asmpart.S \
-       disass.c \
-       disass.h \
        codegen.c \
        codegen.h \
-       types.h
-
-noinst_LIBRARIES = libarch.a
-
-libarch_a_SOURCES = asmpart.S codegen.c disass.c
+       $(DISASS_SOURCES) \
+       emit.c \
+       patcher.c \
+       \
+       md-abi.c \
+       md-abi.h \
+       md.c
 
-asmpart.o: asmpart.S offsets.h
-       $(COMPILE) -E asmpart.S > asmpart.s
-       $(AS) -64 -KPIC -O -o asmpart.o asmpart.s
+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: