* Removed all Id tags.
[cacao.git] / src / vm / jit / x86_64 / Makefile.am
index 89dbd326b6e58064845bc48509480e1d8aa932c5..528e9d14bcf487543a85f49c60614f180c88f02d 100644 (file)
@@ -1,6 +1,6 @@
 ## src/vm/jit/x86_64/Makefile.am
 ##
-## Copyright (C) 1996-2005, 2006 R. Grafl, A. Krall, C. Kruegel,
+## 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
 ## 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 4563 2006-03-06 13:03:05Z twisti $
 
-## Process this file with automake to produce Makefile.in
 
-AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src
-AM_CCASFLAGS = $(AM_CPPFLAGS)
+AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_builddir)/src
+AM_CCASFLAGS = $(AM_CPPFLAGS) $(AM_LDFLAGS)
 
 LIBS =
 
-BUILT_SOURCES = offsets.h
+DIST_SUBDIRS = \
+       freebsd \
+       linux
 
-CLEANFILES = offsets.h
+SUBDIRS = $(OS_DIR)
 
 noinst_HEADERS = \
        arch.h \
@@ -49,24 +42,28 @@ noinst_HEADERS = \
 
 noinst_LTLIBRARIES = libarch.la
 
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+       disass.c
+endif
+
 libarch_la_SOURCES = \
        asmpart.S \
        codegen.c \
        codegen.h \
-       disass.c \
-       emitfuncs.c \
-       emitfuncs.h \
+       $(DISASS_SOURCES) \
+       emit.c \
+       emit.h \
        patcher.c \
        \
        md-abi.c \
        md-abi.h \
-       md.c \
-       md.h
+       md.c
 
-$(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h
+libarch_la_LIBADD = \
+       $(OS_DIR)/libmd.la
 
-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: