Merged with tip.
[cacao.git] / src / vm / jit / x86_64 / Makefile.am
1 ## src/vm/jit/x86_64/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 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_builddir)/src
25 AM_CCASFLAGS = $(AM_CPPFLAGS) $(AM_LDFLAGS)
26
27 LIBS =
28
29 DIST_SUBDIRS = \
30         freebsd \
31         linux
32
33 SUBDIRS = $(OS_DIR)
34
35 noinst_HEADERS = \
36         arch.h \
37         \
38         md-asm.h \
39         md-atomic.hpp
40
41 noinst_LTLIBRARIES = libarch.la
42
43 if ENABLE_DISASSEMBLER
44 DISASS_SOURCES = \
45         disass.c
46 endif
47
48 libarch_la_SOURCES = \
49         asmpart.S \
50         codegen.c \
51         codegen.h \
52         $(DISASS_SOURCES) \
53         emit.c \
54         emit.h \
55         patcher.c \
56         \
57         md-abi.c \
58         md-abi.h \
59         md-trap.h \
60         md.c \
61         md.h
62
63 libarch_la_LIBADD = \
64         $(OS_DIR)/libmd.la
65
66 $(srcdir)/asmpart.S: $(top_builddir)/config.h
67
68
69 ## Local variables:
70 ## mode: Makefile
71 ## indent-tabs-mode: t
72 ## c-basic-offset: 4
73 ## tab-width: 8
74 ## compile-command: "automake --add-missing"
75 ## End: