Mercurial > freewnn
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Wnn/uum/Makefile.in Thu Dec 13 04:30:14 2007 +0900 @@ -0,0 +1,97 @@ +# +# $Id: Makefile.in,v 1.14 2006/03/04 19:01:46 aonoto 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, 2005, 2006 +# +# Maintainer: FreeWnn Project +# +# 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_builddir@/makerule.mk + top_srcdir = @top_srcdir@ +top_builddir = @top_builddir@ + VPATH = @srcdir@ + +INSTALL = @INSTALL@ $(INSTALLFLAGS) +LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER) + + UUMOWNER = root + INCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANSRC) -I$(top_builddir) + DEFINES = $(WNNDEFINES) $(WNNLANGDEF) +# todo: should update configure to switch both WNNJLIB and WNNCONVLIB +# according to --with-wnn-libraries +LOCAL_LIBRARIES = $(WNNJLIB) $(WNNCONVLIB) @LIBS@ +# FIXME: libspt: need configure support ... +# LIBSPT_CFLAGS = @LIBSPT_CFLAGS@ +# LIBSPT_LIBS = @LIBSPT_LIBS@ + +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 + +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 + +SRC2= $(WNNETCSRC)/bcopy.c +OBJ2= bcopy.o +SRC3= $(WNNETCSRC)/xutoj.c +OBJ3= xutoj.o +SRC4= $(WNNETCSRC)/server_env.c +OBJ4= server_env.o +SRC5= $(WNNETCSRC)/sstrings.c +OBJ5= sstrings.o +LOCAL_ETCSRCS= $(SRC2) $(SRC3) $(SRC4) $(SRC5) +LOCAL_ETCOBJS= $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) +SRCS= $(SRC1) $(LOCAL_ETCSRCS) +OBJS= $(OBJ1) $(LOCAL_ETCOBJS) + +all:: uum + +uum: $(OBJS) @DEPWNNJLIB@ $(WNNCONVLIB) + $(RM) $@ + $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@ + +clean:: + $(RM) -r .libs + $(RM) uum + +instclient:: install + +install:: uum + @if [ -d $(DESTDIR)$(JWNNBINDIR) ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNBINDIR)); fi + $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) uum $(DESTDIR)$(JWNNBINDIR)/uum + +$(OBJ2) : $(SRC2) + $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + +$(OBJ3) : $(SRC3) + $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + +$(OBJ4) : $(SRC4) + $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + +$(OBJ5) : $(SRC5) + $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + +depend:: .depend +