source: trunk/java-client/Makefile@ 2365

Last change on this file since 2365 was 2260, checked in by say1, 23 years ago

added lots of Changelog stuff

  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
RevLine 
[2068]1
[2089]2
[2119]3.PHONY: docs clean all distclean test
4
[2089]5# find the top-level directory of the java-client tree
6# and add it to the java CLASSPATH
7
8ifndef GSJCHOME
9 export GSJCHOME=$(PWD)
10endif
11
12ifdef CLASSPATH
13 export CLASSPATH += :$(GSJCHOME)
14else
15 export CLASSPATH = $(GSJCHOME)
16endif
17
18
[2068]19GREENSTONEIDLFILE=/home/nzdl/gsdl/lib/corbaiface.idl
20
[2101]21all : org/nzdl/gsdl/corba/gsdlInterface/corbaiface.java
[2109]22 (cd gnu/getopt && $(MAKE) all)
23 (cd org/nzdl/gsdl && $(MAKE) all)
[2059]24
[2101]25org/nzdl/gsdl/corba/gsdlInterface/corbaiface.java : corbaiface.idl
[2220]26 idlj -verbose -fclient -pkgPrefix gsdlInterface org.nzdl.gsdl.corba corbaiface.idl
27 idlj -verbose -fserver -pkgPrefix gsdlInterface org.nzdl.gsdl.corba corbaiface.idl
[2098]28 javac org/nzdl/gsdl/corba/gsdlInterface/*.java
[2071]29
30
[2101]31# Generate documenmtation with Javadoc.
32# This command may use arguments not found in all versions of javadoc
[2071]33
[2101]34docs :
[2119]35 rm -rf docs
[2081]36 mkdir docs
[2259]37 javadoc -private -version -author -use -d docs -header "Documentation for the <a href=\"http://www.corba.org/\">CORBA</a> interface to the <a href=\"http://www.nzdl.org/\">NZDL</a>'s Greenstone Digital Library software." -footer "This software is distributed under the <a href=\"http://www.gnu.org/copyleft/gpl.html\">GPL</a>" -windowtitle "Greenstone Digital Library Software from the NZDL" -link "http://www.scms.waikato.ac.nz/help/reference/jdk1.2/docs/api/" gnu.getopt org.nzdl.gsdl org.nzdl.gsdl.service org.nzdl.gsdl.util org.nzdl.gsdl.corba.gsdlInterface org.nzdl.gsdl.SimpleGraphicalClient -overview overview.html
[2155]38 cp org/nzdl/gsdl/service/nzdl-service-package.png docs/org/nzdl/gsdl/service/
[2260]39 /home/say1/java/cvs2cl.pl
[2058]40
[2101]41clean :
[2157]42 rm -f log.file.*
43 rm -f knownIORs.properties
[2109]44 (cd gnu/getopt && $(MAKE) clean)
45 (cd org/nzdl/gsdl && $(MAKE) clean)
[2081]46 rm -rf docs
[2098]47 rm -rf org/nzdl/gsdl/corba
[2058]48
[2101]49distclean : clean
[2089]50
51
[2101]52test : all
[2109]53 java -classpath "$(CLASSPATH)" org.nzdl.gsdl.SimpleClient -a
[2089]54
[2101]55many : all
[2109]56 java -classpath "$(CLASSPATH)" org.nzdl.gsdl.SearchAllCollections -q "marriage customs"
[2104]57 echo "This is causing a bunch of corba protocol errors for me. How about you?"
[2109]58
Note: See TracBrowser for help on using the repository browser.