## -*-makefile-*- ## ## $Id$ ## ## Makefile for Anag ## ## (c) 2001 Mark Wooding ## ##----- Licensing notice ---------------------------------------------------- ## ## This file is part of Anag: a simple wordgame helper. ## ## Anag is free software; you can redistribute it and/or modify ## it under the terms of the GNU General Public License as published by ## the Free Software Foundation; either version 2 of the License, or ## (at your option) any later version. ## ## Anag is distributed in the hope that it will be useful, ## but WITHOUT ANY WARRANTY; without even the implied warranty of ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ## GNU General Public License for more details. ## ## You should have received a copy of the GNU General Public License ## along with Anag; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. AUTOMAKE_OPTIONS = foreign javadir = $(datadir)/java JAVAC = @JAVAC@ SUFFIXES = .java .class .java.class:; $(JAVAC) -d . $< bin_PROGRAMS = anag bin_SCRIPTS = @TKPROGS@ EXTRA_SCRIPTS = anag-gui java_DATA = @JARFILES@ anag_SOURCES = \ anag.c anag.h util.c \ wildcard.c anagram.c mono.c trackword.c regexp.c pcre.c anag.jar: AnagGUI.class jar cfm anag.jar $(srcdir)/anag.manifest Anag*.class Whinge*.class doszip: distdir rm -f $(PACKAGE).zip zip -qlr $(PACKAGE).zip $(distdir) rm -rf $(distdir) EXTRA_DIST = \ AnagGUI.java anag-gui.in anag.manifest \ debian/control debian/changelog debian/copyright debian/rules \ debian/anag-gui-java.postinst debian/anag-gui-java.prerm \ debian/anag-gui-tk.postinst debian/anag-gui-tk.prerm CLEANFILES = *.class *.jar ##----- That's all, folks ---------------------------------------------------