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