* src/vm/jit/intrp/Makefile.am ($(BUILT_SOURCES)): Use $(SHELL) to
[cacao.git] / src / vm / jit / intrp / Makefile.am
1 ## src/vm/jit/intrp/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 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_CFLAGS = $(INTRP_CFLAGS)
25 AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR) -I$(top_srcdir)/src/vm/jit/$(ARCH_DIR)/$(OS_DIR) -I$(top_builddir) -I$(top_builddir)/src
26
27 LIBS =
28
29 EXTRA_DIST = \
30         java.vmg \
31         gray.fs \
32         prims2x.fs \
33         vmgenx \
34         \
35         $(BUILT_SOURCES)
36
37 noinst_HEADERS = \
38         engine.c
39
40 BUILT_SOURCES = \
41         java-disasm.i \
42         java-gen.i \
43         java-labels.i \
44         java-names.i \
45         java-peephole.i \
46         java-profile.i \
47         java-superend.i \
48         java-vm.i
49
50 CLEANFILES = \
51         $(BUILT_SOURCES)
52
53 noinst_LTLIBRARIES = libintrp.la
54
55 libintrp_la_SOURCES = \
56         asmpart.c \
57         codegen.c \
58         codegen.h \
59         disasm.c \
60         disass.c \
61         dynamic-super.c \
62         engine1.c \
63         engine2.c \
64         intrp.h \
65         md.c \
66         patcher.c \
67         peephole.c
68
69 $(BUILT_SOURCES): $(srcdir)/java.vmg $(srcdir)/prims2x.fs $(srcdir)/vmgenx
70         $(SHELL) $(srcdir)/vmgenx $(srcdir)/java.vmg && touch java-peephole.i
71         true #GFORTHPATH=.:/nfs/nfstmp/anton/cacao/:/usr/lib/gforth/site-forth:/usr/share/gforth/site-forth:/usr/lib/gforth/0.6.2:/usr/share/gforth/0.6.2 $(srcdir)/vmgenx $(srcdir)/java.vmg && touch java-peephole.i
72
73
74 ## Local variables:
75 ## mode: Makefile
76 ## indent-tabs-mode: t
77 ## c-basic-offset: 4
78 ## tab-width: 8
79 ## compile-command: "automake --add-missing"
80 ## End: