view Wnn/uum/Makefile.in @ 29:35bc1f2e3f14 default tip

minor fix
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 06 Mar 2010 23:55:24 +0900
parents bbc77ca4def5
children
line wrap: on
line source

#
#   $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