71f95d8f59b05ecf48772bc97d65d8ac378d4e53
[cacao.git] / src / native / vm / Makefile.am
1 ## src/native/vm/Makefile.am
2 ##
3 ## Copyright (C) 1996-2005, 2006, 2007 R. Grafl, A. Krall, C. Kruegel,
4 ## C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5 ## E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6 ## J. Wenninger, Institut f. Computersprachen - TU Wien
7 ##
8 ## This file is part of CACAO.
9 ##
10 ## This program is free software; you can redistribute it and/or
11 ## modify it under the terms of the GNU General Public License as
12 ## published by the Free Software Foundation; either version 2, or (at
13 ## your option) any later version.
14 ##
15 ## This program is distributed in the hope that it will be useful, but
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 ## General Public License for more details.
19 ##
20 ## You should have received a copy of the GNU General Public License
21 ## along with this program; if not, write to the Free Software
22 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 ## 02110-1301, USA.
24 ##
25 ## $Id: Makefile.am 5558 2006-09-28 19:33:24Z edwin $
26
27 ## Process this file with automake to produce Makefile.in
28
29 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
30
31 LIBS =
32
33 DIST_SUBDIRS = \
34         cldc1.1 \
35         gnu
36
37 if WITH_CLASSPATH_CLDC1_1
38 SUBDIRS = \
39         cldc1.1
40
41 NATIVEVM_LIB = \
42         cldc1.1/libnativevmcore.la
43 endif
44
45 if WITH_CLASSPATH_GNU
46 SUBDIRS = \
47         gnu
48
49 NATIVEVM_LIB = \
50         gnu/libnativevmcore.la
51 endif
52
53 if ENABLE_JAVASE
54 CLASSLOADER_SOURCES = \
55         java_lang_ClassLoader.c \
56         java_lang_ClassLoader.h
57 endif
58
59 noinst_LTLIBRARIES = \
60         libnativevm.la
61
62 libnativevm_la_SOURCES = \
63         java_lang_Class.c \
64         java_lang_Class.h \
65         $(CLASSLOADER_SOURCES) \
66         java_lang_Object.c \
67         java_lang_Object.h \
68         java_lang_Runtime.c \
69         java_lang_Runtime.h \
70         java_lang_Thread.c \
71         java_lang_Thread.h
72
73 libnativevm_la_LIBADD = \
74         $(NATIVEVM_LIB)
75
76
77 ## Local variables:
78 ## mode: Makefile
79 ## indent-tabs-mode: t
80 ## c-basic-offset: 4
81 ## tab-width: 8
82 ## compile-command: "automake --add-missing"
83 ## End: