Change project-name capitalisation from "cql-java" to "CQL-Java".
[cql-java-moved-to-github.git] / src / org / z3950 / zing / cql / Makefile
1 # $Id: Makefile,v 1.13 2002-12-09 16:29:44 mike Exp $
2 #
3 # Your Java compiler will require that this source directory is on the
4 # classpath.  The best way to do that is just to add the CQL-Java
5 # distribution's "src" subdirectory to your CLASSPATH environment
6 # variable, like this:
7 #       CLASSPATH=$CLASSPATH:/where/ever/you/unpacked/it/cql-java-VERSION/src
8
9 OBJ = Utils.class \
10         CQLNode.class CQLTermNode.class CQLBooleanNode.class \
11         CQLAndNode.class CQLOrNode.class CQLNotNode.class \
12         CQLProxNode.class CQLPrefixNode.class CQLPrefix.class \
13         CQLRelation.class ModifierSet.class \
14         CQLParser.class CQLLexer.class CQLGenerator.class \
15         CQLParseException.class MissingParameterException.class \
16         PQFTranslationException.class \
17         UnknownQualifierException.class UnknownRelationException.class \
18         UnknownRelationModifierException.class UnknownPositionException.class
19
20 ../../../../../lib/cql-java.jar: $(OBJ)
21         cd ../../../..; jar cf ../lib/cql-java.jar org/z3950/zing/cql/*.class
22
23 %.class: %.java
24         javac $<
25
26 clean:
27         rm -f $(OBJ) 'CQLLexer$$Keyword.class'
28