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