X-Git-Url: https://git.distorted.org.uk/~mdw/anag/blobdiff_plain/6e4032210ea6c167fcf14c70ae6b18661c011310..f7ebae384ae1bb948fc062dde36916d2776d3eae:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 620b1cc..5e02cb6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.1 2001/02/04 17:14:42 mdw Exp $ +## $Id: Makefile.am,v 1.7 2001/02/19 19:19:21 mdw Exp $ ## ## Makefile for Anag ## @@ -28,12 +28,50 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.am,v $ +## Revision 1.7 2001/02/19 19:19:21 mdw +## Minor build system fixes. +## +## Revision 1.6 2001/02/07 09:09:20 mdw +## Install Java files in the right place. +## +## 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. +## +## Revision 1.3 2001/02/06 09:37:56 mdw +## Clean the .jar file. +## +## Revision 1.2 2001/02/04 19:53:07 mdw +## Simple GUI front-end in Java. +## ## Revision 1.1 2001/02/04 17:14:42 mdw ## Initial checkin ## AUTOMAKE_OPTIONS = foreign +javadir = $(datadir)/java + +JAVAC = @JAVAC@ + +SUFFIXES = .java .class +.java.class:; $(JAVAC) -d . $< + bin_PROGRAMS = anag +java_DATA = @jarfiles@ + anag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c +anag.jar: AnagGUI.class + jar cf anag.jar Anag*.class + +doszip: distdir + rm -f $(PACKAGE).zip + zip -qlr $(PACKAGE).zip $(distdir) + rm -rf $(distdir) + +EXTRA_DIST = AnagGUI.java +CLEANFILES = *.class *.jar ##----- That's all, folks ---------------------------------------------------