X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Forg%2Fz3950%2Fzing%2Fcql%2FMakefile;h=961afbbab3319c62c52901d57c6eedeb15933e68;hb=fc82b225d39cc66cb85c2557db0c0d4a4c5a6e27;hp=703de720cbdb35b8dd737437706b52afb8ee26f3;hpb=70be8275aabe87c909bf11148bb279c3e1380bb2;p=cql-java-moved-to-github.git diff --git a/src/org/z3950/zing/cql/Makefile b/src/org/z3950/zing/cql/Makefile index 703de72..961afbb 100644 --- a/src/org/z3950/zing/cql/Makefile +++ b/src/org/z3950/zing/cql/Makefile @@ -1,20 +1,51 @@ -# $Id: Makefile,v 1.2 2002-10-30 09:19:26 mike Exp $ +# $Id: Makefile,v 1.8 2002-11-06 20:13:45 mike Exp $ -all: CQLNode.class CQLTermNode.class CQLBooleanNode.class \ +DOCDIR = ../../../../../docs + +OBJ = Utils.class \ + CQLNode.class CQLTermNode.class CQLBooleanNode.class \ CQLAndNode.class CQLOrNode.class CQLNotNode.class \ - CQLRelation.class \ + CQLRelation.class CQLProxNode.class ModifierSet.class \ CQLParser.class CQLLexer.class CQLParseException.class \ - CQLGenerator.class ParameterMissingException.class + CQLGenerator.class MissingParameterException.class \ + PQFTranslationException.class \ + UnknownQualifierException.class UnknownRelationException.class \ + UnknownRelationModifierException.class UnknownPositionException.class + +../../../../../lib/cql-java.jar: $(OBJ) + cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class + +docs: $(DOCDIR)/overview-tree.html -docs: - nice javadoc -d ../../../../../docs -author -version \ +$(DOCDIR)/overview-tree.html: *.java + nice javadoc -d $(DOCDIR) -author -version \ -windowtitle cql-java org.z3950.zing.cql +# Your Java compiler will require that this source directory is on the +# CLASSPATH. You can either set your CLASSPATH environment variable +# to include /where/ever/you/unpacked/it/cql-java-VERSION/src or try +# changing the rule below to: +# +# javac -classpath ../../../.. $< +# +# (But that will break if you need other elements in the CLASSPATH +# too, for the Java library -- as, for example, Jikes does.) +# %.class: %.java javac $< clean: - rm -f *.class + rm -f $(OBJ) 'CQLLexer$$Keyword.class' cleandocs: - rm -r docs/* + rm -rf $(DOCDIR)/allclasses-frame.html \ + $(DOCDIR)/deprecated-list.html \ + $(DOCDIR)/help-doc.html \ + $(DOCDIR)/index-all.html \ + $(DOCDIR)/index.html \ + $(DOCDIR)/org \ + $(DOCDIR)/overview-tree.html \ + $(DOCDIR)/package-list \ + $(DOCDIR)/packages.html \ + $(DOCDIR)/serialized-form.html \ + $(DOCDIR)/stylesheet.css