XCOMM
XCOMM $Id: Imakefile,v 1.8.2.1 1999/02/08 05:21:03 yamasita Exp $
XCOMM

XCOMM FreeWnn is a network-extensible Kana-to-Kanji conversion system.
XCOMM This file is part of FreeWnn.
XCOMM 
XCOMM Copyright Kyoto University Research Institute for Mathematical Sciences
XCOMM                 1987, 1988, 1989, 1990, 1991, 1992
XCOMM Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
XCOMM Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
XCOMM
XCOMM Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
XCOMM
XCOMM This program is free software; you can redistribute it and/or modify
XCOMM it under the terms of the GNU General Public License as published by
XCOMM the Free Software Foundation; either version 2, or (at your option)
XCOMM any later version.
XCOMM
XCOMM This program is distributed in the hope that it will be useful,
XCOMM but WITHOUT ANY WARRANTY; without even the implied warranty of
XCOMM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
XCOMM GNU General Public License for more details.
XCOMM
XCOMM You should have received a copy of the GNU General Public License
XCOMM along with GNU Emacs; see the file COPYING.  If not, write to the
XCOMM Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
XCOMM
XCOMM Commentary:
XCOMM
XCOMM Change log:
XCOMM
XCOMM Last modified date: 8,Feb.1999
XCOMM
#if BuildCJlib || BuildCWnnClients
#define IHaveSubdirs
#endif

   INSTALLFLAGS = $(INSTINCFLAGS)

#if BuildCJlib || BuildCWnnClients
SUBDIRS = rk rk_p rk_z
#endif

#if BuildCserver
SERVERCDS = cserverrc cixing.data
#endif

#if BuildCWnnClients
CLIENTCDS = uum.msg \
	uumkey \
	uumkey_e \
	uumkey_p \
	uumrc \
	uumrc_p \
	uumrc_z \
	wnnstat.msg

CLIENTCDS2 = cvt_key_empty \
	cvt_key_tbl \
	cvt_key_tbl.ST \
	cvt_key_tbl.gm \
	cvt_key_tbl.kt \
	cvt_key_tbl.mv \
	cvt_key_tbl.vt
#endif

#if BuildCJlib || BuildCWnnClients
LIBCDS1 = cixing.data \
	libwnn.msg \
	wnnenvrc \
	wnnenvrc_Qi \
	wnnenvrc_QiR \
	wnnenvrc_R \
	wnnenvrc_Wu \
	wnnenvrc_WuR

LIBCDS2 = serverdefs
#endif

LINKS = $(CLIENTSCDS2) $(LIBCDS2)

all::

includes:: $(LINKS)

#if BuildCWnnClients
LinkSourceFile(cvt_key_empty,$(WNNCNVFILEDIR))
LinkSourceFile(cvt_key_tbl,$(WNNCNVFILEDIR))
LinkSourceFile(cvt_key_tbl.ST,$(WNNCNVFILEDIR))
LinkSourceFile(cvt_key_tbl.gm,$(WNNCNVFILEDIR))
#if defined(DguxArchitecture)
LinkFile(cvt_key_tbl.kt,$(WNNCNVFILEDIR)/cvt_key_tbl.at)
#else
LinkSourceFile(cvt_key_tbl.kt,$(WNNCNVFILEDIR))
#endif
LinkSourceFile(cvt_key_tbl.mv,$(WNNCNVFILEDIR))
LinkSourceFile(cvt_key_tbl.vt,$(WNNCNVFILEDIR))
#endif
#if BuildCJlib || BuildCWnnClients
LinkSourceFile(serverdefs,$(WNNJDSRC))
#endif

MakeDirectories(install,$(CWNNWNNDIR))
#if BuildCserver
InstallMultipleDest(install, $(SERVERCDS),$(CWNNWNNDIR))
#endif
#if BuildCWnnClients
InstallMultipleDest(install, $(CLIENTCDS),$(CWNNWNNDIR))
InstallMultipleDest(install, $(CLIENTCDS2),$(WNNWNNDIR))
#endif
#if BuildCJlib
InstallMultipleDest(install, $(LIBCDS1),$(CWNNWNNDIR))
InstallMultipleDest(install, $(LIBCDS2),$(WNNWNNDIR))
#endif

depend::

clean::
	$(RM) $(LINKS)
