+## 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 1420 2004-10-27 16:05:14Z twisti $
+DIST_SUBDIRS = \
+ darwin \
+ linux
+
+SUBDIRS = $(OS_DIR)
+
+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)
+BUILT_SOURCES = offsets.h
-INCLUDES = -I$(top_srcdir)
+CLEANFILES = offsets.h
-EXTRA_DIST = \
+noinst_HEADERS = \
+ arch.h \
+ machine-instr.h
+
+noinst_LTLIBRARIES = libarch.la
+
+libarch_la_SOURCES = \
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
-
-noinst_LIBRARIES = libarch.a
+ md.c \
+ patcher.c
-libarch_a_SOURCES = asmpart.S codegen.c disass.c ppc-dis.c ppc-opc.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)/global.h $(top_srcdir)/threads/thread.h
- $(COMPILE) -o $(top_srcdir)/genoffsets $(top_srcdir)/genoffsets.c
- $(top_srcdir)/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: