head	1.10;
access;
symbols;
locks
	hatch:1.10; strict;
comment	@# @;


1.10
date	2002.05.08.20.52.28;	author hatch;	state Exp;
branches;
next	1.9;

1.9
date	2002.05.08.20.37.23;	author hatch;	state Exp;
branches;
next	1.8;

1.8
date	2002.04.20.05.45.45;	author hatch;	state Exp;
branches;
next	1.7;

1.7
date	2002.04.20.05.17.40;	author hatch;	state Exp;
branches;
next	1.6;

1.6
date	2001.11.12.08.44.42;	author hatch;	state Exp;
branches;
next	1.5;

1.5
date	2001.08.19.21.55.21;	author hatch;	state Exp;
branches;
next	1.4;

1.4
date	2001.06.30.01.56.56;	author hatch;	state Exp;
branches;
next	1.3;

1.3
date	2001.06.28.06.03.05;	author hatch;	state Exp;
branches;
next	1.2;

1.2
date	2001.06.27.20.19.51;	author hatch;	state Exp;
branches;
next	1.1;

1.1
date	2001.06.27.08.31.58;	author hatch;	state Exp;
branches;
next	;


desc
@@


1.10
log
@change html to php
@
text
@# If you don't have javacpp,
# get it from http://www.hadron.org/~dhatch/.
# You'll also need cpp.

.PHONY: all
all: HLerpApplet.jar

JAVAC = jikes -g -classpath /usr/java/jdk1.3.1/jre/lib/rt.jar
#JAVAC = jikes -g -classpath /usr/java/j2sdk1.4.0/jre/lib/rt.jar
#JAVAC = javac -g
# XXX kaffe just dumps core on my system
#JAVAC = kaffe -g -classpath /usr/java/j2sdk1.4.0/jre/lib/rt.jar

# XXX the -DMAIN following should probably be removed for production version
CPPFLAGS = -DMAIN

CLASSES= \
	HLerpApplet.class \
        MyGraphics.class \
        GraphicsAntiAliasingSetter.class \
        HyperbolicUtils.class \
        Isometry2.class \
        Complex.class \
        MyMath.class \
        VecMath.class \
	${NULL}
# classes which which we don't need to build explicitly
# (they are built as side effects of other classes)
# but which need to be included in the jar file...
# XXX argh! getting the $ in there is going to be a problem...
# XXX should we just jar *.class?  for now, it's not a problem
# XXX since I didn't make QuarantinedFunctions a subclass, for other reasons
SUBCLASSES= \
        GraphicsAntiAliasingSetter_QuarantinedFunctions.class \
        HyperbolicUtils'$$'*.class \
        HLerpApplet'$$'*.class \
	${NULL}


.SUFFIXES: .prejava .class
.prejava.class:
	javacpp ${CPPFLAGS} ${JAVAC} $*.prejava
	javarenumber $*.class
HLerpApplet.jar: ${CLASSES}
	(javarenumber ${SUBCLASSES} > /dev/null 2>&1 || true)
	echo jar cf HLerpApplet.jar ${CLASSES} ${SUBCLASSES}
	jar cf HLerpApplet.jar ${CLASSES} ${SUBCLASSES}
# XXX the javarenumber command above is a hack since I can't figure out
# XXX how to get it to do the right thing during compile time
# XXX remove the following
HLerpApplet.jar: Makefile

# Make sure modules are compiled in order of dependence...
# XXX don't need most of the crap in HyperbolicUtils
Isometry2.class: Complex.class
MyGraphics.class: MyMath.class VecMath.class
HyperbolicUtils.class: Isometry2.class VecMath.class MyMath.class Isometry2HashTable.class
HLerpApplet.class: MyGraphics.class GraphicsAntiAliasingSetter.class HyperbolicUtils.class
${CLASSES}: macros.h

# To make and send:
#       make clean
#       make jar
#       make
#       make send
#
.PHONY: jar
jar:
	(cd ..; jar cvf HLerpApplet.src.jar HLerpApplet)

.PHONY: send
send:
	rrr "scp HLerpApplet.php HLerpApplet.jar ../HLerpApplet.src.jar www.hadron.org:public_html"

.PHONY: clean
clean:
	rm -f core *.jar *.class *.java.lines *.java
@


1.9
log
@fix dependency, add comment about how to send
@
text
@d73 1
a73 1
	rrr "scp HLerpApplet.html HLerpApplet.jar ../HLerpApplet.src.jar www.hadron.org:public_html"
@


1.8
log
@port back to 1.3.1
@
text
@d56 1
a56 1
MyGraphics.class: MyMath.class
d61 6
@


1.7
log
@*** empty log message ***
@
text
@d8 2
a9 1
JAVAC = jikes -g -classpath /usr/java/j2sdk1.4.0/jre/lib/rt.jar
d51 1
a51 1
HLerpApplet.jar: Makefile.HLerpApplet
@


1.6
log
@correct HLerpApplet.jar dependency
@
text
@a21 1
        Isometry2HashTable.class \
d55 1
a55 1
Isometry2HashTable.class: Isometry2.class
@


1.5
log
@*** empty log message ***
@
text
@d51 1
a51 1
HLerpApplet.jar: Makefile.HlerpApplet
@


1.4
log
@*** empty log message ***
@
text
@d51 1
a51 1
HLerpApplet.jar: Makefile2
@


1.3
log
@hack to javarenumber class files
@
text
@d46 1
@


1.2
log
@*** empty log message ***
@
text
@d45 1
d47 2
@


1.1
log
@Initial revision
@
text
@d36 1
@
