## src/vm/jit/powerpc/Makefile.am
##
-## Copyright (C) 1996-2005 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
+## 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.
##
##
## 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., 59 Temple Place - Suite 330, Boston, MA
-## 02111-1307, USA.
-##
-## Contact: cacao@complang.tuwien.ac.at
-##
-## Authors: Christian Thalinger
-##
-## Changes:
-##
-## $Id: Makefile.am 3670 2005-11-15 00:26:07Z twisti $
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
-## Process this file with automake to produce Makefile.in
DIST_SUBDIRS = \
darwin \
- linux
+ linux \
+ netbsd
SUBDIRS = $(OS_DIR)
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/@OS_DIR@ -I$(top_builddir) -I$(top_builddir)/src
+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)
-AM_CCASFLAGS = $(INCLUDES)
-
-BUILT_SOURCES = offsets.h
-
-CLEANFILES = offsets.h
+LIBS =
noinst_HEADERS = \
arch.h \
machine-instr.h
-noinst_LTLIBRARIES = libarch.la
+noinst_LTLIBRARIES = \
+ libarch.la
+
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+ disass.c
+endif
libarch_la_SOURCES = \
- asmoffsets.h \
asmpart.S \
codegen.c \
codegen.h \
- dis-asm.h \
- disass.c \
- disass.h \
+ $(DISASS_SOURCES) \
+ emit.c \
md.c \
- patcher.c \
- ppc-dis.c \
- ppc-opc.c \
- ppc.h
+ patcher.c
libarch_la_LIBADD = \
$(OS_DIR)/libmd.la
-$(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h
-
-offsets.h: $(top_builddir)/src/vm/jit/tools/genoffsets $(top_builddir)/config.h
- $(top_builddir)/src/vm/jit/tools/genoffsets > offsets.h
+$(srcdir)/asmpart.S: $(top_builddir)/config.h
## Local variables: