* Merged in new trap code (twisti-branch).
[cacao.git] / src / vm / jit / i386 / Makefile.am
1 ## src/vm/jit/i386/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007, 2008
4 ## CACAOVM - Verein zur Foerderung der freien virtuellen Maschine CACAO
5 ##
6 ## This file is part of CACAO.
7 ##
8 ## This program is free software; you can redistribute it and/or
9 ## modify it under the terms of the GNU General Public License as
10 ## published by the Free Software Foundation; either version 2, or (at
11 ## your option) any later version.
12 ##
13 ## This program is distributed in the hope that it will be useful, but
14 ## WITHOUT ANY WARRANTY; without even the implied warranty of
15 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 ## General Public License for more details.
17 ##
18 ## You should have received a copy of the GNU General Public License
19 ## along with this program; if not, write to the Free Software
20 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 ## 02110-1301, USA.
22
23
24 DIST_SUBDIRS = \
25         cygwin \
26         darwin \
27         freebsd \
28         linux
29
30 SUBDIRS = $(OS_DIR)
31
32 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR)
33 AM_CCASFLAGS = $(AM_CPPFLAGS)
34
35 LIBS =
36
37 noinst_HEADERS = \
38         arch.h \
39         machine-instr.h
40
41 noinst_LTLIBRARIES = \
42         libarch.la
43
44 if ENABLE_DISASSEMBLER
45 DISASS_SOURCES = \
46         disass.c
47 endif
48
49 libarch_la_SOURCES = \
50         asmpart.S \
51         codegen.c \
52         codegen.h \
53         $(DISASS_SOURCES) \
54         emit.c \
55         emit.h \
56         patcher.c \
57         \
58         md-abi.c \
59         md-abi.h \
60         md-trap.h \
61         md.c \
62         md.h
63
64 libarch_la_LIBADD = \
65         $(OS_DIR)/libmd.la
66
67 $(srcdir)/asmpart.S: $(top_builddir)/config.h
68
69
70 ## Local variables:
71 ## mode: Makefile
72 ## indent-tabs-mode: t
73 ## c-basic-offset: 4
74 ## tab-width: 8
75 ## compile-command: "automake --add-missing"
76 ## End: