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