0
|
1 #
|
|
2 # $Id: Makefile.R5ini,v 1.2.2.3 1999/04/01 05:59:12 nakanisi Exp $
|
|
3 #
|
|
4
|
|
5 # FreeWnn is a network-extensible Kana-to-Kanji conversion system.
|
|
6 # This file is part of FreeWnn.
|
|
7 #
|
|
8 # Copyright Kyoto University Research Institute for Mathematical Sciences
|
|
9 # 1987, 1988, 1989, 1990, 1991, 1992
|
|
10 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
|
11 # Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
|
12 #
|
|
13 # Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
|
14 #
|
|
15 # This program is free software; you can redistribute it and/or modify
|
|
16 # it under the terms of the GNU General Public License as published by
|
|
17 # the Free Software Foundation; either version 2, or (at your option)
|
|
18 # any later version.
|
|
19 #
|
|
20 # This program is distributed in the hope that it will be useful,
|
|
21 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
22 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
23 # GNU General Public License for more details.
|
|
24 #
|
|
25 # You should have received a copy of the GNU General Public License
|
|
26 # along with GNU Emacs; see the file COPYING. If not, write to the
|
|
27 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
28 #
|
|
29 # Commentary:
|
|
30 #
|
|
31 # Change log:
|
|
32 # '99/03/20 片山@PFU <kate@pfu.co.jp>
|
|
33 # コマンドの訂正(case → echo)及びエラー終了するように変更。
|
|
34 #
|
|
35 # Last modified date: 20,Mar.1999
|
|
36 #
|
|
37
|
|
38 # If TOP dir is not "../../mit", set TOP.
|
|
39 # If CONTRIBSRC is not "$(TOP)/../contrib", set CURRENT_DIR and ContribDir
|
|
40 # in a configration file.
|
|
41 SHELL = /bin/sh
|
|
42 RM = rm -f
|
|
43 MV = mv
|
|
44 MAKE = make
|
|
45 TOP = ../../../mit
|
|
46 CURRENT_DIR = ./../contrib/im/Xsi
|
|
47 CONFIGSRC = $(TOP)/config
|
|
48 IMAKESRC = $(CONFIGSRC)
|
|
49 IRULESRC = $(CONFIGSRC)
|
|
50 IMAKE = $(IMAKESRC)/imake
|
|
51 IMTOP = $(TOP)/$(CURRENT_DIR)
|
|
52 IMIRULESRC = $(IMTOP)/configR5
|
|
53 IMAKE_CMD = $(NEWTOP)$(IMAKE) -I$(NEWTOP)$(IMIRULESRC) -I$(NEWTOP)$(IRULESRC) $(IMAKE_DEFINES)
|
|
54
|
|
55 all:
|
|
56 @echo "Use make World instead, and set TOP and CONTRIBDIR if necessary"
|
|
57 @false
|
|
58
|
|
59 World::
|
|
60 @echo ""
|
|
61 @echo "Building Input Method."
|
|
62 @echo ""
|
|
63 @date
|
|
64 @echo ""
|
|
65 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
|
|
66 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
|
|
67 $(MAKE) $(MFLAGS) Makefiles
|
|
68 $(MAKE) $(MFLAGS) clean
|
|
69 $(MAKE) $(MFLAGS) includes
|
|
70 $(MAKE) $(MFLAGS) depend
|
|
71 $(MAKE) $(MFLAGS) $(WORLDOPTS)
|
|
72 @echo ""
|
|
73 @date
|
|
74 @echo ""
|
|
75 @echo "Full build of Input Method."
|
|
76 @echo ""
|
|
77
|
|
78 Everything::
|
|
79 @echo ""
|
|
80 @echo "Rebuilding Input Method."
|
|
81 @echo ""
|
|
82 @date
|
|
83 @echo ""
|
|
84 -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
|
|
85 $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
|
|
86 $(MAKE) $(MFLAGS) Makefiles
|
|
87 $(MAKE) $(MFLAGS) includes
|
|
88 $(MAKE) $(MFLAGS) depend
|
|
89 $(MAKE) $(MFLAGS) $(WORLDOPTS)
|
|
90 @echo ""
|
|
91 @date
|
|
92 @echo ""
|
|
93 @echo "Rebuild of Input Method."
|
|
94 @echo ""
|