* Removed all Id tags.
[cacao.git] / src / vm / jit / i386 / Makefile.am
index 792b49f530ad382962f4df0b71494aed4ad610f4..22561291dac22cf1d5a299b0792aa353144eafb8 100644 (file)
@@ -1,37 +1,70 @@
-## Process this file with automake to produce Makefile.in
+## src/vm/jit/i386/Makefile.am
+##
+## 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.
+##
+## 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.
 
-# $Id: Makefile.am 1623 2004-11-30 14:18:19Z twisti $
 
-INCLUDES = -I$(top_srcdir)/src
+DIST_SUBDIRS = \
+       cygwin \
+       darwin \
+       freebsd \
+       linux
 
-EXTRA_DIST = \
-       asmpart.S \
-       bfd.h \
-       codegen.c \
-       codegen.h \
-       dis-asm.h \
-       disass.c \
-       disass.h \
-       emitfuncs.c \
-       emitfuncs.h \
-       machine-instr.h \
-       types.h
+SUBDIRS = $(OS_DIR)
+
+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)
 
-noinst_LIBRARIES = libarch.a
+LIBS =
 
-libarch_a_SOURCES = \
+noinst_HEADERS = \
+       arch.h \
+       machine-instr.h
+
+noinst_LTLIBRARIES = \
+       libarch.la
+
+if ENABLE_DISASSEMBLER
+DISASS_SOURCES = \
+       disass.c
+endif
+
+libarch_la_SOURCES = \
        asmpart.S \
        codegen.c \
-       dis-buf.c \
-       disass.c \
-       emitfuncs.c \
-       i386-dis.c
+       codegen.h \
+       $(DISASS_SOURCES) \
+       emit.c \
+       emit.h \
+       md.c \
+       patcher.c \
+       \
+       md-abi.c \
+       md-abi.h
 
-asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h
-       $(COMPILE) -c $<
+libarch_la_LIBADD = \
+       $(OS_DIR)/libmd.la
 
-offsets.h: $(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
+$(srcdir)/asmpart.S: $(top_builddir)/config.h
 
 
 ## Local variables: