# @(#)makefile	1.2 97/10/07

JDKHOME = c:\jdk1.1.3
SWINGHOME = c:\swing-0.5
JACCESSHOME = c:\jaccess-0.5
CSEP = ;

SWINGJARS=$(SWINGHOME)\swing.jar
JACCESSJARS=$(JACCESSHOME)\jaccess.jar

CLASSPATH = .;$(JACCESSJARS);$(SWINGJARS);$(JDKHOME)\lib\classes.zip

JAVAC = $(JDKHOME)\bin\javac -deprecation -g -classpath $(CLASSPATH)

FILES = Monkey.class

all: $(FILES)
	@echo ""
	@echo "Please NOTE:"
	@echo ""
	@echo "You cannot run Monkey by itself.  Instead, it is meant to"
	@echo "be automatically loaded by the EventQueueMonitor.  To do this "
	@echo "you need to edit $(JDKHOME)\lib\awt.properties"
	@echo "to include the following lines:"
	@echo ""
	@echo "AWT.EventQueueClass=com.sun.java.accessibility.EventQueueMonitor"
	@echo "AWT.AutoLoadClasses=Monkey"
	@echo ""
	@echo "Note also that it is important that your CLASSPATH environment"
	@echo "variable include both the jaccess.jar file and this directory."
	@echo ""
	@echo "For example, you might set your CLASSPATH environment variable"
	@echo "to look like the following:"
	@echo ""
	@echo $(CLASSPATH)
	@echo ""

release: all

clean:
	rm -f *.class *~

Monkey.class: Monkey.java
	$(JAVAC) $?
