view cWnn/include/Makefile.in @ 19:e48bf9927b1c

added make rule for build_stamp.h to cWnn and kWnn so that they will be built correctly.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Mon, 14 Apr 2008 17:55:44 +0900
parents bbc77ca4def5
children
line wrap: on
line source

#
#   $Id: Makefile.in,v 1.10 2003/05/11 18:31:46 hiroo Exp $
#

#
# FreeWnn is a network-extensible Kana-to-Kanji conversion system.
# This file is part of FreeWnn.
# 
# Copyright Kyoto University Research Institute for Mathematical Sciences
#                 1987, 1988, 1989, 1990, 1991, 1992
# Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
# Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003
# 
# Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
# 
# This program 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.
# 
# This program 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 this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#

include @top_srcdir@/makerule.mk
top_builddir = ../..

INSTALL      = @INSTALL@ $(INSTALLFLAGS)

HEADERS = commonhd.h jllib.h jslib.h msg.h rk_spclval.h wnnerror.h cplib.h build_stamp.h
LINKS = wnn_config.h copyright.h demcom.h hinsi_file.h jd_sock.h  \
        jdata.h jh.h jlib.h wnn_string.h wnn_os.h hinsi.h ansidecl.h
LINKS2 = getopt.h


all:: $(HEADERS) $(LINKS) $(LINKS2)

includes:: $(HEADERS) $(LINKS) $(LINKS2)

commonhd.h:  $(WNNINCLUDESRC)/commonhd.h
	$(RM) $@
	$(LN) $? $@

includes:: commonhd.h

depend:: commonhd.h

wnn_config.h:  $(WNNINCLUDESRC)/wnn_config.h
	$(RM) $@
	$(LN) $? $@

includes:: wnn_config.h

depend:: wnn_config.h

copyright.h:  $(WNNINCLUDESRC)/copyright.h
	$(RM) $@
	$(LN) $? $@

includes:: copyright.h

depend:: copyright.h

demcom.h:  $(WNNINCLUDESRC)/demcom.h
	$(RM) $@
	$(LN) $? $@

includes:: demcom.h

depend:: demcom.h

hinsi_file.h:  $(WNNINCLUDESRC)/hinsi_file.h
	$(RM) $@
	$(LN) $? $@

includes:: hinsi_file.h

depend:: hinsi_file.h

jd_sock.h:  $(WNNINCLUDESRC)/jd_sock.h
	$(RM) $@
	$(LN) $? $@

includes:: jd_sock.h

depend:: jd_sock.h

jdata.h:  $(WNNINCLUDESRC)/jdata.h
	$(RM) $@
	$(LN) $? $@

includes:: jdata.h

depend:: jdata.h

jh.h:  $(WNNINCLUDESRC)/jh.h
	$(RM) $@
	$(LN) $? $@

includes:: jh.h

depend:: jh.h

jlib.h:  $(WNNINCLUDESRC)/jlib.h
	$(RM) $@
	$(LN) $? $@

includes:: jlib.h

depend:: jlib.h

jllib.h:  $(WNNINCLUDESRC)/jllib.h
	$(RM) $@
	$(LN) $? $@

includes:: jllib.h

depend:: jllib.h

jslib.h:  $(WNNINCLUDESRC)/jslib.h
	$(RM) $@
	$(LN) $? $@

includes:: jslib.h

depend:: jslib.h

msg.h:  $(WNNINCLUDESRC)/msg.h
	$(RM) $@
	$(LN) $? $@

includes:: msg.h

depend:: msg.h

rk_spclval.h:  $(WNNINCLUDESRC)/rk_spclval.h
	$(RM) $@
	$(LN) $? $@

includes:: rk_spclval.h

depend:: rk_spclval.h

wnn_string.h:  $(WNNINCLUDESRC)/wnn_string.h
	$(RM) $@
	$(LN) $? $@

includes:: wnn_string.h

depend:: wnn_string.h

wnnerror.h:  $(WNNINCLUDESRC)/wnnerror.h
	$(RM) $@
	$(LN) $? $@

includes:: wnnerror.h

depend:: wnnerror.h

cplib.h:  $(WNNINCLUDESRC)/cplib.h
	$(RM) $@
	$(LN) $? $@

includes:: cplib.h

depend:: cplib.h

wnn_os.h:  $(WNNINCLUDESRC)/wnn_os.h
	$(RM) $@
	$(LN) $? $@

includes:: wnn_os.h

depend:: wnn_os.h

hinsi.h:  $(WNNINCLUDESRC)/hinsi.h
	$(RM) $@
	$(LN) $? $@

includes:: hinsi.h

depend:: hinsi.h

ansidecl.h:  $(WNNINCLUDESRC)/ansidecl.h
	$(RM) $@
	$(LN) $? $@

includes:: ansidecl.h

depend:: ansidecl.h

getopt.h: $(WNNINCLUDESRC)/getopt.h
	$(RM) $@
	$(LN) $? $@

includes:: getopt.h

depend:: getopt.h

build_stamp.h:  $(WNNINCLUDESRC)/build_stamp.h
	$(RM) $@
	$(LN) $? $@

includes:: build_stamp.h

depend:: build_stamp.h

# 'clean' entry is not added because last 
# 'clean' entry (action = '$(RM) $(LINKS)') does same thing. (aono)

instlib:: install

install::  $(HEADERS)
	@if [ -d $(DESTDIR)$(CWNNINCDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNINCDIR)); fi
	@for flag in ${MAKEFLAGS} ''; do \
	case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
	for i in  $(HEADERS); do \
	(set -x; $(INSTALL) $(INSTDATFLAGS) $$i $(DESTDIR)$(CWNNINCDIR)); \
	done

depend::

clean::
	$(RM) $(HEADERS)
	$(RM) $(LINKS)
	$(RM) $(LINKS2)