1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
#
# $Id: Makefile.in,v 1.15 2007/06/23 16:34:22 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, 2007
#
# 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@
LOCAL_INSTFLAGS = $(INSTUUMFLAGS)
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)/`echo uum | sed '$(transform)'`
$(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
|