# SKK JISYO TOOLS (SKK dictionary handling tools) # Copyright (C) 1994, 1996, 1999, 2000, 2002 # Hironobu Takahashi, Masahiko Sato, Kiyotaka Sakai, Kenji Yabuuchi # # Author: Hironobu Takahashi, Masahiko Sato, Kiyotaka Sakai, Kenji Yabuuchi # Maintainer: SKK Development Team # Version: $Id: Makefile.in,v 1.15 2011/04/05 04:20:06 skk-cvs Exp $ # Keywords: japanese # Last Modified: $Date: 2011/04/05 04:20:06 $ # # This file is part of Daredevil SKK # # SKK JISYO TOOLS are free software; you can redistribute them and/or modify # them under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # # SKK JISYO TOOLS are distributed in the hope that they 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 SKK; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, # MA 02111-1307, USA. #### Start of system configuration section. #### SHELL = /bin/sh VERSION = @VERSION@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ CC = @CC@ CFLAGS = @CFLAGS@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ BZIP2 = @BZIP2@ DATE = @DATE@ GZIP = @GZIP@ MD5 = @MD5@ TAR = @TAR@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ GLIB_CFLAGS = @GLIB2_CFLAGS@ GLIB_LIBS = @GLIB2_LIBS@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = $(exec_prefix)/bin EXEEXT= @EXEEXT@ DEFS = -I. -I$(srcdir) -I$(top_srcdir) $(CFLAGS) SNAPBASE = skktools-`$(DATE) '+%Y%m%d'` TARGETS = skkdic-expr$(EXEEXT) skkdic-sort$(EXEEXT) skkdic-count$(EXEEXT) @SKKDIC_EXPR2@ SRCS = skkdic-expr.c skkdic-sort.c skkdic-count.c skkdic-expr2.c all: $(TARGETS) skkdic-expr$(EXEEXT): $(srcdir)/skkdic-expr.c $(CC) $(DEFS) -o $@ $(srcdir)/skkdic-expr.c $(LIBS) $(LDFLAGS) skkdic-sort$(EXEEXT): $(srcdir)/skkdic-sort.c $(CC) $(DEFS) -o $@ $(srcdir)/skkdic-sort.c $(LDFLAGS) skkdic-count$(EXEEXT): $(srcdir)/skkdic-count.c $(CC) $(DEFS) -o $@ $(srcdir)/skkdic-count.c $(LDFLAGS) skkdic-expr2$(EXEEXT): $(srcdir)/skkdic-expr2.c $(CC) $(DEFS) $(GLIB_CFLAGS) -o $@ $(srcdir)/skkdic-expr2.c $(GLIB_LIBS) $(LDFLAGS) ${srcdir}/configure: configure.ac #aclocal.m4 cd ${srcdir} && autoconf # autoheader might not change config.h.in, so touch a stamp file. #${srcdir}/config.h.in: stamp-h.in #${srcdir}/stamp-h.in: configure.ac aclocal.m4 acconfig.h config.h.top config.h.bot # cd ${srcdir} && autoheader # echo timestamp > ${srcdir}/stamp-h.in # #config.h: stamp-h # #stamp-h: config.h.in config.status # ./config.status Makefile: Makefile.in config.status ./config.status config.status: configure ./config.status --recheck install: $(TARGETS) $(srcdir)/mkinstalldirs $(DESTDIR)$(bindir) @list="$(TARGETS)"; for p in $$list; do \ if test -f $$p; then \ echo " $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/"; \ $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/; \ else :; fi; \ done install-strip: $(TARGETS) $(MAKE) install INSTALL_PROGRAM="$(INSTALL_PROGRAM) -s" uninstall: @list="$(TARGETS)"; for p in $$list; do \ echo " rm -f $(DESTDIR)$(bindir)/$$p"; \ rm -f $(DESTDIR)$(bindir)/$$p; \ done clean: rm -f $(TARGETS) core distclean: rm -f config.h config.status config.cache config.log Makefile $(TARGETS) core TAGS: $(SRCS) etags $(SRCS) tar: clean cd .. ;\ rm -f skktools-$(VERSION) skktools-$(VERSION) skktools-$(VERSION).tar.gz skktools-$(VERSION).tar.bz2 ;\ ln -sf tools skktools-$(VERSION) ;\ $(TAR) cvpf skktools-$(VERSION).tar --exclude-from=skktools-$(VERSION)/skk.ex \ --dereference skktools-$(VERSION) ;\ $(GZIP) -cf skktools-$(VERSION).tar > skktools-$(VERSION).tar.gz ;\ rm -f skktools-$(VERSION).tar ;\ rm -f skktools-$(VERSION) ;\ $(MD5) skktools-$(VERSION).tar.gz >skktools-$(VERSION).tar.gz.md5 snapshot: clean cd .. ;\ rm -f skktools-$(VERSION) skktools-$(VERSION) skktools-$(VERSION).tar.gz skktools-$(VERSION).tar.bz2 ;\ rm -f $(SNAPBASE) ;\ ln -sf tools $(SNAPBASE) ;\ $(TAR) cvpf $(SNAPBASE).tar --exclude-from=$(SNAPBASE)/skk.ex --dereference $(SNAPBASE) ;\ $(BZIP2) -cf $(SNAPBASE).tar > $(SNAPBASE).tar.bz2 ;\ $(GZIP) -cf $(SNAPBASE).tar > $(SNAPBASE).tar.gz ;\ rm -f $(SNAPBASE).tar ;\ rm -f $(SNAPBASE) ;\ $(MD5) $(SNAPBASE).tar.bz2 >$(SNAPBASE).tar.bz2.md5 ;\ $(MD5) $(SNAPBASE).tar.gz >$(SNAPBASE).tar.gz.md5 .PHONY: clean distclean