Mercurial > freewnn
comparison Wnn/uum/Makefile.in @ 0:bbc77ca4def5
initial import
author | Yoshiki Yazawa <yaz@cc.rim.or.jp> |
---|---|
date | Thu, 13 Dec 2007 04:30:14 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:bbc77ca4def5 |
---|---|
1 # | |
2 # $Id: Makefile.in,v 1.14 2006/03/04 19:01:46 aonoto Exp $ | |
3 # | |
4 | |
5 # | |
6 # FreeWnn is a network-extensible Kana-to-Kanji conversion system. | |
7 # This file is part of FreeWnn. | |
8 # | |
9 # Copyright Kyoto University Research Institute for Mathematical Sciences | |
10 # 1987, 1988, 1989, 1990, 1991, 1992 | |
11 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 | |
12 # Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 | |
13 # Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2005, 2006 | |
14 # | |
15 # Maintainer: FreeWnn Project | |
16 # | |
17 # This program is free software; you can redistribute it and/or modify | |
18 # it under the terms of the GNU General Public License as published by | |
19 # the Free Software Foundation; either version 2 of the License, or | |
20 # (at your option) any later version. | |
21 # | |
22 # This program is distributed in the hope that it will be useful, | |
23 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
24 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
25 # GNU General Public License for more details. | |
26 # | |
27 # You should have received a copy of the GNU General Public License | |
28 # along with this program; if not, write to the Free Software | |
29 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
30 # | |
31 | |
32 include @top_builddir@/makerule.mk | |
33 top_srcdir = @top_srcdir@ | |
34 top_builddir = @top_builddir@ | |
35 VPATH = @srcdir@ | |
36 | |
37 INSTALL = @INSTALL@ $(INSTALLFLAGS) | |
38 LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER) | |
39 | |
40 UUMOWNER = root | |
41 INCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANSRC) -I$(top_builddir) | |
42 DEFINES = $(WNNDEFINES) $(WNNLANGDEF) | |
43 # todo: should update configure to switch both WNNJLIB and WNNCONVLIB | |
44 # according to --with-wnn-libraries | |
45 LOCAL_LIBRARIES = $(WNNJLIB) $(WNNCONVLIB) @LIBS@ | |
46 # FIXME: libspt: need configure support ... | |
47 # LIBSPT_CFLAGS = @LIBSPT_CFLAGS@ | |
48 # LIBSPT_LIBS = @LIBSPT_LIBS@ | |
49 | |
50 SRC1= epilogue.c header.c kensaku.c kuten.c jis_in.c prologue.c touroku.c jikouho.c jutil.c w_string.c printf.c termio.c hinsi.c termcap.c ttyfdslot.c setutmp.c redraw.c history.c key_bind.c screen.c basic_op.c uif.c cursor.c jhlp.c select_ele.c inspect.c wnnrc_op.c functions.c | |
51 | |
52 OBJ1= epilogue.o header.o kensaku.o kuten.o jis_in.o prologue.o touroku.o jikouho.o jutil.o w_string.o printf.o termio.o hinsi.o termcap.o ttyfdslot.o setutmp.o redraw.o history.o key_bind.o screen.o basic_op.o uif.o cursor.o jhlp.o select_ele.o inspect.o wnnrc_op.o functions.o | |
53 | |
54 SRC2= $(WNNETCSRC)/bcopy.c | |
55 OBJ2= bcopy.o | |
56 SRC3= $(WNNETCSRC)/xutoj.c | |
57 OBJ3= xutoj.o | |
58 SRC4= $(WNNETCSRC)/server_env.c | |
59 OBJ4= server_env.o | |
60 SRC5= $(WNNETCSRC)/sstrings.c | |
61 OBJ5= sstrings.o | |
62 LOCAL_ETCSRCS= $(SRC2) $(SRC3) $(SRC4) $(SRC5) | |
63 LOCAL_ETCOBJS= $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) | |
64 SRCS= $(SRC1) $(LOCAL_ETCSRCS) | |
65 OBJS= $(OBJ1) $(LOCAL_ETCOBJS) | |
66 | |
67 all:: uum | |
68 | |
69 uum: $(OBJS) @DEPWNNJLIB@ $(WNNCONVLIB) | |
70 $(RM) $@ | |
71 $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@ | |
72 | |
73 clean:: | |
74 $(RM) -r .libs | |
75 $(RM) uum | |
76 | |
77 instclient:: install | |
78 | |
79 install:: uum | |
80 @if [ -d $(DESTDIR)$(JWNNBINDIR) ]; then set +x; \ | |
81 else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNBINDIR)); fi | |
82 $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) uum $(DESTDIR)$(JWNNBINDIR)/uum | |
83 | |
84 $(OBJ2) : $(SRC2) | |
85 $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c | |
86 | |
87 $(OBJ3) : $(SRC3) | |
88 $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c | |
89 | |
90 $(OBJ4) : $(SRC4) | |
91 $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c | |
92 | |
93 $(OBJ5) : $(SRC5) | |
94 $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c | |
95 | |
96 depend:: .depend | |
97 |