- implemented defineClass(Ljava/lang/ClassLoader;Ljava/lang/String;[BIILjava/security...
[cacao.git] / src / native / Makefile.am
index db31637018932997b1bcbb7d7a18572a6a371965..10ab88f95d83afb102ec4c0a3948763bdd69574e 100644 (file)
 ##
 ## Changes:
 ##
-## $Id: Makefile.am 1905 2005-02-09 11:24:06Z twisti $
+## $Id: Makefile.am 1996 2005-03-05 16:57:40Z twisti $
 
 ## Process this file with automake to produce Makefile.in
 
 INCLUDES = -I$(top_srcdir)/src -I$(top_srcdir)/src/vm/jit/@ARCH_DIR@ -I$(top_builddir)/src
 
-SUBDIRS = tools include vm
+SUBDIRS = include vm
 
-CLEANFILES = nativetable.inc
-
-# include NO_REGEN_CLASSES, CLASSES and AWT_CLASSES
-include $(srcdir)/classes.am
+CLEANFILES =
 
 noinst_LTLIBRARIES = libnative.la
 
@@ -48,26 +45,12 @@ libnative_la_SOURCES = \
        jni.h \
        native.c \
        native.h \
-       nativecalls.inc
+       nativecalls.inc \
+       nativetable.inc
 
 libnative_la_LIBADD = \
        vm/libnativevm.la
 
-$(srcdir)/native.c: nativetable.inc nativecalls.inc
-
-HEADERS_TOUCH_FILE = $(top_builddir)/src/native/include/headers-generated
-if USE_GTK_PEER
-AWT_HEADERS_TOUCH_FILE = $(top_builddir)/src/native/include/awtheaders-generated
-endif
-
-nativetable.inc: $(top_srcdir)/src/classpath/lib/bootstrap.zip $(top_builddir)/src/native/tools/gennativetable $(top_builddir)/config.h $(HEADERS_TOUCH_FILE) $(AWT_HEADERS_TOUCH_FILE) $(srcdir)/classes.am
-       CLASSPATH=$(top_srcdir)/src/classpath/lib/ \
-       $(top_builddir)/src/native/tools/gennativetable \
-       $(NO_REGEN_CLASSES) \
-       $(CLASSES) \
-       $(AWT_CLASSES) \
-       > nativetable.inc
-
 
 ## Local variables:
 ## mode: Makefile