##
## Changes:
##
-## $Id: Makefile.am 4419 2006-02-03 22:57:32Z twisti $
+## $Id: Makefile.am 4424 2006-02-04 00:33:39Z twisti $
## Process this file with automake to produce Makefile.in
SUBDIRS += tools
CLEANFILES += nativetable.inc
+VM_ZIP = $(top_builddir)/src/lib/$(VM_ZIP_STRING)
+GLIBJ_ZIP = $(CLASSPATH_PREFIX)/share/classpath/$(GLIBJ_ZIP_STRING)
+
+CLASSPATH = $(VM_ZIP):$(GLIBJ_ZIP)
+
+nativetable.inc: $(VM_ZIP) $(GLIBJ_ZIP) $(top_builddir)/src/native/tools/gennativetable
+ $(top_builddir)/src/native/tools/gennativetable -bootclasspath $(CLASSPATH) > $(top_builddir)/src/native/nativetable.inc
+endif
+
$(srcdir)/native.c: nativetable.inc
noinst_LTLIBRARIES = libnative.la
vm/libnativevm.la \
$(JVMTI_LIB)
-VM_ZIP = $(top_builddir)/src/lib/$(VM_ZIP_STRING)
-GLIBJ_ZIP = $(CLASSPATH_PREFIX)/share/classpath/$(GLIBJ_ZIP_STRING)
-
-CLASSPATH = $(VM_ZIP):$(GLIBJ_ZIP)
-
-#nativetable.inc: $(VM_ZIP) $(GLIBJ_ZIP) $(top_builddir)/src/native/tools/gennativetable
-nativetable.inc:
- $(top_builddir)/src/native/tools/gennativetable -bootclasspath $(CLASSPATH) > $(top_builddir)/src/native/nativetable.inc
-endif
-
## Local variables:
## mode: Makefile
##
## Changes:
##
-## $Id: Makefile.am 4419 2006-02-03 22:57:32Z twisti $
+## $Id: Makefile.am 4424 2006-02-04 00:33:39Z twisti $
## Process this file with automake to produce Makefile.in
echo "$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class"; \
$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class
-#$(DO_HEADER_FILES): $(VM_ZIP) $(GLIBJ_ZIP)
-$(DO_HEADER_FILES):
+$(DO_HEADER_FILES): $(VM_ZIP) $(GLIBJ_ZIP)
@class=`echo $@ | sed -e 's/\.h$$//' -e 's/_/\./g'`; \
echo "$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class"; \
$(CACAOH) -bootclasspath $(CLASSPATH) -d . $$class