## src/vm/jit/i386/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
+## Copyright (C) 1996-2005, 2006, 2007, 2008
+## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
##
## This file is part of CACAO.
##
##
## 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 4030 2006-01-01 18:20:33Z twisti $
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
-## Process this file with automake to produce Makefile.in
DIST_SUBDIRS = \
+ cygwin \
+ darwin \
freebsd \
- linux
+ linux \
+ solaris
SUBDIRS = $(OS_DIR)
-INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir) -I$(top_builddir)/src
-
-AM_CCASFLAGS = $(INCLUDES)
+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)
-BUILT_SOURCES = offsets.h
+if ENABLE_PIC_ASM
+AM_CCASFLAGS += -DENABLE_PIC_ASM
+endif
-CLEANFILES = offsets.h
+LIBS =
noinst_HEADERS = \
arch.h \
- icmd_uses_reg_res.inc \
- machine-instr.h \
- \
- md-abi.h \
- md-abi.inc \
- md-asm.h
+ md-atomic.hpp
+
+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 \
- dis-asm.h \
- disass.c \
- emitfuncs.c \
- emitfuncs.h \
- i386-dis.c \
- md.c \
+ $(DISASS_SOURCES) \
+ emit.c \
+ emit.h \
patcher.c \
- symcat.h \
\
- md-abi.c
+ md-abi.c \
+ md-abi.h \
+ md-stubs.hpp \
+ md-trap.h \
+ md.c \
+ md.h
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: