* Removed all Id tags.
[cacao.git] / src / vm / jit / i386 / Makefile.am
index 69eaf846fa4e81b31e4edbfb865762698b28c02c..22561291dac22cf1d5a299b0792aa353144eafb8 100644 (file)
@@ -1,6 +1,6 @@
 ## src/vm/jit/i386/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
 
 DIST_SUBDIRS = \
+       cygwin \
+       darwin \
        freebsd \
        linux
 
 SUBDIRS = $(OS_DIR)
 
-AM_CPPFLAGS = -I$(top_srcdir)/src -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)
 
 LIBS =
 
-BUILT_SOURCES = offsets.h
-
-CLEANFILES = offsets.h
-
 noinst_HEADERS = \
        arch.h \
-       icmd_uses_reg_res.inc \
-       machine-instr.h \
-       \
-       md-asm.h
+       machine-instr.h
 
-noinst_LTLIBRARIES = libarch.la
+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 \
        md.c \
        patcher.c \
        \
@@ -72,10 +64,7 @@ libarch_la_SOURCES = \
 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: