6e403221 |
1 | ## -*-makefile-*- |
2 | ## |
fe9969ff |
3 | ## $Id: Makefile.am,v 1.9 2003/09/15 02:48:55 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 $ |
fe9969ff |
31 | ## Revision 1.9 2003/09/15 02:48:55 mdw |
32 | ## Monoalphabetic match filter. |
33 | ## |
50959b4c |
34 | ## Revision 1.8 2002/08/11 12:59:00 mdw |
35 | ## New Tcl/Tk interface; regular expression support. |
36 | ## |
f7ebae38 |
37 | ## Revision 1.7 2001/02/19 19:19:21 mdw |
38 | ## Minor build system fixes. |
39 | ## |
0f01a808 |
40 | ## Revision 1.6 2001/02/07 09:09:20 mdw |
41 | ## Install Java files in the right place. |
42 | ## |
0484a0d9 |
43 | ## Revision 1.5 2001/02/06 10:06:25 mdw |
44 | ## Find a suitable Java compiler. If there isn't one, don't compile the |
45 | ## Java bits. |
46 | ## |
4ca2b0ce |
47 | ## Revision 1.4 2001/02/06 09:38:46 mdw |
48 | ## Remove redundant rule. |
49 | ## |
7d9d3468 |
50 | ## Revision 1.3 2001/02/06 09:37:56 mdw |
51 | ## Clean the .jar file. |
52 | ## |
dc460403 |
53 | ## Revision 1.2 2001/02/04 19:53:07 mdw |
54 | ## Simple GUI front-end in Java. |
55 | ## |
6e403221 |
56 | ## Revision 1.1 2001/02/04 17:14:42 mdw |
57 | ## Initial checkin |
58 | ## |
59 | |
60 | AUTOMAKE_OPTIONS = foreign |
0f01a808 |
61 | javadir = $(datadir)/java |
0484a0d9 |
62 | |
63 | JAVAC = @JAVAC@ |
64 | |
dc460403 |
65 | SUFFIXES = .java .class |
dc460403 |
66 | .java.class:; $(JAVAC) -d . $< |
67 | |
6e403221 |
68 | bin_PROGRAMS = anag |
50959b4c |
69 | bin_SCRIPTS = @TKPROGS@ |
70 | EXTRA_SCRIPTS = anag-gui |
71 | java_DATA = @JARFILES@ |
6e403221 |
72 | |
50959b4c |
73 | anag_SOURCES = \ |
fe9969ff |
74 | anag.c anag.h wildcard.c anagram.c mono.c trackword.c regexp.c util.c |
50959b4c |
75 | EXTRA_anag_SOURCES = regexp.c |
dc460403 |
76 | anag.jar: AnagGUI.class |
f7ebae38 |
77 | jar cf anag.jar Anag*.class |
78 | |
79 | doszip: distdir |
80 | rm -f $(PACKAGE).zip |
81 | zip -qlr $(PACKAGE).zip $(distdir) |
82 | rm -rf $(distdir) |
dc460403 |
83 | |
50959b4c |
84 | EXTRA_DIST = AnagGUI.java anag-gui |
7d9d3468 |
85 | CLEANFILES = *.class *.jar |
dc460403 |
86 | |
6e403221 |
87 | ##----- That's all, folks --------------------------------------------------- |