aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/lib/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/lib/Makefile.am')
-rw-r--r--libjava/classpath/lib/Makefile.am20
1 files changed, 19 insertions, 1 deletions
diff --git a/libjava/classpath/lib/Makefile.am b/libjava/classpath/lib/Makefile.am
index 56860d2..f4e4540 100644
--- a/libjava/classpath/lib/Makefile.am
+++ b/libjava/classpath/lib/Makefile.am
@@ -10,7 +10,7 @@ propertyfiles := $(shell cd $(top_srcdir)/resource && $(FIND) gnu java org -nam
metafiles := $(shell cd $(top_srcdir)/resource && $(FIND) META-INF -name CVS -prune -o -type f -print)
iconfiles := $(shell cd $(top_srcdir) && $(FIND) gnu/javax/swing/plaf/gtk/icons -name *.png -type f -print)
-compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:.:$(USER_CLASSLIB)
+compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:$(top_srcdir)/external/relaxngDatatype:.:$(USER_CLASSLIB)
# handling source to bytecode compiler programs like gcj, jikes and kjc
if FOUND_GCJ
@@ -38,6 +38,23 @@ endif # FOUND_JIKES
JAVAH = $(USER_JAVAH) -jni -classpath .:$(USER_CLASSLIB)
+if CREATE_COLLECTIONS
+COLLECTIONS = collections.jar
+
+collections.jar: mkcollections.pl
+ ./mkcollections.pl $(top_srcdir)
+if FOUND_GCJ
+ $(GCJ) -C `$(FIND) $(COLLECTIONS_PREFIX) -name '*' -type f -print`
+else
+ $(JAVAC) `$(FIND) $(COLLECTIONS_PREFIX) -name '*' -type f -print`
+endif
+ if test "$(FASTJAR)" != ""; then \
+ $(FASTJAR) cf $@ $(COLLECTIONS_PREFIX); \
+ else \
+ echo "fastjar not found" > collections.jar; \
+ fi
+endif # CREATE_COLLECTIONS
+
if INSTALL_GLIBJ_ZIP
## GCJ LOCAL: Comment this out so we don't make an empty
@@ -74,6 +91,7 @@ endif # INSTALL_CLASS_FILES
glibj.zip: classes compile-classes resources
if test "$(ZIP)" != ""; then $(ZIP) -r -D glibj.zip gnu java javax org META-INF > /dev/null; fi
+ if test "$(FASTJAR)" != ""; then $(FASTJAR) cf glibj.zip gnu java javax org META-INF; fi
resources: copy-vmresources.sh
if ! [ -e gnu ]; then mkdir gnu; fi