[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 |
|
---|
| 8 | ifndef GSJCHOME
|
---|
| 9 | export GSJCHOME=$(PWD)
|
---|
| 10 | endif
|
---|
| 11 |
|
---|
| 12 | ifdef CLASSPATH
|
---|
| 13 | export CLASSPATH += :$(GSJCHOME)
|
---|
| 14 | else
|
---|
| 15 | export CLASSPATH = $(GSJCHOME)
|
---|
| 16 | endif
|
---|
| 17 |
|
---|
| 18 |
|
---|
[2068] | 19 | GREENSTONEIDLFILE=/home/nzdl/gsdl/lib/corbaiface.idl
|
---|
| 20 |
|
---|
[2101] | 21 | all : org/nzdl/gsdl/corba/gsdlInterface/corbaiface.java
|
---|
[2109] | 22 | (cd gnu/getopt && $(MAKE) all)
|
---|
| 23 | (cd org/nzdl/gsdl && $(MAKE) all)
|
---|
[2059] | 24 |
|
---|
[3091] | 25 | #remove -oldImplBase if using Java 1.3
|
---|
[2101] | 26 | org/nzdl/gsdl/corba/gsdlInterface/corbaiface.java : corbaiface.idl
|
---|
[3088] | 27 | idlj -oldImplBase -verbose -fclient -pkgPrefix gsdlInterface org.nzdl.gsdl.corba corbaiface.idl
|
---|
| 28 | idlj -oldImplBase -verbose -fserver -pkgPrefix gsdlInterface org.nzdl.gsdl.corba corbaiface.idl
|
---|
[2098] | 29 | javac org/nzdl/gsdl/corba/gsdlInterface/*.java
|
---|
[2071] | 30 |
|
---|
| 31 |
|
---|
[2101] | 32 | # Generate documenmtation with Javadoc.
|
---|
| 33 | # This command may use arguments not found in all versions of javadoc
|
---|
[2071] | 34 |
|
---|
[2101] | 35 | docs :
|
---|
[2119] | 36 | rm -rf docs
|
---|
[2081] | 37 | mkdir docs
|
---|
[2259] | 38 | 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] | 39 | cp org/nzdl/gsdl/service/nzdl-service-package.png docs/org/nzdl/gsdl/service/
|
---|
[2260] | 40 | /home/say1/java/cvs2cl.pl
|
---|
[2058] | 41 |
|
---|
[2101] | 42 | clean :
|
---|
[2157] | 43 | rm -f log.file.*
|
---|
| 44 | rm -f knownIORs.properties
|
---|
[2109] | 45 | (cd gnu/getopt && $(MAKE) clean)
|
---|
| 46 | (cd org/nzdl/gsdl && $(MAKE) clean)
|
---|
[2081] | 47 | rm -rf docs
|
---|
[2098] | 48 | rm -rf org/nzdl/gsdl/corba
|
---|
[2058] | 49 |
|
---|
[2101] | 50 | distclean : clean
|
---|
[2089] | 51 |
|
---|
| 52 |
|
---|
[2101] | 53 | test : all
|
---|
[2109] | 54 | java -classpath "$(CLASSPATH)" org.nzdl.gsdl.SimpleClient -a
|
---|
[2089] | 55 |
|
---|
[2101] | 56 | many : all
|
---|
[2109] | 57 | java -classpath "$(CLASSPATH)" org.nzdl.gsdl.SearchAllCollections -q "marriage customs"
|
---|
[2104] | 58 | echo "This is causing a bunch of corba protocol errors for me. How about you?"
|
---|
[2109] | 59 |
|
---|