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