remove -classpath bits
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / Makefile
1 # $Id: Makefile,v 1.10 2002-11-12 22:38:35 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 # ### FIX THIS COMMENT!
19 # Your Java compiler will require that this source directory is on the
20 # classpath.  Generally, you can use the rules below, which set the
21 # classpath suitably.  But that will break if you need other elements
22 # in the CLASSPATH too.  If that's the situation you're in, take the
23 # "-classpath ../../../.." flag out of the rules below, and set your
24 # CLASSPATH environment variable to include
25 #       /where/ever/you/unpacked/it/cql-java-VERSION/src
26 #
27 %.class: %.java
28         javac $<
29
30 docs: $(DOCDIR)/overview-tree.html
31
32 $(DOCDIR)/overview-tree.html: *.java
33         nice javadoc -d $(DOCDIR) -author -version \
34                 -windowtitle cql-java org.z3950.zing.cql
35
36 clean:
37         rm -f $(OBJ) 'CQLLexer$$Keyword.class'
38
39 cleandocs:
40         rm -rf  $(DOCDIR)/allclasses-frame.html \
41                 $(DOCDIR)/deprecated-list.html \
42                 $(DOCDIR)/help-doc.html \
43                 $(DOCDIR)/index-all.html \
44                 $(DOCDIR)/index.html \
45                 $(DOCDIR)/org \
46                 $(DOCDIR)/overview-tree.html \
47                 $(DOCDIR)/package-list \
48                 $(DOCDIR)/packages.html \
49                 $(DOCDIR)/serialized-form.html \
50                 $(DOCDIR)/stylesheet.css