GNU header update.
[cacao.git] / src / native / vm / Makefile.am
index 6d58e90a5e73526a9aaa3832211bf0870fd2577c..561afa437492c5bcb14d5293274d5653a68df0db 100644 (file)
@@ -1 +1,75 @@
-EXTRA_DIST = AccessController.c Adler32.c Array.c BigInteger.c CRC32.c Class.c ClassLoader.c ClassLoader_NativeLibrary.c Compiler.c Constructor.c DatagramPacket.c Deflater.c Double.c Field.c FileDescriptor.c FileInputStream.c FileOutputStream.c FileSystem.c Finalizer.c Float.c InetAddress.c InetAddressImpl.c Inflater.c JarFile.c Math.c Method.c Object.c ObjectInputStream.c ObjectStreamClass.c Package.c PlainDatagramSocketImpl.c PlainSocketImpl.c RandomAccessFile.c ResourceBundle.c Runtime.c SecurityManager.c SocketInputStream.c SocketOutputStream.c String.c System.c Thread.c Throwable.c UnixFileSystem.c ZipEntry.c ZipFile.c
+## src/native/vm/Makefile.am
+##
+## Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+## R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+## C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+## Institut f. Computersprachen - TU Wien
+##
+## This file is part of CACAO.
+##
+## This program is free software; you can redistribute it and/or
+## modify it under the terms of the GNU General Public License as
+## published by the Free Software Foundation; either version 2, or (at
+## your option) any later version.
+##
+## This program is distributed in the hope that it will be useful, but
+## WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+## General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+## 02111-1307, USA.
+##
+## Contact: cacao@complang.tuwien.ac.at
+##
+## Authors: Christian Thalinger
+##
+## Changes:
+##
+## $Id: Makefile.am 1735 2004-12-07 14:33:27Z twisti $
+
+## Process this file with automake to produce Makefile.in
+
+INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@
+
+CLEANFILES = implementednatives.data
+
+noinst_LTLIBRARIES = libnativevm.la
+
+libnativevm_la_SOURCES = \
+       Constructor.c \
+       Field.c \
+       Method.c \
+       Proxy.c \
+       VMClass.c \
+       VMClassLoader.c \
+       VMObject.c \
+       VMRuntime.c \
+       VMSecurityManager.c \
+       VMString.c \
+       VMSystem.c \
+       VMThread.c \
+       VMThrowable.c
+
+all: implementednatives.data
+
+implementednatives.data: $(libnativevm_a_SOURCES)
+       echo "" > implementednatives.data
+       grep "JNICALL Java_" *.c | perl -p -i -e "s/.*JNICALL\s//" | perl -p -i -e"s/\(.*//"  | ( \
+               while read line; do \
+                       grep $$line $(top_srcdir)/src/native/include/*.h > /dev/null; \
+                       if test $$? == 0; then \
+                               echo $$line >> implementednatives.data; \
+                       fi ; \
+               done )
+
+
+## Local variables:
+## mode: Makefile
+## indent-tabs-mode: t
+## c-basic-offset: 4
+## tab-width: 8
+## compile-command: "automake --add-missing"
+## End: