1 ## src/native/include/Makefile.am
3 ## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4 ## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5 ## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6 ## Institut f. Computersprachen - TU Wien
8 ## This file is part of CACAO.
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.
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.
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., 59 Temple Place - Suite 330, Boston, MA
25 ## Contact: cacao@complang.tuwien.ac.at
27 ## Authors: Christian Thalinger
31 ## $Id: Makefile.am 3280 2005-09-21 23:10:16Z twisti $
33 ## Process this file with automake to produce Makefile.in
35 NO_GEN_HEADER_FILES = \
36 java_lang_ClassLoader.h \
37 java_lang_Cloneable.h \
41 java_lang_ThreadGroup.h \
42 java_lang_Throwable.h \
43 java_lang_VMObject.h \
47 java_util_Properties.h \
48 java_io_InputStream.h \
49 java_io_PrintStream.h \
51 gnu_classpath_Pointer.h \
52 gnu_classpath_Pointer32.h \
53 gnu_classpath_Pointer64.h \
57 java_lang_Character.h \
65 java_lang_StackTraceElement.h \
66 java_lang_VMThrowable.h \
67 java_lang_reflect_Constructor.h \
68 java_lang_reflect_Field.h \
69 java_lang_reflect_Method.h \
71 java_nio_DirectByteBufferImpl.h \
72 java_security_ProtectionDomain.h \
75 ADDITIONAL_IMPLEMENTED_VM_CLASSES_HEADER_FILES = \
76 gnu_classpath_VMStackWalker.h \
77 gnu_classpath_VMSystemProperties.h \
79 java_lang_VMClassLoader.h \
80 java_lang_VMRuntime.h \
81 java_lang_VMString.h \
82 java_lang_VMSystem.h \
83 java_lang_reflect_VMProxy.h \
84 java_security_VMAccessController.h
86 ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES = \
87 java_net_DatagramPacket.h \
88 java_net_InetAddress.h \
90 gnu_java_net_PlainDatagramSocketImpl.h \
91 gnu_java_net_PlainSocketImpl.h \
92 gnu_java_nio_PipeImpl.h \
93 gnu_java_nio_channels_FileChannelImpl.h \
94 gnu_java_nio_charset_iconv_IconvEncoder.h \
95 gnu_java_nio_charset_iconv_IconvDecoder.h \
96 java_lang_VMProcess.h \
97 java_net_SocketImpl.h \
98 java_nio_MappedByteBufferImpl.h \
99 java_nio_channels_spi_SelectorProvider.h
102 $(GEN_HEADER_FILES) \
103 $(ADDITIONAL_IMPLEMENTED_VM_CLASSES_HEADER_FILES) \
104 $(ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES)
107 $(NO_GEN_HEADER_FILES)
110 $(GEN_HEADER_FILES) \
111 $(ADDITIONAL_IMPLEMENTED_VM_CLASSES_HEADER_FILES)
115 $(ADDITIONAL_STATIC_CLASSPATH_HEADER_FILES)
118 CACAOH = $(top_builddir)/src/cacaoh/cacaoh
120 if WITH_EXTERNAL_CLASSPATH
121 CLASSPATH = $(top_builddir)/src/lib/vm.zip:$(EXTERNAL_CLASSPATH_PREFIX)/share/classpath/glibj.zip
123 CLASSPATH = $(top_builddir)/src/classpath/lib/rt.jar
126 all: $(DO_HEADER_FILES)
128 $(NO_GEN_HEADER_FILES):
129 @class=`echo $@ | sed -e 's/\.h$$//' -e 's/_/\./g'`; \
130 echo "$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class"; \
131 $(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class
134 @class=`echo $@ | sed -e 's/\.h$$//' -e 's/_/\./g'`; \
135 echo "$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class"; \
136 $(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class
141 ## indent-tabs-mode: t
144 ## compile-command: "automake --add-missing"