3a0f1302f552350e1ddc68eb6b7d43d46f4bb698
[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 R. Grafl, A. Krall, C. Kruegel,
4 ## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 ## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 ## J. Wenninger, Institut f. Computersprachen - TU Wien
7 ##
8 ## This file is part of CACAO.
9 ##
10 ## This program is free software; you can redistribute it and/or
11 ## modify it under the terms of the GNU General Public License as
12 ## published by the Free Software Foundation; either version 2, or (at
13 ## your option) any later version.
14 ##
15 ## This program is distributed in the hope that it will be useful, but
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ## General Public License for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License
21 ## along with this program; if not, write to the Free Software
22 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 ## 02110-1301, USA.
24 ##
25 ## $Id: Makefile.am 7294 2007-02-06 09:11:36Z twisti $
26
27 ## Process this file with automake to produce Makefile.in
28
29 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_builddir) -I$(top_builddir)/src -I$(top_builddir)/src
30 AM_CCASFLAGS = $(AM_CPPFLAGS) $(AM_LDFLAGS)
31
32 LIBS =
33
34 DIST_SUBDIRS = \
35         freebsd \
36         linux
37
38 SUBDIRS = $(OS_DIR)
39
40 BUILT_SOURCES = \
41         offsets.h
42
43 CLEANFILES = \
44         offsets.h
45
46 noinst_HEADERS = \
47         arch.h \
48         machine-instr.h \
49         \
50         md-asm.h
51
52 noinst_LTLIBRARIES = libarch.la
53
54 if ENABLE_DISASSEMBLER
55 DISASS_SOURCES = \
56         disass.c
57 endif
58
59 libarch_la_SOURCES = \
60         asmpart.S \
61         codegen.c \
62         codegen.h \
63         $(DISASS_SOURCES) \
64         emit.c \
65         emit.h \
66         patcher.c \
67         \
68         md-abi.c \
69         md-abi.h \
70         md.c
71
72 libarch_la_LIBADD = \
73         $(OS_DIR)/libmd.la
74
75 $(srcdir)/asmpart.S: $(top_builddir)/config.h offsets.h
76
77 offsets.h: $(top_builddir)/src/vm/jit/tools/genoffsets $(top_builddir)/config.h
78         $(top_builddir)/src/vm/jit/tools/genoffsets > offsets.h
79
80
81 ## Local variables:
82 ## mode: Makefile
83 ## indent-tabs-mode: t
84 ## c-basic-offset: 4
85 ## tab-width: 8
86 ## compile-command: "automake --add-missing"
87 ## End: