Merge from subtype.
[cacao.git] / src / native / Makefile.am
1 ## src/native/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 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)/src
25
26 LIBS =
27
28 SUBDIRS = \
29         vm
30
31 if ENABLE_JVMTI
32 SUBDIRS += jvmti
33 JVMTI_LIB = jvmti/libjvmti.la
34 endif
35
36 noinst_LTLIBRARIES = libnative.la
37
38 if ENABLE_JNI
39 JNI_SOURCES = \
40         jni.cpp \
41         jni.hpp \
42         localref.cpp \
43         localref.hpp
44 endif
45
46 libnative_la_SOURCES = \
47         $(JNI_SOURCES) \
48         llni.c \
49         llni.h \
50         native.cpp \
51         native.hpp
52
53 libnative_la_LIBADD = \
54         vm/libnativevm.la \
55         $(JVMTI_LIB)
56
57
58 ## Local variables:
59 ## mode: Makefile
60 ## indent-tabs-mode: t
61 ## c-basic-offset: 4
62 ## tab-width: 8
63 ## compile-command: "automake --add-missing"
64 ## End: