7 ## (c) 2001 Mark Wooding
10 ##----- Licensing notice ----------------------------------------------------
12 ## This file is part of Anag: a simple wordgame helper.
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.
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.
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.
28 AUTOMAKE_OPTIONS = foreign
29 javadir = $(datadir)/java
33 SUFFIXES = .java .class
34 .java.class:; $(JAVAC) -d . $<
37 bin_SCRIPTS = @TKPROGS@
38 EXTRA_SCRIPTS = anag-gui
39 java_DATA = @JARFILES@
42 anag.c anag.h util.c \
43 wildcard.c anagram.c mono.c trackword.c regexp.c pcre.c longest.c
45 anag.jar: AnagGUI.class
46 jar cfm anag.jar $(srcdir)/anag.manifest Anag*.class Whinge*.class
50 zip -qlr $(PACKAGE).zip $(distdir)
54 AnagGUI.java anag-gui.in anag.manifest \
55 debian/control debian/changelog debian/copyright debian/rules \
56 debian/anag-gui-java.postinst debian/anag-gui-java.prerm \
57 debian/anag-gui-tk.postinst debian/anag-gui-tk.prerm
59 CLEANFILES = *.class *.jar
61 ##----- That's all, folks ---------------------------------------------------