Finish (more or less) to CQL-to-PQF translator.
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / Makefile
1 # $Id: Makefile,v 1.8 2002-11-06 20:13:45 mike Exp $
2
3 DOCDIR = ../../../../../docs
4
5 OBJ = Utils.class \
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
14
15 ../../../../../lib/cql-java.jar: $(OBJ)
16         cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class
17
18 docs: $(DOCDIR)/overview-tree.html
19
20 $(DOCDIR)/overview-tree.html: *.java
21         nice javadoc -d $(DOCDIR) -author -version \
22                 -windowtitle cql-java org.z3950.zing.cql
23
24 # Your Java compiler will require that this source directory is on the
25 # CLASSPATH.  You can either set your CLASSPATH environment variable
26 # to include /where/ever/you/unpacked/it/cql-java-VERSION/src or try
27 # changing the rule below to:
28 #
29 #       javac -classpath ../../../.. $<
30 #
31 # (But that will break if you need other elements in the CLASSPATH
32 # too, for the Java library -- as, for example, Jikes does.)
33 #
34 %.class: %.java
35         javac $<
36
37 clean:
38         rm -f $(OBJ) 'CQLLexer$$Keyword.class'
39
40 cleandocs:
41         rm -rf  $(DOCDIR)/allclasses-frame.html \
42                 $(DOCDIR)/deprecated-list.html \
43                 $(DOCDIR)/help-doc.html \
44                 $(DOCDIR)/index-all.html \
45                 $(DOCDIR)/index.html \
46                 $(DOCDIR)/org \
47                 $(DOCDIR)/overview-tree.html \
48                 $(DOCDIR)/package-list \
49                 $(DOCDIR)/packages.html \
50                 $(DOCDIR)/serialized-form.html \
51                 $(DOCDIR)/stylesheet.css