6e403221 |
1 | ## -*-makefile-*- |
2 | ## |
0f01a808 |
3 | ## $Id: Makefile.am,v 1.6 2001/02/07 09:09:20 mdw Exp $ |
6e403221 |
4 | ## |
5 | ## Makefile for Anag |
6 | ## |
7 | ## (c) 2001 Mark Wooding |
8 | ## |
9 | |
10 | ##----- Licensing notice ---------------------------------------------------- |
11 | ## |
12 | ## This file is part of Anag: a simple wordgame helper. |
13 | ## |
14 | ## Anag is free software; you can redistribute it and/or modify |
15 | ## it under the terms of the GNU General Public License as published by |
16 | ## the Free Software Foundation; either version 2 of the License, or |
17 | ## (at your option) any later version. |
18 | ## |
19 | ## Anag is distributed in the hope that it will be useful, |
20 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
21 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
22 | ## GNU General Public License for more details. |
23 | ## |
24 | ## You should have received a copy of the GNU General Public License |
25 | ## along with Anag; if not, write to the Free Software Foundation, |
26 | ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
27 | |
28 | ##----- Revision history ---------------------------------------------------- |
29 | ## |
30 | ## $Log: Makefile.am,v $ |
0f01a808 |
31 | ## Revision 1.6 2001/02/07 09:09:20 mdw |
32 | ## Install Java files in the right place. |
33 | ## |
0484a0d9 |
34 | ## Revision 1.5 2001/02/06 10:06:25 mdw |
35 | ## Find a suitable Java compiler. If there isn't one, don't compile the |
36 | ## Java bits. |
37 | ## |
4ca2b0ce |
38 | ## Revision 1.4 2001/02/06 09:38:46 mdw |
39 | ## Remove redundant rule. |
40 | ## |
7d9d3468 |
41 | ## Revision 1.3 2001/02/06 09:37:56 mdw |
42 | ## Clean the .jar file. |
43 | ## |
dc460403 |
44 | ## Revision 1.2 2001/02/04 19:53:07 mdw |
45 | ## Simple GUI front-end in Java. |
46 | ## |
6e403221 |
47 | ## Revision 1.1 2001/02/04 17:14:42 mdw |
48 | ## Initial checkin |
49 | ## |
50 | |
51 | AUTOMAKE_OPTIONS = foreign |
0f01a808 |
52 | javadir = $(datadir)/java |
0484a0d9 |
53 | |
54 | JAVAC = @JAVAC@ |
55 | |
dc460403 |
56 | SUFFIXES = .java .class |
dc460403 |
57 | .java.class:; $(JAVAC) -d . $< |
58 | |
6e403221 |
59 | bin_PROGRAMS = anag |
0484a0d9 |
60 | java_DATA = @jarfiles@ |
6e403221 |
61 | |
0484a0d9 |
62 | anag_SOURCES = anag.c anag.h wildcard.c anagram.c trackword.c util.c |
dc460403 |
63 | anag.jar: AnagGUI.class |
0484a0d9 |
64 | jar cf anag.jar AnagGUI*.class |
dc460403 |
65 | |
66 | EXTRA_DIST = AnagGUI.java |
7d9d3468 |
67 | CLEANFILES = *.class *.jar |
dc460403 |
68 | |
6e403221 |
69 | ##----- That's all, folks --------------------------------------------------- |