X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fvm%2Fjit%2Fi386%2FMakefile.am;h=9a596a47eda6e3e952241e0a5aacd74a05578c95;hb=31aa73fd8b935293a07d983f92fdeabe67fefc2a;hp=0cae393bd708506765923d124eb59de6d4760005;hpb=f7e14b28803b27a60b3747f3577fb717b7f23dce;p=cacao.git diff --git a/src/vm/jit/i386/Makefile.am b/src/vm/jit/i386/Makefile.am index 0cae393bd..9a596a47e 100644 --- a/src/vm/jit/i386/Makefile.am +++ b/src/vm/jit/i386/Makefile.am @@ -1,40 +1,76 @@ -## Process this file with automake to produce Makefile.in +## src/vm/jit/i386/Makefile.am +## +## Copyright (C) 1996-2005, 2006, 2007, 2008 +## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO +## +## 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 1350 2004-07-22 22:38:12Z twisti $ +DIST_SUBDIRS = \ + cygwin \ + darwin \ + freebsd \ + linux \ + solaris -INCLUDES = -I$(top_srcdir) +SUBDIRS = $(OS_DIR) -EXTRA_DIST = \ +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) + +if ENABLE_PIC_ASM +AM_CCASFLAGS += -DENABLE_PIC_ASM +endif + +LIBS = + +noinst_HEADERS = \ + arch.h \ + md-atomic.hpp + +noinst_LTLIBRARIES = \ + libarch.la + +if ENABLE_DISASSEMBLER +DISASS_SOURCES = \ + disass.c +endif + +libarch_la_SOURCES = \ asmpart.S \ - bfd.h \ codegen.c \ codegen.h \ - dis-asm.h \ - disass.c \ - disass.h \ - emitfuncs.c \ - emitfuncs.h \ - machine-instr.h \ - types.h + $(DISASS_SOURCES) \ + emit.c \ + emit.h \ + patcher.c \ + \ + md-abi.c \ + md-abi.h \ + md-stubs.hpp \ + md-trap.h \ + md.c \ + md.h -noinst_LIBRARIES = libarch.a +libarch_la_LIBADD = \ + $(OS_DIR)/libmd.la -libarch_a_SOURCES = \ - asmpart.S \ - codegen.c \ - dis-buf.c \ - disass.c \ - emitfuncs.c \ - i386-dis.c - -asmpart.o: asmpart.S $(top_srcdir)/config.h offsets.h - $(COMPILE) -c $< - -#offsets.h: $(top_srcdir)/genoffsets $(top_srcdir)/config.h -offsets.h: $(top_srcdir)/config.h $(top_srcdir)/global.h $(top_srcdir)/threads/thread.h - $(COMPILE) -o $(top_srcdir)/genoffsets $(top_srcdir)/genoffsets.c - $(top_srcdir)/genoffsets > offsets.h +$(srcdir)/asmpart.S: $(top_builddir)/config.h ## Local variables: