New source tree.
[cacao.git] / src / native / vm / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # $Id: Makefile.am 1621 2004-11-30 13:06:55Z twisti $
4
5 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
6
7 noinst_LIBRARIES = libnativevm.a
8
9 libnativevm_a_SOURCES = \
10         Constructor.c \
11         Field.c \
12         Method.c \
13         Proxy.c \
14         VMClass.c \
15         VMClassLoader.c \
16         VMObject.c \
17         VMRuntime.c \
18         VMSecurityManager.c \
19         VMString.c \
20         VMSystem.c \
21         VMThread.c \
22         VMThrowable.c
23
24 #libgtk_a_SOURCES = \
25         GdkGraphics.c \
26         GdkPixbufDecoder.c \
27         GtkComponentPeer.c \
28         GtkFileDialogPeer.c \
29         GtkLabelPeer.c \
30         GtkScrollPanePeer.c
31
32 all: libnativevm.a implementednatives
33
34 implementednatives:
35         echo "" > implementednatives.data
36         grep "JNICALL Java_" *.c | perl -p -i -e "s/.*JNICALL\s//" | perl -p -i -e"s/\(.*//"  | ( \
37                 while read line; do \
38                         grep $$line $(top_srcdir)/src/native/include/*.h > /dev/null; \
39                         if test $$? == 0; then \
40                                 echo $$line >> implementednatives.data; \
41                         fi ; \
42                 done )
43
44 ## Local variables:
45 ## mode: Makefile
46 ## indent-tabs-mode: t
47 ## c-basic-offset: 4
48 ## tab-width: 8
49 ## compile-command: "automake --add-missing"
50 ## End: