Mercurial > freewnn
view Wnn/jserver/Makefile.in @ 23:e1aadb6dcbd4
- fixed the build rule for build_stamp.h. keywords in template for hg tip should surrounded by curly braces instead of hash marks.
- fixed usage of libtool in building jlib.V3. newer libtool does not work without mode specifier.
- replaced some libtool related files. (should remove these?)
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Fri, 23 Jan 2009 16:36:13 +0900 |
parents | bbc77ca4def5 |
children |
line wrap: on
line source
# # $Id: Makefile.in,v 1.18 2004/05/21 16:39:32 aono 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, 2003, 2004 # # Maintainer: FreeWnn Project <freewnn@tomo.gr.jp> # # 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@ srcdir = @srcdir@ VPATH = @srcdir@ top_builddir = @top_builddir@ INSTALL = @INSTALL@ $(INSTALLFLAGS) LOCAL_INSTFLAGS = -o $(WNNOWNER) JSERVERDEFINES = -DJSERVER -DWRITE_CHECK INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir) -I$(srcdir) DEFINES = $(WNNDEFINES) $(JSERVERDEFINES) $(WNNTERM) SERVERINITDEF = -DSERVER_INIT_FILE=\"/$(JWNNLANG)/jserverrc\" HINSIDEFINES = -DHINSIDATA_FILE=\"/$(JWNNLANG)/hinsi.data\" WRAPLIB = @WRAPLIB@ SRC0= de.c SRC1= dispatch.c do_dic_env.c do_dic_no.c do_filecom.c error.c jbiki.c jbiki_b.c jishoop.c rd_jishoop.c readfile.c b_index.c jishosub.c jmt0.c mknode0.c mknode1.c mknode2.c renbn_kai.c bnsetu_kai.c daibn_kai.c jikouho.c jikouho_d.c fzk.c atojis.c get_kaiarea.c snd_rcv.c do_henkan.c do_henkan1.c do_env.c do_hindo_s.c initjserv.c hinsi_list.c sisheng.c w_string.c OBJ0= de.o OBJ1= dispatch.o do_dic_env.o do_dic_no.o do_filecom.o error.o jbiki.o jbiki_b.o jishoop.o rd_jishoop.o readfile.o b_index.o jishosub.o jmt0.o mknode0.o mknode1.o mknode2.o renbn_kai.o bnsetu_kai.o daibn_kai.o jikouho.o jikouho_d.o fzk.o atojis.o get_kaiarea.o snd_rcv.o do_henkan.o do_henkan1.o do_env.o do_hindo_s.o initjserv.o hinsi_list.o sisheng.o w_string.o SRC3= $(WNNJLIBSRC)/wnnerrmsg.c OBJ3= wnnerrmsg.o SRC4= $(WNNETCSRC)/strings.c OBJ4= strings.o SRC5= $(WNNETCSRC)/sstrings.c OBJ5= sstrings.o SRC6= $(WNNETCSRC)/bdic.c OBJ6= bdic.o SRC7= $(WNNETCSRC)/dic_atojis.c OBJ7= dic_atojis.o SRCGETHINSI= $(WNNETCSRC)/gethinsi.c OBJGETHINSI= gethinsi.o SRC9= $(WNNETCSRC)/revdic.c OBJ9= revdic.o SRC10= $(WNNETCSRC)/hindo.c OBJ10= hindo.o SRC11= $(WNNETCSRC)/pwd.c OBJ11= pwd.o SRC12= $(WNNETCSRC)/bcopy.c OBJ12= bcopy.o SRC13= $(WNNETCSRC)/msg.c OBJ13= msg.o SRC14= $(WNNETCSRC)/xutoj.c OBJ14= xutoj.o SRC20= $(WNNETCSRC)/getopt.c OBJ20= getopt.o SRC21= $(WNNETCSRC)/getopt1.c OBJ21= getopt1.o OBJSUPPORT = @JS_SUPPORTOBJS@ SRCS= $(SRC0) $(SRC1) $(SRC3) $(SRC4) $(SRC5) $(SRC6) $(SRC7) $(SRCGETHINSI) \ $(SRC9) $(SRC10) $(SRC11) $(SRC12) $(SRC13) $(SRC14) $(SRC20) $(SRC21) OBJS= $(OBJ0) $(OBJ1) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJGETHINSI) \ $(OBJ9) $(OBJ10) $(OBJ11) $(OBJ12) $(OBJ13) $(OBJ14) $(OBJSUPPORT) \ $(OBJ20) $(OBJ21) all:: jserver jserver: $(OBJS) $(RM) $@ $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) @LIBS@ $(WRAPLIB) clean:: $(RM) jserver $(RM) -r .libs $(RM) *.lo *.la instserver:: install install:: jserver @if [ -d $(DESTDIR)$(JWNNBINDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNBINDIR)); fi $(LIBTOOL) --mode=install $(INSTALL) $(INSTPGMFLAGS) $(INSTUIDFLAGS) $(LOCAL_INSTFLAGS) jserver $(DESTDIR)$(JWNNBINDIR)/jserver $(OBJ0) : $(SRC0) $(CC) -c $(CFLAGS) $(SERVERINITDEF) $(SOLINGERDEFS) $(srcdir)/`basename $@ .o`.c $(OBJ3) : $(SRC3) $(CC) -c $(CFLAGS) $(WNNJLIBSRC)/`basename $@ .o`.c $(OBJ4) : $(SRC4) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ5) : $(SRC5) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ6) : $(SRC6) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ7) : $(SRC7) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJGETHINSI) : $(SRCGETHINSI) $(CC) -c $(CFLAGS) $(HINSIDEFINES) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ9) : $(SRC9) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ10) : $(SRC10) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ11) : $(SRC11) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ12) : $(SRC12) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ13) : $(SRC13) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ14) : $(SRC14) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ20) : $(SRC20) $(WNNINCLUDESRC)/getopt.h $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c $(OBJ21) : $(SRC21) $(WNNINCLUDESRC)/getopt.h $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c vasprintf.o : $(WNNETCSRC)/vasprintf.c $(CC) -c $(CFLAGS) $? mkdir.o : $(WNNETCSRC)/mkdir.c $(CC) -c $(CFLAGS) $?