source: trunk/gsdl3/src/java/org/greenstone/applet/phind/Makefile@ 3658

Last change on this file since 3658 was 3444, checked in by kjdon, 22 years ago

tried to get the applet working on Mozilla, Netscape, and IE. It works fine on all apart from the buttons. All buttons work in Netscape. Search works in IE, but not Mozilla. Previous and Next dont work in IE or Mozilla.
Had to compile with 1.3 instead of 1.4. Have also removed all the deprecated method calls.
phindcgi variable now prepends the library variable (assumes will always use it through greenstone)

  • Property svn:keywords set to Author Date Id Revision
File size: 1.0 KB
Line 
1#############################################################
2# makefile for Java and JavaCC files ... #
3#############################################################
4#
5
6# JAVA
7GSDL3HOME=../../../../../..
8
9JAVALIBDIR=$(GSDL3HOME)/lib/java
10JAVASRCDIR=$(GSDL3HOME)/src/java
11
12#the base directory where to put class files
13JAVACLASSDIR=./classes
14
15#name/location of java compiler
16#JAVAC=/usr/local/share/j2sdk1.4.0/bin/javac
17#JAVAH=/usr/local/share/j2sdk1.4.0/bin/javah
18#JAVA=/usr/local/share/j2sdk1.4.0/bin/java
19#JAVADOC=/usr/local/share/j2sdk1.4.0/bin/javadoc
20
21JAVAC=/usr/local/share/jdk1.3.1/bin/javac
22JAVACOPTIONS= -deprecation -g -O
23#JAVACOPTIONS= -g -O
24
25JAVACLASSPATH=/usr/local/share/jdk1.3.1/bin:$(JAVACLASSDIR):$(CLASSPATH)
26
27all: compile
28
29setup:
30 mkdir -p $(JAVACLASSDIR)
31
32compile: setup
33 $(JAVAC) -d $(JAVACLASSDIR) -sourcepath $(JAVASRCDIR) -classpath $(JAVACLASSPATH) $(JAVACOPTIONS) *.java
34 jar cf phind.jar -C $(JAVACLASSDIR) org
35
36
37clean:
38 rm -rf $(JAVACLASSDIR) phind.jar
39
40install:
41 cp phind.jar $(JAVALIBDIR)/
42
Note: See TracBrowser for help on using the repository browser.