summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDalibor Topic <robilad@yahoo.com>2006-04-02 20:55:33 +0000
committerDalibor Topic <robilad@yahoo.com>2006-04-02 20:55:33 +0000
commit2e50680946b3e82b86c2db8b5efbc9e651407d55 (patch)
tree101ea980c3d3d1b7bb42bd0cce5e85bdec67bca3 /lib
parent9cdead1bd74a26f78c1e2d7650fafc80afc7b2f5 (diff)
downloadclasspath-2e50680946b3e82b86c2db8b5efbc9e651407d55.tar.gz
Added support for using a prebuilt glibj.zip
2006-04-02 Dalibor Topic <robilad@kaffe.org> * configure.ac (with-glibj-zip): Added new option. * examples/Makefile.am, lib/Makefile.am, tools/Makefile.am: Adapted build classpath to use glibj.zip, in addition to classes in lib directory.
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 5f5a134fd..30a210f43 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -87,10 +87,19 @@ endif # INSTALL_CLASS_FILES
.PHONY: genclasses
+if USE_PREBUILT_GLIBJ_ZIP
+
+glibj.zip:
+ cp $(PATH_TO_GLIBJ_ZIP) .
+
+else
+
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
+endif # USE_PREBUILT_GLIBJ_ZIP
+
resources: copy-vmresources.sh
if ! [ -e gnu ]; then mkdir gnu; fi
if ! [ -e gnu/java ]; then mkdir gnu/java; fi