##############################################################################
#
#           Copyright (c)2005 Geovariances, Avon, France.
#
#   In consideration  of payment of  the license fee,  which is a part of
#   the price you  paid for this  product, Geovariances (GV) as licensor,
#   grants you, the licensee, a non-exclusive right to use this copy of a
#   GV software product.
#   GV reserves all rights not  expressly granted to licensee. GV retains
#   titleship and ownership  of software.  This license is not  a sale of
#   the original  software or any  copy. GV also  retains  titleship  and
#   ownership of any modifications or  derivations of this software.  Any
#   modifications of this software  must be clearly marked as such.  This
#   copyright message must  appear in its entirety  in this software,  or
#   any modifications or derivations thereof.
#
#   Geovariances welcomes any comments, suggestions, bug reports, etc. At
#   the discretion  of Geovariances,  any customer  supplied  bug  fixes,
#   enhancements, or utility codes will be distributed in future software
#   releases (the contributor will of course be credited). 
#   
#           Geovariances
#           49bis, Avenue Franklin Roosevelt
#           77210 Avon, FRANCE
#
#            Phone: +33-(0)-160.749.100
#              Fax: +33-(0)-164.228.728
#           e-mail: support@geovariances.fr
#
#                       All Rights Reserved
#
##############################################################################

GTXCLIENT_JAR = ../../lib/gtxclient.jar

CLASSPATH = $(GTXCLIENT_JAR)

PROGRAMS.java = $(wildcard *.java)
PROGRAMS_OBJECTS = $(PROGRAMS.java:%.java=%.class) 

%.class: %.java $(GTXCLIENT_JAR)
	javac -classpath $(CLASSPATH) $<

all: $(PROGRAMS_OBJECTS)

jar: all
	jar cf gtxclient.jar $(OBJECTS)

clean:
	$(RM) doc/*.html *.class geovar/gtxclient/*.class

javadoc:
	javadoc -d doc -version -author geovar.gtxclient

