X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/anag/blobdiff_plain/4ca2b0ce28fb8da9667f31776f8bc2e45b618a1b..0484a0d9600947bb059bf38609e2f28b71beef69:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 84ea36f..19dc30f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.4 2001/02/06 09:38:46 mdw Exp $ +## $Id: Makefile.am,v 1.5 2001/02/06 10:06:25 mdw Exp $ ## ## Makefile for Anag ## @@ -28,6 +28,10 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.am,v $ +## Revision 1.5 2001/02/06 10:06:25 mdw +## Find a suitable Java compiler. If there isn't one, don't compile the +## Java bits. +## ## Revision 1.4 2001/02/06 09:38:46 mdw ## Remove redundant rule. ## @@ -42,16 +46,19 @@ ## AUTOMAKE_OPTIONS = foreign +javadir = datadir/java + +JAVAC = @JAVAC@ + SUFFIXES = .java .class -JAVAC = javac .java.class:; $(JAVAC) -d . $< bin_PROGRAMS = anag -anag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c +java_DATA = @jarfiles@ -all: anag.jar +anag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c anag.jar: AnagGUI.class - jar cf anag.jar *.class + jar cf anag.jar AnagGUI*.class EXTRA_DIST = AnagGUI.java CLEANFILES = *.class *.jar