* src/vm/jit/powerpc/codegen.h (M_LNGMOVE): Added.
[cacao.git] / src / vm / jit / powerpc / Makefile.am
index 3e12219ea72932a0b1497d62bb88db1112fd1e14..620aad5391ec431afe4fe91886440563d530efd1 100644 (file)
@@ -1,36 +1,71 @@
+## src/vm/jit/powerpc/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 1635 2004-12-01 09:57:58Z twisti $
+DIST_SUBDIRS = \
+       darwin \
+       linux
 
-INCLUDES = -I$(top_srcdir)/src
+SUBDIRS = $(OS_DIR)
 
-EXTRA_DIST = \
-       asmpart.S \
-       codegen.c \
-       codegen.h \
-       dis-asm.h \
-       disass.c \
-       disass.h \
-       machine-instr.h \
-       ppc-dis.c \
-       ppc-opc.c
-       ppc.h \
-       types.h
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
+AM_CCASFLAGS = $(AM_CPPFLAGS)
 
-noinst_LIBRARIES = libarch.a
+BUILT_SOURCES = offsets.h
 
-libarch_a_SOURCES = \
+CLEANFILES = offsets.h
+
+noinst_HEADERS = \
+       arch.h \
+       machine-instr.h
+
+noinst_LTLIBRARIES = libarch.la
+
+libarch_la_SOURCES = \
        asmpart.S \
        codegen.c \
+       codegen.h \
        disass.c \
-       ppc-dis.c \
-       ppc-opc.c
+       md.c \
+       patcher.c
+
+libarch_la_LIBADD = \
+       $(OS_DIR)/libmd.la
 
-asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
-       $(COMPILE) -c $<
+$(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h
 
-offsets.h: $(top_srcdir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h
-       $(top_srcdir)/src/vm/jit/tools/genoffsets > offsets.h
+offsets.h: $(top_builddir)/src/vm/jit/tools/genoffsets $(top_builddir)/config.h
+       $(top_builddir)/src/vm/jit/tools/genoffsets > offsets.h
 
 
 ## Local variables: