* configure.ac: Default to AC_ENABLE_SHARED and AC_DISABLE_STATIC.
[cacao.git] / src / vm / jit / x86_64 / Makefile.am
index 64768349fbeb93378f50a82eac55ff701f143bef..34681d93d3e60e5fbbe6846463f5b71da836bc2c 100644 (file)
@@ -1,30 +1,70 @@
+## src/vm/jit/x86_64/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 559 2003-11-02 23:20:06Z twisti $
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
+AM_CCASFLAGS = $(AM_CPPFLAGS)
+
+BUILT_SOURCES = offsets.h
+
+CLEANFILES = offsets.h
 
+noinst_HEADERS = \
+       arch.h \
+       machine-instr.h \
+       \
+       md-asm.h
 
-INCLUDES = -I$(top_srcdir)/jit
+noinst_LTLIBRARIES = libarch.la
 
-EXTRA_DIST = \
+libarch_la_SOURCES = \
        asmpart.S \
-       disass.c \
-       disass.h \
-       native-math.h \
        codegen.c \
        codegen.h \
-       methodtable.c \
-       methodtable.h \
-       types.h \
-       threads.h \
-       dis-asm.h \
-       bfd.h
-
-noinst_LIBRARIES = libarch.a
+       disass.c \
+       emitfuncs.c \
+       emitfuncs.h \
+       patcher.c \
+       \
+       md-abi.c \
+       md-abi.h \
+       md.c \
+       md.h
 
-libarch_a_SOURCES = asmpart.S codegen.c disass.c i386-dis.c dis-buf.c methodtable.c
+$(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h
 
-%.o: %.S
-       $(COMPILE) -c $<
+offsets.h: $(top_builddir)/src/vm/jit/tools/genoffsets $(top_builddir)/config.h
+       $(top_builddir)/src/vm/jit/tools/genoffsets > offsets.h
 
 
 ## Local variables: