tesseract/java/makefile
2008-02-01 00:49:38 +00:00

48 lines
954 B
Makefile

JAVAC = javac
JAR = jar
SCROLLVIEW_FILES = \
SVEvent.java \
SVEventHandler.java \
SVEventType.java \
SVImageHandler.java \
SVMenuBar.java \
SVMenuItem.java \
SVPopupMenu.java \
SVWindow.java \
ScrollView.java
SCROLLVIEW_CLASSES = \
SVEvent.class \
SVEventHandler.class \
SVEventType.class \
SVImageHandler.class \
SVMenuBar.class \
SVMenuItem.class \
SVPopupMenu.class \
SVWindow.class \
ScrollView.class
SCROLLVIEW_LIBS = \
luajava-1.1.jar \
piccolo-1.2.jar \
piccolox-1.2.jar
CLASSPATH = ./luajava-1.1.jar:./piccolo-1.2.jar:./piccolox-1.2.jar
ScrollView.jar : $(SCROLLVIEW_CLASSES)
$(JAR) -c -f $@ $(SCROLLVIEW_CLASSES)
$(SCROLLVIEW_CLASSES) : $(SCROLLVIEW_FILES)
$(JAVAC) -encoding UTF8 -classpath $(CLASSPATH) $(SCROLLVIEW_FILES)
clean :
rm -f ScrollView.jar *.class
# all-am does nothing, to make the java part optional.
all all-am :
# dist runs the autoconf makefile to archive the files correctly.
dist distdir :
make -f Makefile $@