1 # $Id: Makefile,v 1.9 2002-11-08 13:50:17 mike Exp $
3 DOCDIR = ../../../../../docs
6 CQLNode.class CQLTermNode.class CQLBooleanNode.class \
7 CQLAndNode.class CQLOrNode.class CQLNotNode.class \
8 CQLRelation.class CQLProxNode.class ModifierSet.class \
9 CQLParser.class CQLLexer.class CQLParseException.class \
10 CQLGenerator.class MissingParameterException.class \
11 PQFTranslationException.class \
12 UnknownQualifierException.class UnknownRelationException.class \
13 UnknownRelationModifierException.class UnknownPositionException.class
15 ../../../../../lib/cql-java.jar: $(OBJ)
16 cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class
18 # Your Java compiler will require that this source directory is on the
19 # classpath. Generally, you can use the rules below, which set the
20 # classpath suitably. But that will break if you need other elements
21 # in the CLASSPATH too. If that's the situation you're in, take the
22 # "-classpath ../../../.." flag out of the rules below, and set your
23 # CLASSPATH environment variable to include
24 # /where/ever/you/unpacked/it/cql-java-VERSION/src
27 javac -classpath ../../../.. $<
29 docs: $(DOCDIR)/overview-tree.html
31 $(DOCDIR)/overview-tree.html: *.java
32 nice javadoc -classpath ../../../.. -d $(DOCDIR) -author -version \
33 -windowtitle cql-java org.z3950.zing.cql
36 rm -f $(OBJ) 'CQLLexer$$Keyword.class'
39 rm -rf $(DOCDIR)/allclasses-frame.html \
40 $(DOCDIR)/deprecated-list.html \
41 $(DOCDIR)/help-doc.html \
42 $(DOCDIR)/index-all.html \
43 $(DOCDIR)/index.html \
45 $(DOCDIR)/overview-tree.html \
46 $(DOCDIR)/package-list \
47 $(DOCDIR)/packages.html \
48 $(DOCDIR)/serialized-form.html \
49 $(DOCDIR)/stylesheet.css