~mdw
/
anag
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Be more helpful. Improve full help message. Special-case error for
[anag]
/
Makefile.am
diff --git
a/Makefile.am
b/Makefile.am
index
84ea36f
..
0c757e8
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-1,6
+1,6
@@
## -*-makefile-*-
##
## -*-makefile-*-
##
-## $Id: Makefile.am,v 1.
4 2001/02/06 09:38:46
mdw Exp $
+## $Id: Makefile.am,v 1.
6 2001/02/07 09:09:20
mdw Exp $
##
## Makefile for Anag
##
##
## Makefile for Anag
##
@@
-28,6
+28,13
@@
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.am,v $
+## 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.4 2001/02/06 09:38:46 mdw
## Remove redundant rule.
##
@@
-42,16
+49,19
@@
##
AUTOMAKE_OPTIONS = foreign
##
AUTOMAKE_OPTIONS = foreign
+javadir = $(datadir)/java
+
+JAVAC = @JAVAC@
+
SUFFIXES = .java .class
SUFFIXES = .java .class
-JAVAC = javac
.java.class:; $(JAVAC) -d . $<
bin_PROGRAMS = anag
.java.class:; $(JAVAC) -d . $<
bin_PROGRAMS = anag
-anag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c
+java_DATA = @jarfiles@
-a
ll: anag.jar
+a
nag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c
anag.jar: AnagGUI.class
anag.jar: AnagGUI.class
- jar cf anag.jar *.class
+ jar cf anag.jar
AnagGUI
*.class
EXTRA_DIST = AnagGUI.java
CLEANFILES = *.class *.jar
EXTRA_DIST = AnagGUI.java
CLEANFILES = *.class *.jar