# # $Id: Makefile.in,v 1.13 2005/11/20 16:10:28 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 # # 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) LOCAL_LIBRARIES = $(WNNJLIB) $(WNNCONVLIB) @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) $@ $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(WNNTERM_LIB) clean:: $(RM) -r .libs $(RM) uum instclient:: install install:: uum @if [ -d $(DESTDIR)$(JWNNBINDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNBINDIR)); fi $(LIBTOOL) --mode=install $(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