+## src/vm/jit/x86_64/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
+##
+## 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., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+##
+## Contact: cacao@complang.tuwien.ac.at
+##
+## Authors: Christian Thalinger
+##
+## Changes:
+##
+## $Id: Makefile.am 1735 2004-12-07 14:33:27Z twisti $
+
## Process this file with automake to produce Makefile.in
-# $Id: Makefile.am 1621 2004-11-30 13:06:55Z twisti $
+INCLUDES = -I$(top_srcdir)/src
+CLEANFILES = offsets.h
-INCLUDES = -I$(top_srcdir)/src
+noinst_HEADERS = \
+ arch.h \
+ machine-instr.h \
+ types.h
+
+noinst_LTLIBRARIES = libarch.la
-EXTRA_DIST = \
+libarch_la_SOURCES = \
+ ansidecl.h \
+ asmoffsets.h \
asmpart.S \
bfd.h \
codegen.c \
emitfuncs.c \
emitfuncs.h \
i386-dis.c \
- types.h
+ symcat.h
-noinst_LIBRARIES = libarch.a
-
-libarch_a_SOURCES = \
- asmpart.S \
- codegen.c \
- dis-buf.c \
- disass.c \
- emitfuncs.c \
- i386-dis.c
+asmpart.S: $(top_srcdir)/config.h offsets.h
-asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
- $(COMPILE) -c $<
+.S.lo:
+ $(LIBTOOL) --mode=compile $(COMPILE) -c $<
-offsets.h: $(top_srcdir)/config.h $(top_srcdir)/src/vm/global.h $(top_srcdir)/src/threads/native/threads.h
+offsets.h: $(top_srcdir)/src/vm/jit/tools/genoffsets $(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