Import of pkgsrc-2014Q1
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
# $NetBSD: Makefile,v 1.11 2011/09/13 07:23:16 mef Exp $
|
||||
# $NetBSD: Makefile,v 1.12 2013/10/15 06:25:37 mef Exp $
|
||||
|
||||
.include "Makefile.common"
|
||||
|
||||
PKGNAME= ja-FreeWnn-lib-1.11alpha22
|
||||
# DISTFILE now includes all patches, the same PKGNAME, almost the same binary
|
||||
# but build is different, and binary may not be exactly the same
|
||||
PKGREVISION= 1
|
||||
|
||||
COMMENT+= (Japanese client library)
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# $NetBSD: Makefile.common,v 1.18 2013/06/10 03:09:01 dholland Exp $
|
||||
# $NetBSD: Makefile.common,v 1.19 2013/10/15 06:25:37 mef Exp $
|
||||
# used by inputmethod/ja-freewnn-server/Makefile
|
||||
# used by inputmethod/ja-freewnn-lib/Makefile
|
||||
|
||||
DISTNAME= FreeWnn-1.1.1-a021
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=freewnn/17724/} \
|
||||
DISTNAME= FreeWnn-1.1.1-a022
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=freewnn/59257/} \
|
||||
ftp://ftp.st.ryukoku.ac.jp/pub/japanese-im/FreeWnn/
|
||||
CATEGORIES= inputmethod
|
||||
|
||||
|
||||
@@ -1,74 +1,6 @@
|
||||
$NetBSD: distinfo,v 1.11 2011/09/13 07:23:16 mef Exp $
|
||||
$NetBSD: distinfo,v 1.12 2013/10/15 06:25:37 mef Exp $
|
||||
|
||||
SHA1 (FreeWnn-1.1.1-a021.tar.gz) = 9fec62d6f0a584f4ccfdc879687bf2726b86df47
|
||||
RMD160 (FreeWnn-1.1.1-a021.tar.gz) = e16b39b572cc368a705bf24fbb87dedf8d8940de
|
||||
Size (FreeWnn-1.1.1-a021.tar.gz) = 3617618 bytes
|
||||
SHA1 (patch-CONTRIBUTORS) = d266fbd7f46b37aea0872f111ec8399590986b08
|
||||
SHA1 (patch-ChangeLog) = 465a0ffd0cbe0741470c5f13628a69c02561c705
|
||||
SHA1 (patch-ChangeLog.en) = 9a25261d0988171c8a41f5dc6819709c69479463
|
||||
SHA1 (patch-Contrib_dic_gerodic_Makefile.in) = c0e4cfd5d4a91d87b5e91ccbc6f1224229a66b67
|
||||
SHA1 (patch-INSTALL) = 1adeeea9147a3d1343df61df0a1e426c8ff7fd27
|
||||
SHA1 (patch-INSTALL.en) = f47e38aa5a46926d733b92df5e6e8d0320dd852f
|
||||
SHA1 (patch-Makefile.in) = 2a7867f909e01af1c7a4d7db3c950de9f5cbc68c
|
||||
SHA1 (patch-PubdicPlus_pod.c) = 1d6b66c7772299a0f15d08b5dc2a5197bc3b7f32
|
||||
SHA1 (patch-Wnn_Makefile.in) = ecadaaaba0f8ba98b2aae0d44fd2b40f90f8632c
|
||||
SHA1 (patch-Wnn_conv_cvt__head.h) = 23a4e8652117708b76e875e1b53b30e4cff70916
|
||||
SHA1 (patch-Wnn_conv_cvt__read.c) = 7ab3255f6dc81787ffa6826f1f51b3f7dccce905
|
||||
SHA1 (patch-Wnn_include_commonhd.h) = 476d644af23b455a511ea86067b08751c989a910
|
||||
SHA1 (patch-Wnn_include_jllib.h) = c1a787d10d3eaca5a987d76f625c2921f6c0f304
|
||||
SHA1 (patch-Wnn_include_jslib.h) = 8bf82de6cf46fbe52b2c7fb2f6a11a3332487ed0
|
||||
SHA1 (patch-Wnn_include_wnn__os.h) = 59ade03300429d8dfc33065fb9fed413316ae033
|
||||
SHA1 (patch-Wnn_jlib.V3_Makefile.in) = 696609aec7a42a8d83eb26fbe530186e4ddfacc9
|
||||
SHA1 (patch-Wnn_jlib_Makefile.in) = 0cf9edcefd68fdf58e2daacc18843dd960e86cb2
|
||||
SHA1 (patch-Wnn_jserver_Makefile.in) = 5627dfbe6dd8a585a2561c6bbef78698b515ba27
|
||||
SHA1 (patch-Wnn_jserver_de__header.h) = 714639d77f07fe91fb5235db1e7c907c2bff3f82
|
||||
SHA1 (patch-Wnn_jserver_renbn__kai.c) = eebf524ad171d49fe7a630e7599715f0cbc2c18a
|
||||
SHA1 (patch-Wnn_jutil_Makefile.in) = 2d4bb490b2b84e240e6ca3b805f4bf1296b23972
|
||||
SHA1 (patch-Wnn_jutil_ujisf.c) = 182dd1677fd261444f693ea9208d7100878f4673
|
||||
SHA1 (patch-Wnn_man_2.env_wnn_2b__romkan.man) = 5662c5e2d107a5c2392052f93d30269b6a00be76
|
||||
SHA1 (patch-Wnn_man_4.cmd_Makefile.in) = e3447e1fd6ad7a1f5f62ccfe6b0d6f1ec2083e5a
|
||||
SHA1 (patch-Wnn_man_6.jutil_Makefile.in) = 44010d0db4fc3fab32779cd6068e5ea280743460
|
||||
SHA1 (patch-Wnn_manual_2.env_wnn_2b__romkana) = e02b0d905957670a83b307c507cf42c0a1461ff0
|
||||
SHA1 (patch-Wnn_pubdicplus_Makefile.in) = ecdceea5ae48700a9554769de2cfaf6615e657ee
|
||||
SHA1 (patch-Wnn_romkan_Makefile.in) = 5b32541fd3c5948e93aeb12d329854cb7bbbbb3a
|
||||
SHA1 (patch-Wnn_uum_Makefile.in) = f4609dae969bd4cab1cc5549a6439bc6ca5f3fea
|
||||
SHA1 (patch-Wnn_uum_basic__op.c) = 4e83cd2bfb5f6256a3cb24da2faa4637358bb3d5
|
||||
SHA1 (patch-Wnn_uum_epilogue.c) = c0c8937f932ea5f88aeee4542a11ce6c2838cc18
|
||||
SHA1 (patch-Wnn_uum_header.c) = 633c1498283a0f7cde2689c7f7e00b8d578a22a6
|
||||
SHA1 (patch-Wnn_uum_hinsi.c) = fed5b127f0b9690c96554faad0ac28c60cebb532
|
||||
SHA1 (patch-Wnn_uum_jhlp.c) = 1eb0c5f7d9bbd7a43fe898c2ba19b45525b2f255
|
||||
SHA1 (patch-Wnn_uum_jikouho.c) = ace7f19c0b0b4796559a0744d7da9ab12f2c4c1b
|
||||
SHA1 (patch-Wnn_uum_printf.c) = 863f6dafe7e9271a10465614dc4aa32a4295d688
|
||||
SHA1 (patch-Wnn_uum_sdefine.h) = e286bbb6eb7ec2fb3846f97d48d8462a647343de
|
||||
SHA1 (patch-Wnn_uum_setutmp.c) = 7259fdec5c975435e4750c528e49f35bf115d9f3
|
||||
SHA1 (patch-Wnn_uum_sheader.h) = 75015835b05c92947cb2efa1e992282e30237c18
|
||||
SHA1 (patch-Wnn_uum_termcap.c) = a27ddf00b16de74084f86a9aafd9c1645653ee50
|
||||
SHA1 (patch-Wnn_uum_termio.c) = c57582336fd5a94d073d7795d5852c6fe56b6623
|
||||
SHA1 (patch-Wnn_uum_touroku.c) = 2b3890220fe20f79583a9e8ef14d78fda49aa06f
|
||||
SHA1 (patch-aclocal.m4) = 883a7db7666ea03e61aed95900ca56150c4b135a
|
||||
SHA1 (patch-cWnn_Makefile.in) = c03dbd8492c7914f7c9d1ca3c3bc7c110806a109
|
||||
SHA1 (patch-cWnn_cdic_Makefile.in) = d3a5d81b3e50f455d13815280cd8f1bf6b9f61c6
|
||||
SHA1 (patch-cWnn_jlib_Makefile.in) = fffa48c9a2891b5240a49c699cb5a20b1a297b7d
|
||||
SHA1 (patch-cWnn_jserver_Makefile.in) = 443625fb83356c62d38795d4e1c0d5c1ef97e3bc
|
||||
SHA1 (patch-cWnn_jutil_Makefile.in) = 3e23ba23b453dd49fa703c76ad0626015db48978
|
||||
SHA1 (patch-cWnn_man_2.env_ckey.man) = f0ccf53a8907b7fd4e1f5e835a855826e5ce0d8f
|
||||
SHA1 (patch-cWnn_man_4.cmd_Makefile.in) = ce2d1bfb332a8a60ec4cd90a169a555bbea8738b
|
||||
SHA1 (patch-cWnn_man_6.jutil_Makefile.in) = 521d372977d095666cef5f76590546ce638df1b8
|
||||
SHA1 (patch-cWnn_romkan_Makefile.in) = 447b60c7ece313337f8b4cf64d566218ee0400e3
|
||||
SHA1 (patch-cWnn_tdic_Makefile.in) = 29f0a39e9321906250041d9a5661272a539fd598
|
||||
SHA1 (patch-cWnn_uum_Makefile.in) = b600c3693f7d13fb5fcf3020f3aaa657fd3bd5ca
|
||||
SHA1 (patch-config.guess) = 7ec197c7acd7d30b710980c6192b181988c94e04
|
||||
SHA1 (patch-config.h.in) = 86d2136d77de53551f73550edb93fd3751a213f0
|
||||
SHA1 (patch-config.sub) = 7559286d131f783873f1fdb4218f65ca813b2ed9
|
||||
SHA1 (patch-configure) = 538ae7cbe6c354eaeb967e9928ba6503cb8bc7a8
|
||||
SHA1 (patch-configure.in) = 0fc409da3fc1cb888e60a9a4140be6a7f27b9e01
|
||||
SHA1 (patch-kWnn_Makefile.in) = 10b587a04c1426f5c597bbe1348e0b89ad523c33
|
||||
SHA1 (patch-kWnn_jlib_Makefile.in) = 47a2c15fa9a2fd46fc1be5bdb82f411f5cf0fc0b
|
||||
SHA1 (patch-kWnn_jserver_Makefile.in) = 0a59e11b28a1168028ec176ce226b08554ea7273
|
||||
SHA1 (patch-kWnn_jutil_Makefile.in) = f7f2ecf2d82b804b89f67e7849001e05e432a129
|
||||
SHA1 (patch-kWnn_kdic_Makefile.in) = 5920cd464833a2aa18f54e02217748c8c2cdb432
|
||||
SHA1 (patch-kWnn_romkan_Makefile.in) = 5ccccf5c0e5d0965d3203bf03c84d9817c08f9dd
|
||||
SHA1 (patch-kWnn_uum_Makefile.in) = 0fade22c5cffabeff5c743c85f8c9077831a9598
|
||||
SHA1 (patch-ltmain.sh) = 291d07960a3553fe3b24ffb1e6844cf89c8e520f
|
||||
SHA1 (patch-makerule.mk.in) = 2fd873224c1a4bba5ba5bea454b7f9964e750e88
|
||||
SHA1 (patch-makerule.mk.in-2) = 3c27d57081ac5937bb280c1b8cdaf12e489d2384
|
||||
SHA1 (FreeWnn-1.1.1-a022.tar.gz) = 659ab9db35e7a92189671ea6be17f138c24913d3
|
||||
RMD160 (FreeWnn-1.1.1-a022.tar.gz) = ae8373cb1522de9170bab01a185287c325368749
|
||||
Size (FreeWnn-1.1.1-a022.tar.gz) = 3702026 bytes
|
||||
SHA1 (patch-makerule.mk.in) = 3c27d57081ac5937bb280c1b8cdaf12e489d2384
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
$NetBSD: patch-CONTRIBUTORS,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- CONTRIBUTORS.orig 2005-04-10 15:26:36.000000000 +0000
|
||||
+++ CONTRIBUTORS
|
||||
@@ -60,6 +60,8 @@ FreeWnn 1.1.1 (予定)
|
||||
Keiji Wada - 和田@川崎 <keiji@hiemalis.org>
|
||||
Kazuo ISHIDA - いしだ@NEC <ishidakz@hml.cl.nec.co.jp>
|
||||
Yukihiro Nakai
|
||||
+ AIDA Shinra and Canna contributors
|
||||
+ Taketo Kabe
|
||||
|
||||
Pubdic+ 部分
|
||||
SUNAGAWA Keiki <kei_sun@ba2.so-net.ne.jp>
|
||||
@@ -1,15 +0,0 @@
|
||||
$NetBSD: patch-ChangeLog,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- ChangeLog.orig 2005-11-29 17:30:42.000000000 +0000
|
||||
+++ ChangeLog
|
||||
@@ -82,7 +82,7 @@ Mon, 11 Apr 2005 00:26:36 Tomoki AONO <
|
||||
Changed license of libwnn-related files to LGPL-2.0.
|
||||
Thanks to the original Wnn authors and FreeWnn contributors.
|
||||
|
||||
- And thanks to Yukihiro Nagai (and tyoshida) for coordination
|
||||
+ And thanks to Yukihiro Nakai (and tyoshida) for coordination
|
||||
of this relicensing.
|
||||
|
||||
Mon, 31 Jan 2005 02:14:20 Tomoki AONO <aonoto at users.sourceforge.jp>
|
||||
@@ -1,15 +0,0 @@
|
||||
$NetBSD: patch-ChangeLog.en,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- ChangeLog.en.orig 2005-11-29 17:30:42.000000000 +0000
|
||||
+++ ChangeLog.en
|
||||
@@ -76,7 +76,7 @@ Mon, 11 Apr 2005 00:26:36 Tomoki AONO <
|
||||
Changed license of libwnn-related files to LGPL-2.0.
|
||||
Thanks to the original Wnn authors and FreeWnn contributors.
|
||||
|
||||
- And thanks to Yukihiro Nagai (and tyoshida) for coordination
|
||||
+ And thanks to Yukihiro Nakai (and tyoshida) for coordination
|
||||
of this relicensing.
|
||||
|
||||
Mon, 31 Jan 2005 02:14:20 Tomoki AONO <aonoto at users.sourceforge.jp>
|
||||
@@ -1,45 +0,0 @@
|
||||
$NetBSD: patch-Contrib_dic_gerodic_Makefile.in,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Contrib/dic/gerodic/Makefile.in.orig 2001-08-14 13:43:20.000000000 +0000
|
||||
+++ Contrib/dic/gerodic/Makefile.in
|
||||
@@ -31,11 +31,14 @@
|
||||
# '99/04/19 TAOKA Satoshi - 田岡 智志<taoka@infonets.hiroshima-u.ac.jp>
|
||||
# インストールディレクトリを変更可能にする
|
||||
#
|
||||
-# Last modified date: 19,Apr.1999
|
||||
+# More changes are described in ChangeLog file or CVS commit log.
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+ srcdir = @srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
+ WNNJUTILOBJ = $(top_builddir)/Wnn/jutil
|
||||
|
||||
# Makefile for gerodic 1.00
|
||||
#
|
||||
@@ -46,17 +49,17 @@ INSTALL = @INSTALL@ $(INSTALLFLA
|
||||
LOCAL_INSTFLAGS = -o ${WNNOWNER}
|
||||
|
||||
#ATOD=${JWNNBINDIR}/atod
|
||||
-ATOD=${WNNJUTILSRC}/atod
|
||||
+ATOD=${WNNJUTILOBJ}/atod
|
||||
|
||||
#WNNTOUCH=${WNNBINDIR}/wnntouch
|
||||
-WNNTOUCH=${WNNJUTILSRC}/wnntouch
|
||||
+WNNTOUCH=${WNNJUTILOBJ}/wnntouch
|
||||
|
||||
#HINSI=${JWNNWNNDIR}/hinsi.data
|
||||
HINSI=${PUBDICPLUSSRC}/hinsi.data
|
||||
|
||||
GERODIR=${JWNNDICDIR}/gerodic
|
||||
|
||||
-SRC=g-jinmei.u
|
||||
+SRC=$(srcdir)/g-jinmei.u
|
||||
OBJ=g-jinmei.dic
|
||||
|
||||
all:: ${OBJ}
|
||||
@@ -1,121 +0,0 @@
|
||||
$NetBSD: patch-INSTALL,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- INSTALL.orig 2004-05-21 16:39:31.000000000 +0000
|
||||
+++ INSTALL
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2002
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -55,19 +55,33 @@
|
||||
|
||||
$ make
|
||||
|
||||
-5. スーパーユーザーになって make install します
|
||||
+5. (サーバを構築する場合は)ユーザー wnn を作成します
|
||||
+
|
||||
+ 既にユーザー wnn が存在する場合は不要です。
|
||||
+ ユーザー wnnでログインする必要はないため、パスワードをロック(または相当の
|
||||
+ 状態に)しておいて下さい。
|
||||
+ ユーザーの作成方法は
|
||||
+ お使いのシステムに依存しますので、詳細はそのシステムのマニュアル
|
||||
+ などを参照してください。
|
||||
+
|
||||
+ 注3: [cjkt]server はシステムやファイルへの影響を少なくするため、
|
||||
+ ユーザー wnn の権限で動作します。また、ローカルユーザが誰でも
|
||||
+ 起動できるようにユーザー wnn に setuidした状態でインストール
|
||||
+ されます。
|
||||
+
|
||||
+6. スーパーユーザーになって make install します
|
||||
|
||||
$ su
|
||||
# make install
|
||||
|
||||
- 注3: 現在のところ、スーパーユーザー以外でのインストールはうまく行
|
||||
+ 注4: 現在のところ、スーパーユーザー以外でのインストールはうまく行
|
||||
きません。
|
||||
|
||||
-6. マニュアルをインストールします
|
||||
+7. マニュアルをインストールします
|
||||
|
||||
# make install.man
|
||||
|
||||
- 注4: マニュアルが不要であれば省略して構いません。
|
||||
+ 注5: マニュアルが不要であれば省略して構いません。
|
||||
|
||||
|
||||
【configure のオプション】
|
||||
@@ -88,16 +102,52 @@ FreeWnn 独自の configure option のうち、
|
||||
--enable-Wnn Wnn (日本語) を作成及びインストールします。
|
||||
--enable-cWnn cWnn (中国語) を作成及びインストールします。
|
||||
--enable-kWnn kWnn (韓国語) を作成及びインストールします。
|
||||
+ --enable-traditional-layout
|
||||
+ 無効にした場合、近年のソフトが
|
||||
+ よく利用するディレクトリ構成でインストールしようとします。
|
||||
+ 有効のままの場合は、従来のWnn4のインストール先に
|
||||
+ 準じたディレクトリ構成でインストールします。(注6)
|
||||
|
||||
default で無効なもの:
|
||||
--enable-ipv6 IPv6 を有効にします。
|
||||
--enable-unsafe-path jserverdir 以外のディレクトリに jserver がファイル
|
||||
- を作成するのを許可します。(注5)
|
||||
- --enable-client uum を作成及びインストールします。(注6)
|
||||
+ を作成するのを許可します。(注7)
|
||||
+ --enable-client uum を作成及びインストールします。
|
||||
+
|
||||
+ configure中で必要性・ライブラリの存在を確認するもの:
|
||||
--with-libwrap TCP wrapperのlibwrapを使用し、jserverの接続時点での
|
||||
- アクセス制限を可能にします。(注7)
|
||||
+ アクセス制限を可能にします。(注8)
|
||||
+ --enable-client-utmp (uumを作成する場合)uumが確保した擬似端末情報を
|
||||
+ utmpに登録し、whoコマンドなどで参照できるように
|
||||
+ します。(一部のシステムを除き有効になります)
|
||||
+ --enable-client-setuid[=user]
|
||||
+ (uumを作成する場合)指定したuser(未指定の場合は
|
||||
+ root)でset-uidしてuumをインストールします。
|
||||
+ このオプション自体を指定しない場合は、判別結果に
|
||||
+ より必要な場合はset-uidします。
|
||||
+ --enable-client-setgid=group
|
||||
+ (uumを作成する場合)指定したgroupでset-gidして
|
||||
+ uumをインストールします。前述のオプションと異なり、
|
||||
+ groupは必ず指定する必要があります。
|
||||
+ このオプション自体を指定しない場合は、判別結果に
|
||||
+ より必要な場合はset-gidします。
|
||||
+ --enable-sub-bindir コマンド類をインストールする際、言語別に
|
||||
+ 「Wnn4」などのサブディレクトリを作成するかどうかを
|
||||
+ 制御します。指定しない場合は、
|
||||
+ --enable-traditional-layout オプションが有効の時には
|
||||
+ 有効、無効の時には無効となります。(注6)
|
||||
+
|
||||
+注6: いわゆるFHS (File Hierarchy Standard)に近づけることを意図しています。
|
||||
+ 現時点ではパラメータにより、インストールするパスに以下の変化があります。
|
||||
+
|
||||
+ (ファイル) enable disable
|
||||
+ jserver, wnnstat, wnnkill $(bindir)/*Wnn4 $(sbindir)
|
||||
+ その他のコマンド類 $(bindir)/*Wnn4 $(bindir)
|
||||
|
||||
-注5: [cjkt]server は、任意の host からの要求を受け付けてしまいます。
|
||||
+ 「*Wnn4」は言語に応じて「Wnn4」「cWnn4」「kWnn4」のいずれかが利用されます。
|
||||
+ 「*Wnn4」を作成するかどうかは --enable-sub-bindir で制御できます。
|
||||
+
|
||||
+注7: [cjkt]server は、任意の host からの要求を受け付けてしまいます。
|
||||
--enable-unsafe-path を有効にすると、任意の host から jserver 実行ユーザー
|
||||
の権限で、任意の path に Wnn の辞書ファイルを作成することができてしまい
|
||||
ます。従来、home directory など、lib/wnn/$LANG/dic/usr 以外に辞書ファイ
|
||||
@@ -107,6 +157,4 @@ FreeWnn 独自の configure option のうち、
|
||||
(通常は /usr/local/lib/wnn/$LANG/dic) 以下に辞書ファイルを作成することは
|
||||
防げません。
|
||||
|
||||
-注6: cuum はまだ compile 出来ません。
|
||||
-
|
||||
-注7: --enable-ipv6と同時に指定する場合、libwrapもIPv6対応である必要があります。
|
||||
+注8: --enable-ipv6と同時に指定する場合、libwrapもIPv6対応である必要があります。
|
||||
@@ -1,117 +0,0 @@
|
||||
$NetBSD: patch-INSTALL.en,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- INSTALL.en.orig 2004-05-21 16:39:31.000000000 +0000
|
||||
+++ INSTALL.en
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2002
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2007, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -54,19 +54,29 @@
|
||||
|
||||
$ make
|
||||
|
||||
-5. To install commands, libraries, dictionaries and so on,
|
||||
- run make install as a superuser(*3).
|
||||
+5. (If you build server,) add user named `wnn'.
|
||||
+
|
||||
+ You don't need to add `wnn' if it exists. We don't login as `wnn',
|
||||
+ so please lock password (or equivalent state). Please refer
|
||||
+ to administration manual of your system to add user `wnn'.
|
||||
+
|
||||
+ *3: jserver (and [ckt]server) runs as user `wnn' to reduce affect
|
||||
+ system and files. We install them as setuid `wnn',
|
||||
+ so any local user can run jserver.
|
||||
+
|
||||
+6. To install commands, libraries, dictionaries and so on,
|
||||
+ run make install as a superuser(*4).
|
||||
|
||||
$ su
|
||||
# make install
|
||||
|
||||
- *3: Currently, install target does not work well for other user.
|
||||
+ *4: Currently, install target does not work well for other user.
|
||||
|
||||
-6. To install manuals, you should do the following as a superuser
|
||||
+7. To install manuals, you should do the following as a superuser
|
||||
|
||||
# make install.man
|
||||
|
||||
- *4: You can ommit this if you do not want manuals installed.
|
||||
+ *5: You can ommit this if you do not want manuals installed.
|
||||
|
||||
[Configure options]
|
||||
|
||||
@@ -88,21 +98,56 @@ Below are the main configure option of F
|
||||
--enable-Wnn compile and install Wnn (Japanese).
|
||||
--enable-cWnn compile and install cWnn (Chinese).
|
||||
--enable-kWnn compile and install kWnn (Korean).
|
||||
+ --enable-traditional-layout
|
||||
+ If disabled, install files in modern layout.
|
||||
+ If leave enabled, install files in Wnn4 compatible
|
||||
+ directories. (*6)
|
||||
|
||||
disabled by default:
|
||||
--enable-ipv6 enable IPv6 feature.
|
||||
- --enable-unsafe-path allow creating files in jserver_dir (*5).
|
||||
- --enable-client compile and install uum (*6).
|
||||
+ --enable-unsafe-path allow creating files in jserver_dir (*7).
|
||||
+ --enable-client compile and install uum.
|
||||
+
|
||||
+ auto determine by default:
|
||||
--with-libwrap use libwrap (in TCP wrapper) for jserver
|
||||
- to enable connection-based access control (*7).
|
||||
+ to enable connection-based access control (*8).
|
||||
+ --enable-client-utmp (if --enable-client specified,) uum register
|
||||
+ pseudo tty information to utmp. (Except some systems,
|
||||
+ it is enabled by default.)
|
||||
+ --enable-client-setuid[=user]
|
||||
+ (if --enable-client specified,) install uum as set-uid
|
||||
+ program with specified user (root by default).
|
||||
+ If this option (itself) is not specified,
|
||||
+ configure determine if set-uid install is needed.
|
||||
+ --enable-client-setgid=group
|
||||
+ (if --enable-client specified,) install uum as set-gid
|
||||
+ program with specified group (you must specify group).
|
||||
+ If this option (itself) is not specified,
|
||||
+ configure determine if set-gid install is needed.
|
||||
+ --enable-sub-bindir Control if we install commands to separate sub directory
|
||||
+ by language (ex. Japanese commands to $(bindir)/Wnn4).
|
||||
+ If this option is not specified, it relies on
|
||||
+ --enable-traditional-layout option. (Enable if
|
||||
+ --enable-traditional-layout specified, disable
|
||||
+ otherwise.) (*6)
|
||||
+
|
||||
+*6: We intend to follow installation path like FHS (File Hierarchy
|
||||
+ Standard). Currently difference between specifying parameter
|
||||
+ --enable-traditional-layout or not is following:
|
||||
+
|
||||
+ Files If enabled If disabled
|
||||
+ jserver, wnnstat, wnnkill $(bindir)/*Wnn4 $(sbindir)
|
||||
+ Other commands $(bindir)/*Wnn4 $(bindir)
|
||||
+
|
||||
+ Note the name of sub directory "*Wnn4" depends on language (Wnn4,
|
||||
+ cWnn4, kWnn4). You can control whether you use "*Wnn4" by specifing
|
||||
+ --enable-sub-bindir option.
|
||||
|
||||
-*5: If the option --enable-unsafe-path is enabled, the [cjkt]server
|
||||
+*7: If the option --enable-unsafe-path is enabled, the [cjkt]server
|
||||
daemons accept creation of an FreeWnn dictionary file in an arbitrary
|
||||
path, and they accept request from client of any hosts.
|
||||
This feature may be a security hole.
|
||||
Unless you used to place FreeWnn dictionary files in a path other than
|
||||
jserver_dir (lib/wnn/$LANG/dic/usr), you should not enable this feature.
|
||||
|
||||
-*6: cuum cannot be compiled yet.
|
||||
-
|
||||
-*7: If you specify --enable-ipv6, libwrap need to support IPv6 also.
|
||||
+*8: If you specify --enable-ipv6, libwrap need to support IPv6 also.
|
||||
@@ -1,79 +0,0 @@
|
||||
$NetBSD: patch-Makefile.in,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Makefile.in.orig 2003-05-11 18:22:54.000000000 +0000
|
||||
+++ Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -114,26 +114,6 @@ man_keywords::
|
||||
# ----------------------------------------------------------------------
|
||||
# rules for building in SUBDIRS - do not edit
|
||||
|
||||
-install::
|
||||
- @for flag in ${MAKEFLAGS} ''; do \
|
||||
- case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
- for i in $(SUBDIRS) ;\
|
||||
- do \
|
||||
- echo "installing" "in $(CURRENT_DIR)/$$i..."; \
|
||||
- (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
||||
- DESTDIR=$(DESTDIR) install); \
|
||||
- done
|
||||
-
|
||||
-install.man::
|
||||
- @for flag in ${MAKEFLAGS} ''; do \
|
||||
- case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
- for i in $(SUBDIRS) ;\
|
||||
- do \
|
||||
- echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
|
||||
- (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
||||
- DESTDIR=$(DESTDIR) install.man); \
|
||||
- done
|
||||
-
|
||||
install.linkkit::
|
||||
@for flag in ${MAKEFLAGS} ''; do \
|
||||
case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
@@ -144,16 +124,6 @@ install.linkkit::
|
||||
DESTDIR='$(DESTDIR)' install.linkkit); \
|
||||
done
|
||||
|
||||
-clean::
|
||||
- @for flag in ${MAKEFLAGS} ''; do \
|
||||
- case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
- for i in $(SUBDIRS) ;\
|
||||
- do \
|
||||
- echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
|
||||
- (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
||||
- clean); \
|
||||
- done
|
||||
-
|
||||
tags::
|
||||
@for flag in ${MAKEFLAGS} ''; do \
|
||||
case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
@@ -164,16 +134,6 @@ tags::
|
||||
TAGS='$(TAGS)' tags); \
|
||||
done
|
||||
|
||||
-includes::
|
||||
- @for flag in ${MAKEFLAGS} ''; do \
|
||||
- case "$$flag" in *=*) ;; *[ik]*) set +e;; esac; done; \
|
||||
- for i in $(SUBDIRS) ;\
|
||||
- do \
|
||||
- echo including "in $(CURRENT_DIR)/$$i..."; \
|
||||
- (cd $$i && $(MAKE) $(MFLAGS) $(PARALLELMFLAGS) \
|
||||
- includes); \
|
||||
- done
|
||||
-
|
||||
# ----------------------------------------------------------------------
|
||||
# dependencies generated by makedepend
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
$NetBSD: patch-PubdicPlus_pod.c,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- PubdicPlus/pod.c.orig 2005-11-29 17:00:02.000000000 +0000
|
||||
+++ PubdicPlus/pod.c
|
||||
@@ -130,7 +130,7 @@ struct dicpack
|
||||
|
||||
#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(_WIN32)
|
||||
/* Prototype for C89 (or later) */
|
||||
-#ifndef POD_WCHAR
|
||||
+#ifdef POD_WCHAR
|
||||
size_t Mbstowcs (Wchar *d, char *ss, int n);
|
||||
size_t Wcstombs (char *d, Wchar *s, int n);
|
||||
int Wscmp (register Wchar *s1, register Wchar *s2);
|
||||
@@ -139,7 +139,7 @@ int Wslen (Wchar *s);
|
||||
int Watoi (Wchar *s);
|
||||
static void Fputws (Wchar *s, FILE *f);
|
||||
Wchar *Fgetws (Wchar *buf, int siz, FILE *f);
|
||||
-#endif /* !POD_WCHAR */
|
||||
+#endif /* POD_WCHAR */
|
||||
|
||||
static int all_kana (Wchar *s);
|
||||
static Wchar *findslash (Wchar *s);
|
||||
@@ -1,43 +0,0 @@
|
||||
$NetBSD: patch-Wnn_Makefile.in,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/Makefile.in.orig 2001-09-16 11:42:58.000000000 +0000
|
||||
+++ Wnn/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,8 +29,8 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
WNNOWNER= wnn
|
||||
|
||||
@@ -56,11 +56,11 @@ JLIBV3DIR = jlib.V3
|
||||
|
||||
UUMDIR = uum
|
||||
|
||||
-LIB_SUBDIRS = $(JDDIR) $(JLIBDIR) $(WNNCLIENTSDIR) $(WNNMANDIR) $(WNNENVDIR) $(JLIBV3DIR)
|
||||
+LIB_SUBDIRS = $(JDDIR) $(JLIBDIR) $(WNNMANDIR) $(WNNENVDIR) $(JLIBV3DIR)
|
||||
|
||||
SERVER_SUBDIRS = $(JSERVERDIR) $(WNNJUTILDIR) $(PUBDICPLUSDIR) $(WNNCONSDIR) $(WNNMANDIR)
|
||||
|
||||
-CLIENT_SUBDIRS = $(UUMDIR)
|
||||
+CLIENT_SUBDIRS = $(WNNCLIENTSDIR) $(UUMDIR)
|
||||
|
||||
SUBDIRS = @SUBDIRS@
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
$NetBSD: patch-Wnn_conv_cvt__head.h,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/conv/cvt_head.h.orig 2002-03-21 03:32:45.000000000 +0000
|
||||
+++ Wnn/conv/cvt_head.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -40,11 +40,11 @@
|
||||
|
||||
#include "commonhd.h"
|
||||
|
||||
-#if defined(luna) || defined(DGUX)
|
||||
+#if defined(luna) || defined(DGUX) || defined(hpux) || defined(sun)
|
||||
#ifndef SUPPORT_TWODIGIT_FUNCTIONS
|
||||
#define SUPPORT_TWODIGIT_FUNCTIONS
|
||||
#endif /* SUPPORT_TWODIGIT_FUNCTIONS */
|
||||
-#endif /* defined(luna) || defined(DGUX) */
|
||||
+#endif /* defined(luna) || defined(DGUX) || defined(hpux) || defined(sun) */
|
||||
|
||||
#define BITSIZ (sizeof(int) * 8)
|
||||
#define CHANGE_MAX 4 /* 変換テーブルの最大個数÷BITSIZを下回らない整数 */
|
||||
@@ -1,158 +0,0 @@
|
||||
$NetBSD: patch-Wnn_conv_cvt__read.c,v 1.1 2011/09/13 07:23:16 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/conv/cvt_read.c.orig 2002-04-03 04:16:19.000000000 +0000
|
||||
+++ Wnn/conv/cvt_read.c
|
||||
@@ -10,9 +10,10 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2003, 2006
|
||||
+ * Copyright Taketo Kabe 2003
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -52,16 +53,91 @@
|
||||
#if HAVE_FCNTL_H
|
||||
# include <fcntl.h>
|
||||
#endif
|
||||
+#ifdef HAVE_UNISTD_H
|
||||
+# include <unistd.h>
|
||||
+#endif
|
||||
|
||||
-#include "cvt_head.h"
|
||||
+/* Solaris 2.x needs termio.h , so include both. */
|
||||
+#if HAVE_TERMIOS_H
|
||||
+# include <termios.h>
|
||||
+#endif
|
||||
+#if HAVE_TERMIO_H
|
||||
+# include <termio.h>
|
||||
+#endif
|
||||
+
|
||||
+#if defined(HAVE_TERMIOS_H)
|
||||
+/* # include <termios.h> */
|
||||
+# define USE_TERMIOS 1
|
||||
+#elif defined(HAVE_TERMIO_H)
|
||||
+/* # include <termio.h> */
|
||||
+# define USE_TERMIO 1
|
||||
+#elif defined(HAVE_SYS_TERMIO_H)
|
||||
+# include <sys/termio.h>
|
||||
+# define USE_TERMIO 1
|
||||
+#elif defined(HAVE_SGTTY_H)
|
||||
+# include <sgtty.h>
|
||||
+# define USE_SGTTY
|
||||
+#else
|
||||
+# error "No termio header."
|
||||
+#endif /* HAVE_TERMIOS_H */
|
||||
|
||||
-#ifdef SYSVR2
|
||||
-#ifdef TERMINFO
|
||||
-#include <curses.h>
|
||||
-#endif /* TERMINFO */
|
||||
-#include <term.h>
|
||||
+#ifdef HAVE_TERMINFO
|
||||
+# define TERMINFO 1
|
||||
+#else
|
||||
+# define TERMCAP 1
|
||||
+#endif /* HAVE_TERMINFO */
|
||||
+
|
||||
+/* ncurses' term.h defines them to either 0 or 1! */
|
||||
+#ifndef HAVE_TERMIOS_H
|
||||
+# define DONT_HAVE_TERMIOS_H
|
||||
+#endif
|
||||
+#ifndef HAVE_TERMIO_H
|
||||
+# define DONT_HAVE_TERMIO_H
|
||||
+#endif
|
||||
+#ifndef HAVE_SYS_TERMIO_H
|
||||
+# define DONT_HAVE_SYS_TERMIO_H
|
||||
+#endif
|
||||
+#ifndef HAVE_SGTTY_H
|
||||
+# define DONT_HAVE_SGTTY_H
|
||||
+#endif
|
||||
+
|
||||
+#if defined(HAVE_TERMINFO)
|
||||
+# if defined(HAVE_CURSES_H)
|
||||
+# include <curses.h>
|
||||
+# elif defined(HAVE_NCURSES_H)
|
||||
+# include <ncurses.h>
|
||||
+# else
|
||||
+# error "no terminfo header"
|
||||
+# endif /* HAVE_CURSES_H */
|
||||
+# ifdef HAVE_TERM_H
|
||||
+# include <term.h>
|
||||
+# endif
|
||||
+#else /* HAVE_TERMINFO */
|
||||
+# if defined(HAVE_TERMCAP_H)
|
||||
+# include <termcap.h>
|
||||
+# endif /* HAVE_TERMCAP_H */
|
||||
+#endif /* HAVE_TERMINFO */
|
||||
+
|
||||
+#ifdef DONT_HAVE_TERMIOS_H
|
||||
+# undef HAVE_TERMIOS_H
|
||||
+# undef DONT_HAVE_TERMIOS_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_TERMIO_H
|
||||
+# undef HAVE_TERMIO_H
|
||||
+# undef DONT_HAVE_TERMIO_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_SYS_TERMIO_H
|
||||
+# undef HAVE_SYS_TERMIO_H
|
||||
+# undef DONT_HAVE_SYS_TERMIO_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_SGTTY_H
|
||||
+# undef HAVE_SGTTY_H
|
||||
+# undef DONT_HAVE_SGTTY_H
|
||||
#endif
|
||||
|
||||
+#include "wnn_os.h"
|
||||
+#include "cvt_head.h"
|
||||
+
|
||||
#define ENTRY_LEN 10 /* コンバート表のエントリ名の最大長 */
|
||||
|
||||
/*
|
||||
@@ -455,6 +531,40 @@ convert_getstrs (flg)
|
||||
keydef_key[i++] = stradd (&tdataptr, key_f29);
|
||||
keydef_key[i++] = stradd (&tdataptr, key_f30);
|
||||
keydef_key[i++] = stradd (&tdataptr, key_f31);
|
||||
+# ifndef uniosu
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f32);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f33);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f34);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f35);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f36);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f37);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f38);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f39);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f40);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f41);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f42);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f43);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f44);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f45);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f46);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f47);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f48);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f49);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f50);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f51);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f52);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f53);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f54);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f55);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f56);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f57);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f58);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f59);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f60);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f61);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f62);
|
||||
+ keydef_key[i++] = stradd (&tdataptr, key_f63);
|
||||
+# endif /* !uniosu */
|
||||
#endif /* SUPPORT_TWODIGIT_FUNCTIONS */
|
||||
/* 以下順に
|
||||
"kcuu1", "kcuf1", "kcub1", "kcud1", "khome",
|
||||
@@ -1,99 +0,0 @@
|
||||
$NetBSD: patch-Wnn_include_commonhd.h,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/include/commonhd.h.orig 2005-04-10 15:26:37.000000000 +0000
|
||||
+++ Wnn/include/commonhd.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2005, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * Maintainer: FreeWnn Project
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#define JSERVER_VERSION 0x4200 /* minor version */
|
||||
-#define _SERVER_VERSION "FreeWnn 1.1.0 pl21"
|
||||
+#define _SERVER_VERSION "FreeWnn 1.1.0 pl22"
|
||||
|
||||
#include "wnnerror.h"
|
||||
|
||||
@@ -75,9 +75,6 @@ typedef unsigned char UCHAR;
|
||||
# ifndef SYSVR2
|
||||
# define SYSVR2
|
||||
# endif
|
||||
-# ifndef TERMINFO
|
||||
-# define TERMINFO
|
||||
-# endif
|
||||
#else /* if defined(MACH) || defined(uniosb) */
|
||||
# ifndef BSD42
|
||||
# define BSD42
|
||||
@@ -90,34 +87,22 @@ typedef unsigned char UCHAR;
|
||||
# define BSD44
|
||||
# endif
|
||||
# endif /* defined(luna68k) */
|
||||
-# ifndef TERMCAP
|
||||
-# define TERMCAP
|
||||
-# endif
|
||||
#endif
|
||||
#else /* defined(luna) */
|
||||
#if defined(sun) && !defined(SVR4)
|
||||
# ifndef BSD42
|
||||
# define BSD42
|
||||
# endif
|
||||
-# ifndef TERMCAP
|
||||
-# define TERMCAP
|
||||
-# endif
|
||||
#else /* sun else */
|
||||
#if defined(DGUX) || defined(linux)
|
||||
# ifndef SYSVR2
|
||||
# define SYSVR2
|
||||
# endif
|
||||
-# ifndef TERMCAP
|
||||
-# define TERMCAP
|
||||
-# endif
|
||||
#else
|
||||
-#if defined(SVR4) || defined(hpux)
|
||||
+#if defined(SVR4) || defined(hpux) || defined(SYSV) || defined(USG)
|
||||
# ifndef SYSVR2
|
||||
# define SYSVR2
|
||||
# endif
|
||||
-# ifndef TERMINFO
|
||||
-# define TERMINFO
|
||||
-# endif
|
||||
# ifdef sun
|
||||
# define SOLARIS
|
||||
# endif
|
||||
@@ -128,22 +113,19 @@ typedef unsigned char UCHAR;
|
||||
# ifndef BSD42
|
||||
# define BSD42
|
||||
# endif
|
||||
-# ifndef TERMCAP
|
||||
-# define TERMCAP
|
||||
-# endif
|
||||
-#endif /* defined(SVR4) || defined(hpux) */
|
||||
+#endif /* defined(SVR4) || defined(hpux) || defined(SYSV) || defined(USG) */
|
||||
#endif /* DGUX */
|
||||
#endif /* sun */
|
||||
#endif /* luna */
|
||||
|
||||
-#if defined(SVR4) || defined(hpux)
|
||||
+#if defined(SVR4) || defined(hpux) || defined(SYSV) || defined(USG)
|
||||
#ifndef F_OK
|
||||
#define F_OK 0
|
||||
#endif
|
||||
#ifndef R_OK
|
||||
#define R_OK 4
|
||||
#endif
|
||||
-#endif
|
||||
+#endif /* defined(SVR4) || defined(hpux) || defined(SYSV) || defined(USG) */
|
||||
|
||||
#define MAXBUNSETSU 80
|
||||
#define LIMITBUNSETSU 400
|
||||
@@ -1,144 +0,0 @@
|
||||
$NetBSD: patch-Wnn_include_jllib.h,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/include/jllib.h.orig 2005-04-10 15:26:37.000000000 +0000
|
||||
+++ Wnn/include/jllib.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2008
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * Maintainer: FreeWnn Project
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -39,6 +39,9 @@
|
||||
|
||||
#include "jslib.h"
|
||||
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
|
||||
/*
|
||||
ユーザープログラムは、直接この構造体の内容をアクセスする必要は無いはず。
|
||||
@@ -248,59 +251,65 @@ struct wnn_buf
|
||||
#define jl_set_lang(buf, lang) js_set_lang((buf)->env, lang)
|
||||
|
||||
/* extern function defines */
|
||||
-extern struct wnn_buf *jl_open_lang ();
|
||||
-extern struct wnn_env *jl_connect_lang ();
|
||||
-extern struct wnn_env *jl_env_get ();
|
||||
-extern struct wnn_jdata *jl_word_info_e ();
|
||||
-extern w_char *jl_hinsi_name_e ();
|
||||
-
|
||||
-extern void jl_close ();
|
||||
-extern int jl_dic_add_e ();
|
||||
-extern int jl_dic_comment_set_e ();
|
||||
-extern int jl_dic_delete_e ();
|
||||
-extern int jl_dic_list_e ();
|
||||
-extern int jl_dic_save_all_e ();
|
||||
-extern int jl_dic_save_e ();
|
||||
-extern int jl_dic_use_e ();
|
||||
-extern void jl_disconnect ();
|
||||
-extern void jl_disconnect_if_server_dead ();
|
||||
-extern void jl_env_set ();
|
||||
-extern int jl_fuzokugo_get_e ();
|
||||
-extern int jl_fuzokugo_set_e ();
|
||||
-extern void jl_get_zenkouho_kanji ();
|
||||
-extern int jl_hinsi_dicts_e ();
|
||||
-extern int jl_hinsi_list_e ();
|
||||
-extern int jl_hinsi_number_e ();
|
||||
-extern int jl_isconnect_e ();
|
||||
-extern int jl_kanji_len ();
|
||||
-extern int jl_kill ();
|
||||
-extern int jl_nobi_conv ();
|
||||
-extern int jl_nobi_conv_e2 ();
|
||||
-extern int jl_param_get_e ();
|
||||
-extern int jl_param_set_e ();
|
||||
-extern int jl_ren_conv ();
|
||||
-extern int jl_set_env_wnnrc ();
|
||||
-extern int jl_set_env_wnnrc1 ();
|
||||
-extern int jl_set_jikouho ();
|
||||
-extern int jl_set_jikouho_dai ();
|
||||
-extern int jl_tan_conv ();
|
||||
-extern int jl_update_hindo ();
|
||||
-extern int jl_word_add_e ();
|
||||
-extern int jl_word_comment_set_e ();
|
||||
-extern int jl_word_delete_e ();
|
||||
-extern int jl_word_search_by_env_e ();
|
||||
-extern int jl_word_search_e ();
|
||||
-extern int jl_word_use_e ();
|
||||
-extern int jl_yomi_len ();
|
||||
-extern int jl_zenkouho ();
|
||||
-extern int jl_zenkouho_dai ();
|
||||
-extern int wnn_get_area ();
|
||||
+/* Note: FRWNN_PARAMS is defined in jslib.h . */
|
||||
+
|
||||
+extern struct wnn_buf *jl_open_lang FRWNN_PARAMS((char *env_n, char *server_n, char *lang, char *wnnrc_n, int (*error_handler) (), int (*message_handler) (), int timeout));
|
||||
+extern struct wnn_env *jl_connect_lang FRWNN_PARAMS((register char *env_n, register char *server_n, register char *lang, register char *wnnrc_n, int (*error_handler) (), int (*message_handler) (), int timeout));
|
||||
+extern struct wnn_env *jl_env_get FRWNN_PARAMS((register struct wnn_buf *buf));
|
||||
+extern struct wnn_jdata *jl_word_info_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, int entry));
|
||||
+extern w_char *jl_hinsi_name_e FRWNN_PARAMS((register struct wnn_env *env, register int no));
|
||||
+
|
||||
+extern void jl_close FRWNN_PARAMS((register struct wnn_buf *buf));
|
||||
+extern int jl_dic_add_e FRWNN_PARAMS((register struct wnn_env *env, char *dic_name, char *hindo_name, int rev, int prio, int rw, int hrw, char *pwd_dic, char *pwd_hindo, int (*error_handler) (), int (*message_handler) () ));
|
||||
+extern int jl_dic_comment_set_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, w_char *comment));
|
||||
+extern int jl_dic_delete_e FRWNN_PARAMS((register struct wnn_env *env, register int dic_no));
|
||||
+extern int jl_dic_list_e FRWNN_PARAMS((struct wnn_env *env, WNN_DIC_INFO **dicinfo));
|
||||
+extern int jl_dic_save_all_e FRWNN_PARAMS((struct wnn_env *env));
|
||||
+extern int jl_dic_save_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no));
|
||||
+extern int jl_dic_use_e FRWNN_PARAMS((struct wnn_env *env, int dic_no, int flag));
|
||||
+extern void jl_disconnect FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern void jl_disconnect_if_server_dead FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern void jl_env_set FRWNN_PARAMS((register struct wnn_buf *buf, register struct wnn_env *env));
|
||||
+extern int jl_fuzokugo_get_e FRWNN_PARAMS((register struct wnn_env *env, char *fname));
|
||||
+extern int jl_fuzokugo_set_e FRWNN_PARAMS((struct wnn_env *env, char *fname));
|
||||
+extern void jl_get_zenkouho_kanji FRWNN_PARAMS((register struct wnn_buf *buf, int zen_num, w_char *area));
|
||||
+extern int jl_hinsi_dicts_e FRWNN_PARAMS((register struct wnn_env *env, int no, int **area));
|
||||
+extern int jl_hinsi_list_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, w_char *name, w_char ***area));
|
||||
+extern int jl_hinsi_number_e FRWNN_PARAMS((register struct wnn_env *env, w_char *name));
|
||||
+extern int jl_isconnect_e FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern int jl_kanji_len FRWNN_PARAMS((struct wnn_buf *buf, register int bun_no, register int bun_no2));
|
||||
+extern int jl_kill FRWNN_PARAMS((struct wnn_buf *buf, register int bun_no, register int bun_no2));
|
||||
+extern int jl_nobi_conv FRWNN_PARAMS((register struct wnn_buf *buf, register int bun_no, int ichbn_len, register int bun_no2, int use_maep, int ich_shop));
|
||||
+extern int jl_nobi_conv_e2 FRWNN_PARAMS((register struct wnn_buf *buf, struct wnn_env *env, register int bun_no, int ichbn_len, register int bun_no2, int use_maep, int ich_shop));
|
||||
+extern int jl_param_get_e FRWNN_PARAMS((struct wnn_env *env, struct wnn_param *para));
|
||||
+extern int jl_param_set_e FRWNN_PARAMS((register struct wnn_env *env, struct wnn_param *para));
|
||||
+extern int jl_ren_conv FRWNN_PARAMS((register struct wnn_buf *buf, register w_char *yomi, int bun_no, int bun_no2, int use_maep));
|
||||
+extern int jl_set_env_wnnrc FRWNN_PARAMS((register struct wnn_env *env, char *wnnrc_n, int (*error_handler) (), int (*message_handler) () ));
|
||||
+extern int jl_set_env_wnnrc1 FRWNN_PARAMS((register struct wnn_env *env, char *wnnrc_n, int (*error_handler) (), int (*message_handler) (), int level));
|
||||
+extern int jl_set_jikouho FRWNN_PARAMS((register struct wnn_buf *buf, register int offset));
|
||||
+extern int jl_set_jikouho_dai FRWNN_PARAMS((register struct wnn_buf *buf, int offset));
|
||||
+extern int jl_tan_conv FRWNN_PARAMS((register struct wnn_buf *buf, w_char *yomi, register int bun_no, register int bun_no2, int use_maep, int ich_shop));
|
||||
+extern int jl_update_hindo FRWNN_PARAMS((register struct wnn_buf *buf, int bun_no, int bun_no2));
|
||||
+extern int jl_word_add_e FRWNN_PARAMS((struct wnn_env *env, int dic_no, w_char *yomi, w_char *kanji, w_char *comment, int hinsi, int init_hindo));
|
||||
+extern int jl_word_comment_set_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, int entry, w_char *comment));
|
||||
+extern int jl_word_delete_e FRWNN_PARAMS((struct wnn_env *env, int dic_no, int entry));
|
||||
+extern int jl_word_search_by_env_e FRWNN_PARAMS((register struct wnn_env *env, w_char *yomi, struct wnn_jdata **jdp));
|
||||
+extern int jl_word_search_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, w_char *yomi, struct wnn_jdata **jdp));
|
||||
+extern int jl_word_use_e FRWNN_PARAMS((register struct wnn_env *env, int dic_no, int entry));
|
||||
+extern int jl_yomi_len FRWNN_PARAMS((struct wnn_buf *buf, register int bun_no, register int bun_no2));
|
||||
+extern int jl_zenkouho FRWNN_PARAMS((register struct wnn_buf *buf, int bun_no, int use_maep, int uniq_level));
|
||||
+extern int jl_zenkouho_dai FRWNN_PARAMS((register struct wnn_buf *buf, int bun_no, int bun_no2, int use_maep, int uniq_level));
|
||||
+extern int wnn_get_area FRWNN_PARAMS((struct wnn_buf *buf, register int bun_no, register int bun_no2, w_char *area, int kanjip));
|
||||
|
||||
-extern char *wnn_perror ();
|
||||
-extern char *wnn_perror_lang ();
|
||||
+extern char *wnn_perror FRWNN_PARAMS((void));
|
||||
+extern char *wnn_perror_lang FRWNN_PARAMS((char *lang));
|
||||
|
||||
#ifdef CONVERT_by_STROKE
|
||||
-extern void jl_get_zenkouho_yomi ();
|
||||
+extern void jl_get_zenkouho_yomi FRWNN_PARAMS((register struct wnn_buf *buf, int zen_num, w_char *area));
|
||||
+#endif
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
#endif
|
||||
|
||||
#endif /* WNN_JLLIB_H */
|
||||
@@ -1,180 +0,0 @@
|
||||
$NetBSD: patch-Wnn_include_jslib.h,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/include/jslib.h.orig 2005-04-10 15:26:37.000000000 +0000
|
||||
+++ Wnn/include/jslib.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2008
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * Maintainer: FreeWnn Project
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -42,6 +42,10 @@
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
#define JLIB_VERSION 0x4003
|
||||
|
||||
#ifndef w_char
|
||||
@@ -399,70 +403,87 @@ struct wnn_file_head
|
||||
#define js_open(server, timeout) js_open_lang(server, "ja_JP", timeout)
|
||||
#define js_connect(server,env_name) js_connect_lang(server, env_name, "ja_JP")
|
||||
|
||||
-extern WNN_JSERVER_ID *js_open_lang ();
|
||||
-extern int js_close ();
|
||||
-extern WNN_JSERVER_ID *js_change_current_jserver ();
|
||||
-extern struct wnn_env *js_connect_lang ();
|
||||
-extern int js_disconnect ();
|
||||
-extern int js_env_list ();
|
||||
-extern int js_param_set ();
|
||||
-extern int js_param_get ();
|
||||
-extern char *js_get_lang ();
|
||||
+#ifndef FRWNN_PARAMS
|
||||
+/*
|
||||
+ * I currently think ANSI-C is not sufficiant on building your clients
|
||||
+ * linked with libwnn. (aonoto)
|
||||
+ */
|
||||
+#if __STDC__ /* Sufficient? */
|
||||
+#define FRWNN_PARAMS(paramlist) paramlist
|
||||
+#else
|
||||
+#define FRWNN_PARAMS(paramlist) ()
|
||||
+#endif
|
||||
+#endif
|
||||
+
|
||||
+extern WNN_JSERVER_ID *js_open_lang FRWNN_PARAMS((register char *server, register char *lang, register int timeout));
|
||||
+extern int js_close FRWNN_PARAMS((WNN_JSERVER_ID *server));
|
||||
+/* extern WNN_JSERVER_ID *js_change_current_jserver (); */ /* Not exist? */
|
||||
+extern struct wnn_env *js_connect_lang FRWNN_PARAMS((WNN_JSERVER_ID *server, register char *env_name, char *lang));
|
||||
+extern int js_disconnect FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern int js_env_list FRWNN_PARAMS((WNN_JSERVER_ID *server, struct wnn_ret_buf *ret));
|
||||
+extern int js_param_set FRWNN_PARAMS((struct wnn_env *env, register struct wnn_param *para));
|
||||
+extern int js_param_get FRWNN_PARAMS((struct wnn_env *env, register struct wnn_param *para));
|
||||
+extern char *js_get_lang FRWNN_PARAMS((struct wnn_env *env));
|
||||
/**************************************/
|
||||
-extern int js_access ();
|
||||
-extern int js_dic_add ();
|
||||
-extern int js_dic_delete ();
|
||||
-extern int js_dic_file_create ();
|
||||
-extern int js_dic_file_create_client ();
|
||||
-extern int js_dic_info ();
|
||||
-extern int js_dic_list ();
|
||||
-extern int js_dic_list_all ();
|
||||
-extern int js_dic_use ();
|
||||
-extern int js_env_exist ();
|
||||
-extern int js_env_sticky ();
|
||||
-extern int js_env_un_sticky ();
|
||||
-extern int js_file_comment_set ();
|
||||
-extern int js_file_discard ();
|
||||
-extern int js_file_info ();
|
||||
-extern int js_file_list ();
|
||||
-extern int js_file_list_all ();
|
||||
-extern int js_file_loaded ();
|
||||
-extern int js_file_loaded_local ();
|
||||
-extern int js_file_password_set ();
|
||||
-extern int js_file_read ();
|
||||
-extern int js_file_receive ();
|
||||
-extern int js_file_remove ();
|
||||
-extern int js_file_remove_client ();
|
||||
-extern int js_file_send ();
|
||||
-extern int js_file_stat ();
|
||||
-extern int js_file_write ();
|
||||
-extern void js_flush ();
|
||||
-extern int js_fuzokugo_get ();
|
||||
-extern int js_fuzokugo_set ();
|
||||
-extern int js_hindo_file_create ();
|
||||
-extern int js_hindo_file_create_client ();
|
||||
-extern int js_hindo_set ();
|
||||
-extern int js_hinsi_dicts ();
|
||||
-extern int js_hinsi_list ();
|
||||
-extern int js_hinsi_name ();
|
||||
-extern int js_hinsi_number ();
|
||||
-extern int js_hinsi_table_set ();
|
||||
-extern int js_isconnect ();
|
||||
-extern int js_kanren ();
|
||||
-extern int js_kantan_dai ();
|
||||
-extern int js_kantan_sho ();
|
||||
-extern int js_kanzen_dai ();
|
||||
-extern int js_kanzen_sho ();
|
||||
-extern int js_kill ();
|
||||
-extern int js_mkdir ();
|
||||
-extern int js_version ();
|
||||
-extern int js_who ();
|
||||
-extern int js_word_add ();
|
||||
-extern int js_word_comment_set ();
|
||||
-extern int js_word_delete ();
|
||||
-extern int js_word_info ();
|
||||
-extern int js_word_search ();
|
||||
-extern int js_word_search_by_env ();
|
||||
+extern int js_access FRWNN_PARAMS((struct wnn_env *env, char *path, int amode));
|
||||
+extern int js_dic_add FRWNN_PARAMS((struct wnn_env *env, int fid, int hfid, int rev,int jnice, int rw, int hrw, char *pw1, char *pw2));
|
||||
+extern int js_dic_delete FRWNN_PARAMS((struct wnn_env *env, int dicno));
|
||||
+extern int js_dic_file_create FRWNN_PARAMS((struct wnn_env *env, char *fn, int type, w_char *comment, char *passwd, char *hpasswd));
|
||||
+extern int js_dic_file_create_client FRWNN_PARAMS((struct wnn_env *env, char *fn, int type, w_char *comment, char *passwd, char *hpasswd));
|
||||
+extern int js_dic_info FRWNN_PARAMS((struct wnn_env *env, int dic_no, register WNN_DIC_INFO *ret));
|
||||
+extern int js_dic_list FRWNN_PARAMS((struct wnn_env *env, struct wnn_ret_buf *ret));
|
||||
+extern int js_dic_list_all FRWNN_PARAMS((WNN_JSERVER_ID *server, struct wnn_ret_buf *ret));
|
||||
+extern int js_dic_use FRWNN_PARAMS((struct wnn_env *env, int dic_no, int flag));
|
||||
+extern int js_env_exist FRWNN_PARAMS((register WNN_JSERVER_ID *server, register char *env_name));
|
||||
+extern int js_env_sticky FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern int js_env_un_sticky FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern int js_file_comment_set FRWNN_PARAMS((struct wnn_env *env, int fid, w_char *comment));
|
||||
+extern int js_file_discard FRWNN_PARAMS((struct wnn_env *env, int fid));
|
||||
+extern int js_file_info FRWNN_PARAMS((struct wnn_env *env, int fid, register WNN_FILE_INFO_STRUCT *file));
|
||||
+extern int js_file_list FRWNN_PARAMS((struct wnn_env *env, struct wnn_ret_buf *ret));
|
||||
+extern int js_file_list_all FRWNN_PARAMS((WNN_JSERVER_ID *server, struct wnn_ret_buf *ret));
|
||||
+extern int js_file_loaded FRWNN_PARAMS((WNN_JSERVER_ID *server, char *path));
|
||||
+extern int js_file_loaded_local FRWNN_PARAMS((WNN_JSERVER_ID *server, char *path));
|
||||
+extern int js_file_password_set FRWNN_PARAMS((struct wnn_env *env, int fid, int which, char *old_passwd, char *new_passwd));
|
||||
+extern int js_file_read FRWNN_PARAMS((struct wnn_env *env, char *fn));
|
||||
+extern int js_file_receive FRWNN_PARAMS((struct wnn_env *env, int fid, char *fn));
|
||||
+extern int js_file_remove FRWNN_PARAMS((WNN_JSERVER_ID *server, char *n, char *pwd));
|
||||
+extern int js_file_remove_client FRWNN_PARAMS((WNN_JSERVER_ID *server, char *n, char *pwd));
|
||||
+extern int js_file_send FRWNN_PARAMS((struct wnn_env *env, char *fn));
|
||||
+extern int js_file_stat FRWNN_PARAMS((struct wnn_env *env, char *path, WNN_FILE_STAT *s));
|
||||
+extern int js_file_write FRWNN_PARAMS((struct wnn_env *env, int fid, char *fn));
|
||||
+extern void js_flush FRWNN_PARAMS((struct wnn_env *env));
|
||||
+extern int js_fuzokugo_get FRWNN_PARAMS((struct wnn_env *env));
|
||||
+extern int js_fuzokugo_set FRWNN_PARAMS((struct wnn_env *env, int fid));
|
||||
+extern int js_hindo_file_create FRWNN_PARAMS((struct wnn_env *env, int fid, char *fn, w_char *comment, char *hpasswd));
|
||||
+extern int js_hindo_file_create_client FRWNN_PARAMS((struct wnn_env *env, int fid, char *fn, w_char *com, char *hpasswd));
|
||||
+extern int js_hindo_set FRWNN_PARAMS((struct wnn_env *env, int dic, int entry, int ima, int hindo));
|
||||
+extern int js_hinsi_dicts FRWNN_PARAMS((struct wnn_env *env, int no, struct wnn_ret_buf *rb));
|
||||
+extern int js_hinsi_list FRWNN_PARAMS((struct wnn_env *env, int dic_no, w_char *name, struct wnn_ret_buf *rb));
|
||||
+extern int js_hinsi_name FRWNN_PARAMS((WNN_JSERVER_ID *server, int no, struct wnn_ret_buf *rb));
|
||||
+extern int js_hinsi_number FRWNN_PARAMS((WNN_JSERVER_ID *server, w_char *name));
|
||||
+extern int js_hinsi_table_set FRWNN_PARAMS((struct wnn_env *env, int dic_no, w_char *hinsi_table));
|
||||
+extern int js_isconnect FRWNN_PARAMS((register struct wnn_env *env));
|
||||
+extern int js_kanren FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, int hinsi, w_char *fzk, int vec, int vec1, int vec2, struct wnn_ret_buf *rb));
|
||||
+extern int js_kantan_dai FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, int hinsi, w_char *fzk, int vec, int vec1, struct wnn_ret_buf *rb));
|
||||
+extern int js_kantan_sho FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, int hinsi, w_char *fzk, int vec, int vec1, struct wnn_ret_buf *rb));
|
||||
+extern int js_kanzen_dai FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, int hinsi, w_char *fzk, int vec, int vec1, struct wnn_ret_buf *rb));
|
||||
+extern int js_kanzen_sho FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, int hinsi, w_char *fzk, int vec, int vec1, struct wnn_ret_buf *rb));
|
||||
+extern int js_kill FRWNN_PARAMS((WNN_JSERVER_ID *server));
|
||||
+extern int js_mkdir FRWNN_PARAMS((struct wnn_env *env, char *path));
|
||||
+extern int js_version FRWNN_PARAMS((WNN_JSERVER_ID *server, int *serv, int *libv));
|
||||
+extern int js_who FRWNN_PARAMS((WNN_JSERVER_ID *server, struct wnn_ret_buf *ret));
|
||||
+extern int js_word_add FRWNN_PARAMS((struct wnn_env *env, int dic_no, w_char *yomi, w_char *kanji, w_char *comment, int hinshi, int init_hindo));
|
||||
+extern int js_word_comment_set FRWNN_PARAMS((struct wnn_env *env, int dic_no, int entry, w_char *comment));
|
||||
+extern int js_word_delete FRWNN_PARAMS((struct wnn_env *env, int dic_no, int entry));
|
||||
+extern int js_word_info FRWNN_PARAMS((struct wnn_env *env, int dic_no, int entry, struct wnn_ret_buf *ret));
|
||||
+extern int js_word_search FRWNN_PARAMS((struct wnn_env *env, int dic_no, w_char *yomi, struct wnn_ret_buf *ret));
|
||||
+extern int js_word_search_by_env FRWNN_PARAMS((struct wnn_env *env, w_char *yomi, struct wnn_ret_buf *ret));
|
||||
|
||||
+#endif /* !JSERVER */
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
#endif
|
||||
+
|
||||
#endif /* WNN_JSLIB_H */
|
||||
@@ -1,30 +0,0 @@
|
||||
$NetBSD: patch-Wnn_include_wnn__os.h,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/include/wnn_os.h.orig 2005-06-12 17:14:23.000000000 +0000
|
||||
+++ Wnn/include/wnn_os.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002, 2005
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2005, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * Maintainer: FreeWnn Project
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@@ -50,11 +50,6 @@
|
||||
# include <sys/param.h>
|
||||
#endif
|
||||
|
||||
-#ifdef TERMINFO
|
||||
-#include <curses.h>
|
||||
-#include <term.h>
|
||||
-#endif
|
||||
-
|
||||
/* strchr vs. index, etc. */
|
||||
#if (HAVE_MEMSET) && !(HAVE_BZERO)
|
||||
# define bzero(adr,n) memset((adr),0,(n))
|
||||
@@ -1,105 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jlib.V3_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jlib.V3/Makefile.in.orig 2003-05-11 18:31:44.000000000 +0000
|
||||
+++ Wnn/jlib.V3/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2003
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2003, 2009
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,12 +29,17 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
+ srcdir = @srcdir@
|
||||
+ VPATH = @srcdir@
|
||||
+ WNNJLIBOBJ = $(top_builddir)/Wnn/jlib
|
||||
+WNNROMKANOBJ = $(top_builddir)/Wnn/romkan
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
|
||||
- INCLUDES = -I$(WNNINCLUDESRC) -I$(TOP)
|
||||
+ INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir)
|
||||
DEFINES = $(WNNDEFINES) $(WNNLANGDEF)
|
||||
LINTLIBS =
|
||||
|
||||
@@ -48,15 +53,15 @@ SRC4= $(WNNETCSRC)/xutoj.c
|
||||
OBJ4= xutoj.o
|
||||
LOCAL_RKSRCS= $(WNNROMKANSRC)/rk_bltinfn.c $(WNNROMKANSRC)/rk_main.c $(WNNROMKANSRC)/rk_modread.c $(WNNROMKANSRC)/rk_read.c $(WNNROMKANSRC)/rk_vars.c
|
||||
|
||||
-LOCAL_RKOBJS= $(WNNROMKANSRC)/rk_bltinfn.o $(WNNROMKANSRC)/rk_main.o $(WNNROMKANSRC)/rk_modread.o $(WNNROMKANSRC)/rk_read.o $(WNNROMKANSRC)/rk_vars.o
|
||||
+LOCAL_RKOBJS= $(WNNROMKANOBJ)/rk_bltinfn.o $(WNNROMKANOBJ)/rk_main.o $(WNNROMKANOBJ)/rk_modread.o $(WNNROMKANOBJ)/rk_read.o $(WNNROMKANOBJ)/rk_vars.o
|
||||
|
||||
LOCAL_ETCSRCS= $(WNNETCSRC)/msg.c $(WNNETCSRC)/yincoding.c $(WNNETCSRC)/py_table.c $(WNNETCSRC)/zy_table.c $(WNNETCSRC)/strings.c $(WNNETCSRC)/bcopy.c $(WNNETCSRC)/mkdir.c
|
||||
|
||||
-LOCAL_ETCOBJS= $(WNNJLIBSRC)/msg.o $(WNNJLIBSRC)/yincoding.o $(WNNJLIBSRC)/py_table.o $(WNNJLIBSRC)/zy_table.o $(WNNJLIBSRC)/strings.o $(WNNJLIBSRC)/bcopy.o $(WNNJLIBSRC)/mkdir.o
|
||||
+LOCAL_ETCOBJS= $(WNNJLIBOBJ)/msg.o $(WNNJLIBOBJ)/yincoding.o $(WNNJLIBOBJ)/py_table.o $(WNNJLIBOBJ)/zy_table.o $(WNNJLIBOBJ)/strings.o $(WNNJLIBOBJ)/bcopy.o $(WNNJLIBOBJ)/mkdir.o
|
||||
|
||||
LOCAL_JLIBSRCS= $(WNNJLIBSRC)/js.c $(WNNJLIBSRC)/wnnerrmsg.c $(WNNJLIBSRC)/jl.c
|
||||
|
||||
-LOCAL_JLIBOBJS= $(WNNJLIBSRC)/js.o $(WNNJLIBSRC)/wnnerrmsg.o $(WNNJLIBSRC)/jl.o
|
||||
+LOCAL_JLIBOBJS= $(WNNJLIBOBJ)/js.o $(WNNJLIBOBJ)/wnnerrmsg.o $(WNNJLIBOBJ)/jl.o
|
||||
|
||||
SRCS= $(SRC1) $(SRC2) $(SRC3) $(SRC4)
|
||||
OBJS= $(OBJ1) $(OBJ2) $(OBJ3) $(OBJ4) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS) $(LOCAL_JLIBOBJS)
|
||||
@@ -71,12 +76,12 @@ includes::
|
||||
|
||||
.c.o:
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $*.c
|
||||
+ $(LT_CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
|
||||
all:: libjd.la
|
||||
|
||||
libjd.la: $(OBJS) $(EXTRALIBRARYDEPS)
|
||||
- $(LIBTOOL) $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
|
||||
+ $(LT_LD) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION) @LIBS@
|
||||
|
||||
lintlib:: llib-ljd.ln
|
||||
|
||||
@@ -87,12 +92,12 @@ llib-ljd.ln: $(SRCS) $(EXTRALIBRARYDEPS)
|
||||
install:: libjd.la
|
||||
@if [ -d $(DESTDIR)$(WNNLIBDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNLIBDIR)); fi
|
||||
- $(LIBTOOL) $(INSTALL) $(INSTLIBFLAGS) libjd.la $(DESTDIR)$(WNNLIBDIR)
|
||||
+ $(LT_INSTALL) $(INSTLIBFLAGS) libjd.la $(DESTDIR)$(WNNLIBDIR)
|
||||
|
||||
install:: jlib.h
|
||||
@if [ -d $(DESTDIR)$(JWNNINCDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNINCDIR)); fi
|
||||
- $(INSTALL) $(INSTDATFLAGS) jlib.h $(DESTDIR)$(JWNNINCDIR)/jlib.h
|
||||
+ $(INSTALL) $(INSTDATFLAGS) $(srcdir)/jlib.h $(DESTDIR)$(JWNNINCDIR)/jlib.h
|
||||
|
||||
lint:
|
||||
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
|
||||
@@ -109,13 +114,13 @@ $(WNNJLIB)::
|
||||
done
|
||||
|
||||
$(OBJ2) : $(SRC2)
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
+ $(LT_CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
|
||||
$(OBJ3) : $(SRC3)
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
+ $(LT_CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
|
||||
$(OBJ4) : $(SRC4)
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
+ $(LT_CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
|
||||
depend:: .depend
|
||||
|
||||
@@ -1,45 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jlib_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jlib/Makefile.in.orig 2004-09-12 16:56:55.000000000 +0000
|
||||
+++ Wnn/jlib/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2003
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2003, 2009
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -42,8 +42,6 @@ WNNROMKANOBJ = $(top_builddir)/Wnn/romka
|
||||
LINTLIBS =
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
-LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
-LT_CC = $(LIBTOOL) --mode=compile $(CC)
|
||||
|
||||
SRC1= jl.c js.c wnnerrmsg.c
|
||||
OBJ1= jl.o js.o wnnerrmsg.o
|
||||
@@ -93,7 +91,7 @@ lint:
|
||||
|
||||
kankana: kankana.o
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) kankana.o $(WNNJLIB) @LIBS@
|
||||
+ $(LT_LD) -o $@ $(LDOPTIONS) kankana.o $(WNNJLIB)
|
||||
|
||||
clean::
|
||||
$(RM) kankana
|
||||
@@ -101,7 +99,7 @@ clean::
|
||||
all:: libwnn.la
|
||||
|
||||
libwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION)
|
||||
+ $(LT_LD) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(WNNJLIBVERSION) @LIBS@
|
||||
|
||||
lintlib:: llib-lwnn.ln
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jserver_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jserver/Makefile.in.orig 2004-05-21 16:39:32.000000000 +0000
|
||||
+++ Wnn/jserver/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003, 2004, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -102,9 +102,9 @@ clean::
|
||||
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
|
||||
+ @if [ -d $(DESTDIR)$(JWNNSBINDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNSBINDIR)); fi
|
||||
+ $(LT_INSTALL) $(INSTPGMFLAGS) $(INSTUIDFLAGS) $(LOCAL_INSTFLAGS) jserver $(DESTDIR)$(JWNNSBINDIR)/`echo jserver | sed '$(transform)'`
|
||||
|
||||
$(OBJ0) : $(SRC0)
|
||||
$(CC) -c $(CFLAGS) $(SERVERINITDEF) $(SOLINGERDEFS) $(srcdir)/`basename $@ .o`.c
|
||||
@@ -1,109 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jserver_de__header.h,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jserver/de_header.h.orig 2004-12-29 17:45:32.000000000 +0000
|
||||
+++ Wnn/jserver/de_header.h
|
||||
@@ -10,9 +10,10 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project
|
||||
+ * 1999, 2000, 2001, 2002, 2003, 2004, 2010, 2011
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -218,13 +219,13 @@ extern int b_index_add (struct JT *jt, w
|
||||
extern void b_index_delete (struct JT *jt, int serial);
|
||||
#endif
|
||||
/* bnsetu_kai.c */
|
||||
-extern int sbn_kai ();
|
||||
-extern int j_max ();
|
||||
-extern int getgiji ();
|
||||
-extern int is_g_eisuu ();
|
||||
-extern int getgiji_f ();
|
||||
-extern int check_bar_katakana ();
|
||||
-extern int kan_ckvt ();
|
||||
+extern int sbn_kai (int, int, int, int, struct SYO_BNSETSU **, int, struct SYO_BNSETSU *);
|
||||
+extern int j_max (struct ICHBNP *, int);
|
||||
+extern int getgiji (int, int, struct SYO_BNSETSU *, struct ICHBNP *, int, int);
|
||||
+extern int is_g_eisuu (w_char);
|
||||
+extern int getgiji_f (int, struct SYO_BNSETSU *);
|
||||
+extern int check_bar_katakana (int, int);
|
||||
+extern int kan_ckvt (unsigned short, int);
|
||||
/* daibn_kai.c */
|
||||
extern int dbn_kai ();
|
||||
extern int get_status ();
|
||||
@@ -512,7 +513,7 @@ extern int fread_cur ();
|
||||
extern int xgetc_cur ();
|
||||
extern void xungetc_cur ();
|
||||
extern void fwrite_cur ();
|
||||
-extern void xputc_cur ();
|
||||
+extern void xputc_cur (unsigned char);
|
||||
extern void fclose_cur ();
|
||||
/* w_string.c */
|
||||
extern void Sreverse ();
|
||||
@@ -534,27 +535,27 @@ extern char *wnn_get_hinsi_name ();
|
||||
extern int wnn_get_fukugou_component_body ();
|
||||
extern int wnn_get_fukugou_component ();
|
||||
/* bdic.c */
|
||||
-extern void check_backup ();
|
||||
-extern void delete_tmp_file ();
|
||||
-extern char *make_backup_file ();
|
||||
-extern char *make_tmp_file ();
|
||||
-extern void move_tmp_to_org ();
|
||||
-extern int output_file_header ();
|
||||
-extern int input_file_header ();
|
||||
-extern int output_file_uniq (struct wnn_file_uniq* funiq, FILE* ofpter);
|
||||
-extern int check_inode ();
|
||||
-extern int change_file_uniq ();
|
||||
-extern int f_uniq_cmp ();
|
||||
-extern void Get_knj2 ();
|
||||
-extern void get_kanji_str ();
|
||||
-extern void Get_kanji_str_r ();
|
||||
-extern unsigned char *kanjiaddr ();
|
||||
-extern int create_null_dic ();
|
||||
-extern int create_hindo_file ();
|
||||
-extern int input_header_jt ();
|
||||
-extern int output_header_jt ();
|
||||
-extern int input_header_hjt ();
|
||||
-extern int output_header_hjt ();
|
||||
+extern void check_backup (char*);
|
||||
+extern void delete_tmp_file (char*);
|
||||
+extern char *make_backup_file (char*);
|
||||
+extern char *make_tmp_file (char*, int, FILE**);
|
||||
+extern void move_tmp_to_org (char*, char*, int);
|
||||
+extern int output_file_header (FILE*, struct wnn_file_head*);
|
||||
+extern int input_file_header (FILE*, struct wnn_file_head*);
|
||||
+extern int output_file_uniq (struct wnn_file_uniq*, FILE*);
|
||||
+extern int check_inode (FILE*, struct wnn_file_head*);
|
||||
+extern int change_file_uniq (struct wnn_file_head*, char*);
|
||||
+extern int f_uniq_cmp (struct wnn_file_uniq*, struct wnn_file_uniq*);
|
||||
+extern void Get_knj2 (unsigned char*, int, w_char*, w_char*, w_char*);
|
||||
+extern void get_kanji_str (unsigned char*, w_char*, w_char*, w_char*);
|
||||
+extern void Get_kanji_str_r (unsigned char*, w_char**, w_char**, w_char**);
|
||||
+extern unsigned char kanjiaddr (unsigned char*, w_char*, w_char*, w_char*);
|
||||
+extern int create_null_dic (char*, w_char*, char*, char*, int);
|
||||
+extern int create_hindo_file (struct wnn_file_uniq*, char*, w_char*, char*, int);
|
||||
+extern int input_header_jt (FILE*, struct JT*);
|
||||
+extern int output_header_jt (FILE*, struct JT*);
|
||||
+extern int input_header_hjt (FILE*, struct HJT*);
|
||||
+extern int output_header_hjt (FILE*, struct HJT*);
|
||||
/* dic_atojis.c */
|
||||
extern void Get_kanji ();
|
||||
extern void Get_knj1 ();
|
||||
@@ -565,8 +566,8 @@ extern int revdic ();
|
||||
extern int asshuku ();
|
||||
extern int motoni2 ();
|
||||
/* pwd.c */
|
||||
-extern int new_pwd ();
|
||||
-extern int check_pwd ();
|
||||
+extern void new_pwd (char*, char*);
|
||||
+extern int check_pwd (char*, char*);
|
||||
|
||||
#endif /* JSERVER_DE_HEADER_H */
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jserver_renbn__kai.c,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jserver/renbn_kai.c.orig 2002-09-01 17:13:11.000000000 +0000
|
||||
+++ Wnn/jserver/renbn_kai.c
|
||||
@@ -6,9 +6,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2011
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -321,7 +321,7 @@ tan_syo (int yomi_sno, /* ²òÀÏʸ»úÎó st
|
||||
_status = 0;
|
||||
if (chk_yomi_endvect (yomi_sno, yomi_eno, endvect, endvect1) < 0)
|
||||
return (-1);
|
||||
- if (sbn_kai (yomi_sno, yomi_eno, endvect, endvect1, &rsbnptr, 1, 0) < 0)
|
||||
+ if (sbn_kai (yomi_sno, yomi_eno, endvect, endvect1, &rsbnptr, 1, (struct SYO_BNSETSU *) 0) < 0)
|
||||
{
|
||||
init_work_areas ();
|
||||
return (-1); /* ERROR */
|
||||
@@ -1,60 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jutil_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jutil/Makefile.in.orig 2004-08-15 09:38:22.000000000 +0000
|
||||
+++ Wnn/jutil/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2004
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2004, 2010, 2011
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -39,17 +39,20 @@ LT_INSTALL = $(LIBTOOL) --mode=inst
|
||||
LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
|
||||
LOCAL_INSTFLAGS = -o $(WNNOWNER)
|
||||
|
||||
- INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTWNNJINC@ -I$(WNNINCLUDESRC)
|
||||
DEFINES = $(WNNDEFINES) $(WNNLANGDEF)
|
||||
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(JWNNLANG)/hinsi.data\"
|
||||
|
||||
-CLIENTPROGRAMS = wnnstat wnnkill wddel wdreg
|
||||
+CLIENTPROGRAMS = wddel wdreg
|
||||
+
|
||||
+# Server status / kill programs
|
||||
+CLIENT_SV_PROGRAMS = wnnstat wnnkill
|
||||
|
||||
DICUTIL2PROGRAMS = atod atof wnntouch
|
||||
|
||||
DICUTILPROGRAMS = oldatonewa dtoa
|
||||
|
||||
-PROGRAMS = $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
+PROGRAMS = $(CLIENTPROGRAMS) $(CLIENT_SV_PROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
|
||||
SRC1= $(WNNETCSRC)/bdic.c
|
||||
OBJ1= bdic.o
|
||||
@@ -190,10 +193,15 @@ clean::
|
||||
install:: $(PROGRAMS)
|
||||
@if [ -d $(DESTDIR)$(JWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNBINDIR)); fi
|
||||
+ @if [ -d $(DESTDIR)$(JWNNSBINDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(JWNNSBINDIR)); fi
|
||||
@for flag in ${MAKEFLAGS} ''; do \
|
||||
case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
||||
- for i in $(PROGRAMS); do \
|
||||
- (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(JWNNBINDIR)); \
|
||||
+ for i in $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(JWNNBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
+ done; \
|
||||
+ for i in $(CLIENT_SV_PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(JWNNSBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
done
|
||||
|
||||
$(OBJ1) : $(SRC1)
|
||||
@@ -1,31 +0,0 @@
|
||||
$NetBSD: patch-Wnn_jutil_ujisf.c,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/jutil/ujisf.c.orig 2002-07-14 04:26:57.000000000 +0000
|
||||
+++ Wnn/jutil/ujisf.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2010
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -68,8 +68,10 @@ static void sisheng_num (), read_kanji_s
|
||||
#define max(a, b) ((a < b)? b:a)
|
||||
#endif
|
||||
|
||||
-extern unsigned char kanjiaddr ();
|
||||
-extern void Print_entry ();
|
||||
+extern unsigned char kanjiaddr (unsigned char *d0, w_char* kanji, w_char* yomi, w_char* comment);
|
||||
+extern void Print_entry (w_char* yomi, w_char* kstr, w_char* cstr,
|
||||
+ int hindo, int ima, int hinsi, int serial,
|
||||
+ FILE* ofpter, int esc_exp);
|
||||
extern int wnn_find_hinsi_by_name ();
|
||||
#ifdef CHINESE
|
||||
extern void cwnn_zy_str_analysis (), cwnn_py_str_analysis ();
|
||||
@@ -1,69 +0,0 @@
|
||||
$NetBSD: patch-Wnn_man_2.env_wnn_2b__romkan.man,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/man/2.env/wnn/2b_romkan.man.orig 2001-06-14 18:08:31.000000000 +0000
|
||||
+++ Wnn/man/2.env/wnn/2b_romkan.man
|
||||
@@ -9,9 +9,9 @@
|
||||
.\" 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
|
||||
+.\" Copyright FreeWnn Project 1999, 2000, 2010
|
||||
.\"
|
||||
-.\" Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+.\" 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
|
||||
@@ -82,6 +82,7 @@ uum(1) 起動時に解釈され、ローマ字変換用�
|
||||
ローマ字変換デフォルト設定
|
||||
(括弧内のものは、カタカナモードの時に限り適用される変換を示す。)
|
||||
|
||||
+.nf
|
||||
A あ KA か SA さ TA た
|
||||
I い KI き SI し TI ち
|
||||
U う KU く SU す TU つ
|
||||
@@ -145,28 +146,31 @@ uum(1) 起動時に解釈され、ローマ字変換用�
|
||||
N ん
|
||||
N' ん
|
||||
|
||||
- XA ぁ \A ぁ XYA ゃ \YA ゃ
|
||||
- XI ぃ \I ぃ
|
||||
- XU ぅ \U ぅ XYU ゅ \YU ゅ
|
||||
- XE ぇ \E ぇ
|
||||
- XO ぉ \O ぉ XYO ょ \YO ょ
|
||||
-
|
||||
- XTU っ \TU っ XTI てぃ XWI うぃ
|
||||
- XTSU っ \TSU っ XDI でぃ XWE うぇ
|
||||
- XWA ゎ \WA ゎ XDU どぅ XWO うぉ
|
||||
- XKA ( ヵ ) \KA ( ヵ ) XDE でぇ
|
||||
- XKE ( ヶ ) \KE ( ヶ ) XDO どぉ
|
||||
+ XA ぁ \eA ぁ XYA ゃ \eYA ゃ
|
||||
+ XI ぃ \eI ぃ
|
||||
+ XU ぅ \eU ぅ XYU ゅ \eYU ゅ
|
||||
+ XE ぇ \eE ぇ
|
||||
+ XO ぉ \eO ぉ XYO ょ \eYO ょ
|
||||
+
|
||||
+ XTU っ \eTU っ XTI てぃ XWI うぃ
|
||||
+ XTSU っ \eTSU っ XDI でぃ XWE うぇ
|
||||
+ XWA ゎ \eWA ゎ XDU どぅ XWO うぉ
|
||||
+ XKA ( ヵ ) \eKA ( ヵ ) XDE でぇ
|
||||
+ XKE ( ヶ ) \eKE ( ヶ ) XDO どぉ
|
||||
|
||||
- ー / ・ Z. …
|
||||
, 、 [ 「 Z- ~
|
||||
. 。 ] 」
|
||||
+.fi
|
||||
|
||||
母音の次に長音がきた場合、次のように確定する。
|
||||
+.nf
|
||||
A^ ああ A~ ああ
|
||||
I^ いい I~ いい
|
||||
U^ うう U~ うう
|
||||
E^ えい E~ えい
|
||||
O^ おう O~ おう
|
||||
+.fi
|
||||
|
||||
M の次に B M P のいずれかがきた場合、M を"ん"に確定する。
|
||||
|
||||
@@ -1,79 +0,0 @@
|
||||
$NetBSD: patch-Wnn_man_4.cmd_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/man/4.cmd/Makefile.in.orig 2001-08-14 13:43:21.000000000 +0000
|
||||
+++ Wnn/man/4.cmd/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,41 +29,30 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+top_builddir = @top_builddir@
|
||||
+ srcdir = @srcdir@
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
|
||||
MANSUFFIX = 1
|
||||
|
||||
-install.man:: jserver.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/jserver.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) jserver.man \
|
||||
- $(DESTDIR)$(MANDIR)/jserver.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/jserver.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: uum.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/uum.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) uum.man \
|
||||
- $(DESTDIR)$(MANDIR)/uum.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/uum.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: wnnkill.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/wnnkill.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) wnnkill.man \
|
||||
- $(DESTDIR)$(MANDIR)/wnnkill.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/wnnkill.$(MANSUFFIX)
|
||||
+SERVER_MAN = jserver.man
|
||||
+CLIENT_MAN = uum.man
|
||||
+SVTOOL_MAN = wnnkill.man wnnstat.man
|
||||
+ MANUALS = $(SERVER_MAN) $(CLIENT_MAN) $(SVTOOL_MAN)
|
||||
|
||||
-install.man:: wnnstat.man
|
||||
+# Probably we don't need $(MANUALS) as dependency ...
|
||||
+install.man::
|
||||
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/wnnstat.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) wnnstat.man \
|
||||
- $(DESTDIR)$(MANDIR)/wnnstat.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/wnnstat.$(MANSUFFIX)
|
||||
+ for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(RM) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)*; \
|
||||
+ $(INSTALL) $(INSTMANFLAGS) $(srcdir)/$$m \
|
||||
+ $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
+ -for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
@@ -1,112 +0,0 @@
|
||||
$NetBSD: patch-Wnn_man_6.jutil_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/man/6.jutil/Makefile.in.orig 2001-08-14 13:43:21.000000000 +0000
|
||||
+++ Wnn/man/6.jutil/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,65 +29,39 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+top_builddir = @top_builddir@
|
||||
+ srcdir = @srcdir@
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
|
||||
MANSUFFIX = 1
|
||||
|
||||
-install.man:: atod.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/atod.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) atod.man \
|
||||
- $(DESTDIR)$(MANDIR)/atod.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/atod.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: atof.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/atof.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) atof.man \
|
||||
- $(DESTDIR)$(MANDIR)/atof.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/atof.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: dtoa.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/dtoa.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) dtoa.man \
|
||||
- $(DESTDIR)$(MANDIR)/dtoa.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/dtoa.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: wddel.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/wddel.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) wddel.man \
|
||||
- $(DESTDIR)$(MANDIR)/wddel.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/wddel.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: wdreg.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/wdreg.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) wdreg.man \
|
||||
- $(DESTDIR)$(MANDIR)/wdreg.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/wdreg.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: wnntouch.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/wnntouch.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) wnntouch.man \
|
||||
- $(DESTDIR)$(MANDIR)/wnntouch.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/wnntouch.$(MANSUFFIX)
|
||||
+MANUALS = atod.man dtoa.man atof.man wddel.man wdreg.man wnntouch.man
|
||||
+# Omit oldtonew.man (See below.)
|
||||
|
||||
-install.man:: oldtonew.man
|
||||
+# Probably we don't need $(MANUALS) as dependency ...
|
||||
+install.man::
|
||||
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/oldatonewa.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) oldtonew.man \
|
||||
- $(DESTDIR)$(MANDIR)/oldatonewa.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/oldatonewa.$(MANSUFFIX)
|
||||
+ for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(RM) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)*; \
|
||||
+ $(INSTALL) $(INSTMANFLAGS) $(srcdir)/$$m \
|
||||
+ $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
+ -for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
+
|
||||
+# Leave oldtonew.man (-> oldatonewa.1): need extra transformation
|
||||
+install.man::
|
||||
+ @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
+ manname=`echo oldatonewa | sed '$(transform)'`; \
|
||||
+ $(RM) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)*; \
|
||||
+ $(INSTALL) $(INSTMANFLAGS) $(srcdir)/oldtonew.man \
|
||||
+ $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)
|
||||
+ -manname=`echo oldatonewa | sed '$(transform)'`; \
|
||||
+ $(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)
|
||||
@@ -1,35 +0,0 @@
|
||||
$NetBSD: patch-Wnn_manual_2.env_wnn_2b__romkana,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/manual/2.env/wnn/2b_romkana.orig 2000-01-16 05:07:46.000000000 +0000
|
||||
+++ Wnn/manual/2.env/wnn/2b_romkana
|
||||
@@ -118,17 +118,17 @@
|
||||
N ん
|
||||
N' ん
|
||||
|
||||
- XA ぁ A ぁ XYA ゃ YA ゃ
|
||||
- XI ぃ I ぃ
|
||||
- XU ぅ U ぅ XYU ゅ YU ゅ
|
||||
- XE ぇ E ぇ
|
||||
- XO ぉ O ぉ XYO ょ YO ょ
|
||||
-
|
||||
- XTU っ TU っ XTI てぃ XWI うぃ
|
||||
- XTSU っ TSU っ XDI でぃ XWE うぇ
|
||||
- XWA ゎ WA ゎ XDU どぅ XWO うぉ
|
||||
- XKA ( ヵ ) KA ( ヵ ) XDE でぇ
|
||||
- XKE ( ヶ ) KE ( ヶ ) XDO どぉ
|
||||
+ XA ぁ \A ぁ XYA ゃ YA ゃ
|
||||
+ XI ぃ \I ぃ
|
||||
+ XU ぅ \U ぅ XYU ゅ YU ゅ
|
||||
+ XE ぇ \E ぇ
|
||||
+ XO ぉ \O ぉ XYO ょ YO ょ
|
||||
+
|
||||
+ XTU っ \TU っ XTI てぃ XWI うぃ
|
||||
+ XTSU っ \TSU っ XDI でぃ XWE うぇ
|
||||
+ XWA ゎ \WA ゎ XDU どぅ XWO うぉ
|
||||
+ XKA ( ヵ ) \KA ( ヵ ) XDE でぇ
|
||||
+ XKE ( ヶ ) \KE ( ヶ ) XDO どぉ
|
||||
|
||||
- ー / ・ Z. …
|
||||
, 、 [ 「 Z- ~
|
||||
@@ -1,27 +0,0 @@
|
||||
$NetBSD: patch-Wnn_pubdicplus_Makefile.in,v 1.1 2011/09/13 07:23:17 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/pubdicplus/Makefile.in.orig 2004-04-24 18:56:40.000000000 +0000
|
||||
+++ Wnn/pubdicplus/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2004
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2004, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -422,7 +422,7 @@ fzk.master-.c: fzk.master
|
||||
$(LN) $? $@
|
||||
|
||||
std.fzk: fzk.master-.c $(FZK_SRC)
|
||||
- $(CPP) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
full.fzk: $(FZK_SRC)
|
||||
$(MAKE) FZK_FLAG=-DKANSAI std.fzk
|
||||
@@ -1,43 +0,0 @@
|
||||
$NetBSD: patch-Wnn_romkan_Makefile.in,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/romkan/Makefile.in.orig 2002-03-30 09:34:45.000000000 +0000
|
||||
+++ Wnn/romkan/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,10 +29,12 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include ../../makerule.mk
|
||||
-top_builddir = ../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+ VPATH = @srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
- INCLUDES = -I$(WNNINCLUDESRC) -I$(TOP)
|
||||
+ INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir)
|
||||
DEFINES = $(WNNDEFINES) -DWNNDEFAULT $(WNNLANGDEF)
|
||||
LINTLIBS =
|
||||
|
||||
@@ -46,7 +48,7 @@ includes::
|
||||
|
||||
.c.o:
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
+ $(LT_CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -1,56 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_Makefile.in,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/Makefile.in.orig 2005-11-20 16:10:28.000000000 +0000
|
||||
+++ Wnn/uum/Makefile.in
|
||||
@@ -10,7 +10,8 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project
|
||||
+# 1999, 2000, 2001, 2002, 2005, 2006, 2007, 2010, 2011
|
||||
#
|
||||
# Maintainer: FreeWnn Project
|
||||
#
|
||||
@@ -34,13 +35,17 @@ include @top_builddir@/makerule.mk
|
||||
top_builddir = @top_builddir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
-INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
|
||||
+INSTALL = @INSTALL@
|
||||
+LOCAL_INSTFLAGS = $(INSTUUMFLAGS)
|
||||
|
||||
- UUMOWNER = root
|
||||
- INCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANSRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTWNNJINC@ -I$(WNNINCLUDESRC) -I$(WNNROMKANSRC)
|
||||
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
|
||||
|
||||
@@ -63,7 +68,7 @@ all:: uum
|
||||
|
||||
uum: $(OBJS) @DEPWNNJLIB@ $(WNNCONVLIB)
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(WNNTERM_LIB)
|
||||
+ $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -74,7 +79,7 @@ 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
|
||||
+ $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) uum $(DESTDIR)$(JWNNBINDIR)/`echo uum | sed '$(transform)'`
|
||||
|
||||
$(OBJ2) : $(SRC2)
|
||||
$(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c
|
||||
@@ -1,33 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_basic__op.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/basic_op.c.orig 2002-05-12 22:51:17.000000000 +0000
|
||||
+++ Wnn/uum/basic_op.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -43,10 +43,14 @@ bufferの使い方とかbufferの内容がどのよう
|
||||
#include <stdio.h>
|
||||
#if STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
+# include <string.h>
|
||||
#else
|
||||
# if HAVE_MALLOC_H
|
||||
# include <malloc.h>
|
||||
# endif
|
||||
+# if HAVE_STRINGS_H
|
||||
+# include <strings.h>
|
||||
+# endif
|
||||
#endif /* STDC_HEADERS */
|
||||
#include "jllib.h"
|
||||
#include "commonhd.h"
|
||||
@@ -1,27 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_epilogue.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/epilogue.c.orig 2001-06-14 18:16:06.000000000 +0000
|
||||
+++ Wnn/uum/epilogue.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -49,7 +49,7 @@ epilogue_no_close ()
|
||||
set_scroll_region (0, crow + conv_lines - 1);
|
||||
kk_restore_cursor ();
|
||||
flush ();
|
||||
-#ifdef TERMINFO
|
||||
+#ifdef HAVE_TERMINFO
|
||||
closeTermData ();
|
||||
#endif
|
||||
}
|
||||
@@ -1,55 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_header.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/header.c.orig 2001-09-16 11:42:58.000000000 +0000
|
||||
+++ Wnn/uum/header.c
|
||||
@@ -10,9 +10,10 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
+ * Copyright Canna Project 2002
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -131,7 +132,7 @@ FunctionTable *f_table = NULL;
|
||||
|
||||
FuncDataBase function_db[] = {
|
||||
#ifdef JAPANESE
|
||||
- {"ja_JP",
|
||||
+ {WNN_J_LANG,
|
||||
{NULL, NULL, call_t_redraw_move_normal,
|
||||
call_t_redraw_move_1_normal, call_t_redraw_move_2_normal,
|
||||
call_t_print_l_normal, NULL, char_len_normal, char_q_len_normal,
|
||||
@@ -151,7 +152,7 @@ FuncDataBase function_db[] = {
|
||||
},
|
||||
#endif /* JAPANESE */
|
||||
#ifdef CHINESE
|
||||
- {"zh_CN", /* Simplified Chinese */
|
||||
+ {WNN_C_LANG, /* Simplified Chinese */
|
||||
{print_out_yincod, input_yincod, call_t_redraw_move_yincod,
|
||||
call_t_redraw_move_1_yincod, call_t_redraw_move_2_yincod,
|
||||
call_t_print_l_yincod, redraw_when_chmsig_yincod, char_len_yincod,
|
||||
@@ -170,7 +171,7 @@ FuncDataBase function_db[] = {
|
||||
{
|
||||
NULL, NULL, NULL, NULL, NULL, NULL}
|
||||
},
|
||||
- {"zh_TW", /* Traditional Chinese */
|
||||
+ {WNN_T_LANG, /* Traditional Chinese */
|
||||
{print_out_yincod, input_yincod, call_t_redraw_move_yincod,
|
||||
call_t_redraw_move_1_yincod, call_t_redraw_move_2_yincod,
|
||||
call_t_print_l_yincod, redraw_when_chmsig_yincod, char_len_yincod,
|
||||
@@ -191,7 +192,7 @@ FuncDataBase function_db[] = {
|
||||
},
|
||||
#endif /* CHINESE */
|
||||
#ifdef KOREAN
|
||||
- {"ko_KR",
|
||||
+ {WNN_K_LANG,
|
||||
{NULL, NULL, call_t_redraw_move_normal,
|
||||
call_t_redraw_move_1_normal, call_t_redraw_move_2_normal,
|
||||
call_t_print_l_normal, NULL, char_len_normal, char_q_len_normal,
|
||||
@@ -1,38 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_hinsi.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/hinsi.c.orig 2001-06-14 18:16:07.000000000 +0000
|
||||
+++ Wnn/uum/hinsi.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -29,7 +29,19 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#if HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
+#if STDC_HEADERS
|
||||
+# include <string.h>
|
||||
+#else
|
||||
+# if HAVE_STRINGS_H
|
||||
+# include <strings.h>
|
||||
+# endif
|
||||
+#endif /* STDC_HEADERS */
|
||||
+
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
#include "sheader.h"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,38 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_jikouho.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/jikouho.c.orig 2001-06-14 18:16:07.000000000 +0000
|
||||
+++ Wnn/uum/jikouho.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -29,7 +29,19 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
+#if STDC_HEADERS
|
||||
+# include <string.h>
|
||||
+#else
|
||||
+# if HAVE_STRINGS_H
|
||||
+# include <strings.h>
|
||||
+# endif
|
||||
+#endif /* STDC_HEADERS */
|
||||
+
|
||||
#include "jllib.h"
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
@@ -1,38 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_printf.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/printf.c.orig 2001-06-14 18:16:07.000000000 +0000
|
||||
+++ Wnn/uum/printf.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -29,7 +29,19 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
+#if STDC_HEADERS
|
||||
+# include <string.h>
|
||||
+#else
|
||||
+# if HAVE_STRINGS_H
|
||||
+# include <strings.h>
|
||||
+# endif
|
||||
+#endif /* STDC_HEADERS */
|
||||
+
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
#include "sheader.h"
|
||||
@@ -1,108 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_sdefine.h,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/sdefine.h.orig 2001-06-14 18:16:08.000000000 +0000
|
||||
+++ Wnn/uum/sdefine.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -33,6 +33,89 @@
|
||||
* define of standard i/o
|
||||
*************************/
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
+#include "commonhd.h"
|
||||
+
|
||||
+/* ncurses' term.h defines them to either 0 or 1! */
|
||||
+#ifndef HAVE_TERMIOS_H
|
||||
+# define DONT_HAVE_TERMIOS_H
|
||||
+#endif
|
||||
+#ifndef HAVE_TERMIO_H
|
||||
+# define DONT_HAVE_TERMIO_H
|
||||
+#endif
|
||||
+#ifndef HAVE_SYS_TERMIO_H
|
||||
+# define DONT_HAVE_SYS_TERMIO_H
|
||||
+#endif
|
||||
+#ifndef HAVE_SGTTY_H
|
||||
+# define DONT_HAVE_SGTTY_H
|
||||
+#endif
|
||||
+
|
||||
+#if defined(HAVE_TERMINFO)
|
||||
+# if defined(HAVE_CURSES_H)
|
||||
+# include <curses.h>
|
||||
+# elif defined(HAVE_NCURSES_H)
|
||||
+# include <ncurses.h>
|
||||
+# else
|
||||
+# error "no terminfo header"
|
||||
+# endif /* HAVE_CURSES_H */
|
||||
+# ifdef HAVE_TERM_H
|
||||
+# include <term.h>
|
||||
+# endif
|
||||
+#else /* HAVE_TERMINFO */
|
||||
+# if defined(HAVE_TERMCAP_H)
|
||||
+# include <termcap.h>
|
||||
+# endif /* HAVE_TERMCAP_H */
|
||||
+#endif /* HAVE_TERMINFO */
|
||||
+
|
||||
+#ifdef DONT_HAVE_TERMIOS_H
|
||||
+# undef HAVE_TERMIOS_H
|
||||
+# undef DONT_HAVE_TERMIOS_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_TERMIO_H
|
||||
+# undef HAVE_TERMIO_H
|
||||
+# undef DONT_HAVE_TERMIO_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_SYS_TERMIO_H
|
||||
+# undef HAVE_SYS_TERMIO_H
|
||||
+# undef DONT_HAVE_SYS_TERMIO_H
|
||||
+#endif
|
||||
+#ifdef DONT_HAVE_SGTTY_H
|
||||
+# undef HAVE_SGTTY_H
|
||||
+# undef DONT_HAVE_SGTTY_H
|
||||
+#endif
|
||||
+
|
||||
+#ifdef HAVE_KILLPG
|
||||
+# define KILLPG(pgrp, sig) killpg(pgrp, sig)
|
||||
+#else
|
||||
+# define KILLPG(pgrp, sig) kill(-(pgrp), sig)
|
||||
+#endif /* HAVE_KILLPG */
|
||||
+
|
||||
+#if defined(HAVE_GETPGID) /* SVR4 and most modern systems */
|
||||
+# define GETPGID(pid) getpgid(pid)
|
||||
+#elif defined(HAVE_GETPGRP) && !defined(GETPGRP_VOID) /* 4.3BSD */
|
||||
+# define GETPGID(pid) getpgrp(pid)
|
||||
+#elif defined(uniosu)
|
||||
+# define GETPGID(pid) ngetpgrp(pid)
|
||||
+#else
|
||||
+/* no way to get process group id */
|
||||
+#endif /* GETPGID */
|
||||
+
|
||||
+#if defined(HAVE_GETPGRP)
|
||||
+# if defined(GETPGRP_VOID)
|
||||
+# define GETMYPGRP() getpgrp() /* SYSV, POSIX */
|
||||
+# else
|
||||
+# define GETMYPGRP() getpgrp(0)
|
||||
+# endif /* !GETPGRP_VOID */
|
||||
+#elif defined(GETPGID)
|
||||
+# define GETMYPGRP() GETPGID(getpid())
|
||||
+#else
|
||||
+/* probably some build error occured */
|
||||
+# error "don't know how to get my process group id"
|
||||
+#endif /* GETMYPGRP */
|
||||
+
|
||||
#define MAXCHG 80 /* 解析可能文字数 */
|
||||
/*漢字バッファ(次候補、単語検索など)の大きさ */
|
||||
#define MAX_ICHIRAN_KOSU 36 /* 一覧表示字の表示個数 */
|
||||
@@ -1,424 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_setutmp.c,v 1.1 2011/09/13 07:23:18 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/setutmp.c.orig 2002-06-22 13:26:21.000000000 +0000
|
||||
+++ Wnn/uum/setutmp.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2006, 2009
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -35,7 +35,6 @@
|
||||
#include <stdio.h>
|
||||
#if STDC_HEADERS
|
||||
# include <string.h>
|
||||
-# include <time.h>
|
||||
#else
|
||||
# if HAVE_STRINGS_H
|
||||
# include <strings.h>
|
||||
@@ -45,14 +44,40 @@
|
||||
# endif
|
||||
#endif /* STDC_HEADERS */
|
||||
#include <sys/types.h>
|
||||
+#include <pwd.h>
|
||||
#if HAVE_FCNTL_H
|
||||
# include <fcntl.h>
|
||||
#endif
|
||||
-#include <pwd.h>
|
||||
+#if TIME_WITH_SYS_TIME
|
||||
+# include <sys/time.h>
|
||||
+# include <time.h>
|
||||
+#else
|
||||
+# if HAVE_SYS_TIME_H
|
||||
+# include <sys/time.h>
|
||||
+# else
|
||||
+# include <time.h>
|
||||
+# endif /* HAVE_SYS_TIME_H */
|
||||
+#endif /* TIME_WITH_SYS_TIME */
|
||||
#if HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
-#include <utmp.h>
|
||||
+#if HAVE_UTMPX_H
|
||||
+# include <utmpx.h>
|
||||
+#endif
|
||||
+#if HAVE_UTMP_H
|
||||
+# include <utmp.h>
|
||||
+#endif
|
||||
+#if !HAVE_UTMPX_H && !HAVE_UTMP_H
|
||||
+# error "No utmp/utmpx header."
|
||||
+#endif
|
||||
+
|
||||
+#if HAVE_STRUCT_UTMP_UT_NAME
|
||||
+# define UT_USER ut_name
|
||||
+#elif HAVE_STRUCT_UTMP_UT_USER
|
||||
+# define UT_USER ut_user
|
||||
+#else
|
||||
+# error "No member that indicates user in struct utmp."
|
||||
+#endif
|
||||
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
@@ -60,16 +85,17 @@
|
||||
|
||||
#define public
|
||||
|
||||
-#if defined(SVR4) && !defined(DGUX)
|
||||
-#include <utmpx.h>
|
||||
-static struct utmpx saveut;
|
||||
-static struct utmpx nullut;
|
||||
-#else /* SVR4 */
|
||||
+#if USE_UTMP && !HAVE_LIBSPT
|
||||
+
|
||||
+/* Set alias macro UTMP_TRADITIONAL */
|
||||
+#if !HAVE_PUTUTXLINE && !HAVE_PUTUTLINE /* && !(defined(BSD) && (BSD >= 199306)) */
|
||||
+# define UTMP_TRADITIONAL 1
|
||||
+#endif
|
||||
+
|
||||
+#ifdef UTMP_TRADITIONAL
|
||||
static struct utmp saveut;
|
||||
static struct utmp nullut;
|
||||
-#endif /* SVR4 */
|
||||
|
||||
-#ifdef BSD42
|
||||
static int savslotnum = 0;
|
||||
static char savttynm[8];
|
||||
static int suf = 0;
|
||||
@@ -82,8 +108,8 @@ static int suf = 0;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
-public int
|
||||
-saveutmp ()
|
||||
+static int
|
||||
+saveutmp_traditional (void)
|
||||
{
|
||||
register int utmpFd;
|
||||
register char *p;
|
||||
@@ -103,16 +129,15 @@ saveutmp ()
|
||||
lseek (utmpFd, savslotnum * (sizeof saveut), 0);
|
||||
read (utmpFd, &saveut, sizeof saveut);
|
||||
close (utmpFd);
|
||||
- strncpy (nullut.ut_line, saveut.ut_line, 8);
|
||||
- strncpy (nullut.ut_host, saveut.ut_host, 16);
|
||||
+ strncpy (nullut.ut_line, saveut.ut_line, sizeof(nullut.ut_line));
|
||||
+ strncpy (nullut.ut_host, saveut.ut_host, sizeof(nullut.ut_host));
|
||||
nullut.ut_time = saveut.ut_time;
|
||||
suf = 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
-public int
|
||||
-setutmp (ttyFd)
|
||||
- int ttyFd;
|
||||
+static int
|
||||
+setutmp_traditional (int ttyFd)
|
||||
{
|
||||
int utmpFd;
|
||||
struct utmp ut;
|
||||
@@ -124,8 +149,11 @@ setutmp (ttyFd)
|
||||
bzero (&ut, sizeof ut);
|
||||
if ((p = ttyname (ttyFd)) == NULL)
|
||||
return -1;
|
||||
- strncpy (ut.ut_line, strrchr (p, '/') + 1, 8);
|
||||
- strncpy (ut.ut_name, getpwuid (getuid ())->pw_name, 8);
|
||||
+
|
||||
+ if (!strncmp(p, "/dev/", 5))
|
||||
+ p += 5;
|
||||
+ strncpy (ut.ut_line, p, sizeof (ut.ut_line));
|
||||
+ strncpy (ut.UT_USER, getpwuid (getuid ())->pw_name, sizeof(ut.UT_USER));
|
||||
ut.ut_time = time (0);
|
||||
strncpy (ut.ut_host, savttynm, 8);
|
||||
if (!(i = ttyfdslot (ttyFd)))
|
||||
@@ -139,94 +167,230 @@ setutmp (ttyFd)
|
||||
close (utmpFd);
|
||||
return 0;
|
||||
}
|
||||
-#endif /* BSD42 */
|
||||
|
||||
-#ifdef SYSVR2
|
||||
-public int
|
||||
-setutmp (ttyFd)
|
||||
- int ttyFd;
|
||||
+static int
|
||||
+resetutmp_traditional (int ttyFd)
|
||||
{
|
||||
+ int utmpFd;
|
||||
struct utmp ut;
|
||||
char *p;
|
||||
- struct passwd *getpwuid ();
|
||||
+ int i;
|
||||
|
||||
- memset (&ut, 0, sizeof ut);
|
||||
+ bzero (&ut, sizeof ut);
|
||||
if ((p = ttyname (ttyFd)) == NULL)
|
||||
return -1;
|
||||
- strncpy (ut.ut_line, strrchr (p, '/') + 1, 12);
|
||||
- strncpy (ut.ut_user, getpwuid (getuid ())->pw_name, 8);
|
||||
+ if (!strncmp(p, "/dev/", 5))
|
||||
+ p += 5;
|
||||
+ strncpy (ut.ut_line, p, sizeof(ut.ut_line));
|
||||
+ /* strncpy (ut.ut_line, strrchr (p, '/') + 1, 8); */
|
||||
ut.ut_time = time (0);
|
||||
+ if (!(i = ttyfdslot (ttyFd)))
|
||||
+ return -1;
|
||||
+ if ((utmpFd = open (_PATH_UTMP, O_RDWR, 0)) < 0)
|
||||
+ return -1;
|
||||
+ lseek (utmpFd, savslotnum * (sizeof saveut), 0);
|
||||
+ write (utmpFd, &saveut, sizeof saveut);
|
||||
+ lseek (utmpFd, i * (sizeof ut), 0);
|
||||
+ write (utmpFd, &ut, sizeof ut);
|
||||
+ close (utmpFd);
|
||||
+ return 0;
|
||||
+}
|
||||
+#endif /* UTMP_TRADITIONAL */
|
||||
+
|
||||
+static void
|
||||
+build_utid (char *ut_id, char *ut_line, int size)
|
||||
+{
|
||||
#ifdef DGUX
|
||||
- strncpy (ut.ut_id, &ut.ut_line[3], 4);
|
||||
+ strncpy (ut_id, &ut_line[3], size);
|
||||
#else
|
||||
- strncpy (ut.ut_id, &ut.ut_line[2], 4);
|
||||
- ut.ut_id[0] = 't';
|
||||
+ /* FIXME: この辺りの命名法則がよく分からない */
|
||||
+ strncpy (ut_id, &ut_line[2], size);
|
||||
+ ut_id[0] = 't';
|
||||
#endif /* DGUX */
|
||||
- ut.ut_pid = getpid ();
|
||||
- ut.ut_type = USER_PROCESS;
|
||||
- setutent (); /* is it necessary? */
|
||||
- getutid (&ut);
|
||||
- pututline (&ut);
|
||||
- endutent ();
|
||||
+}
|
||||
+
|
||||
+public int
|
||||
+saveutmp (void)
|
||||
+{
|
||||
+#if UTMP_TRADITIONAL && !defined(DGUX)
|
||||
+ return saveutmp_traditional();
|
||||
+#else
|
||||
return 0;
|
||||
+#endif
|
||||
}
|
||||
-#endif /* SYSVR2 */
|
||||
|
||||
-#ifdef BSD42
|
||||
public int
|
||||
-resetutmp (ttyFd)
|
||||
- int ttyFd;
|
||||
+setutmp (int ttyFd)
|
||||
{
|
||||
- int utmpFd;
|
||||
+#if UTMP_TRADITIONAL
|
||||
+ return setutmp_traditional (ttyFd);
|
||||
+#else /* !UTMP_TRADITIONAL */
|
||||
+
|
||||
+#if HAVE_PUTUTXLINE
|
||||
+ struct utmpx utx;
|
||||
+ intfnptr saved_handler = NULL;
|
||||
+#endif
|
||||
struct utmp ut;
|
||||
+ int ut_err = -1;
|
||||
char *p;
|
||||
- int i;
|
||||
+ /* struct passwd *getpwuid (); */
|
||||
|
||||
- bzero (&ut, sizeof ut);
|
||||
+ memset (&ut, 0, sizeof ut);
|
||||
if ((p = ttyname (ttyFd)) == NULL)
|
||||
return -1;
|
||||
- strncpy (ut.ut_line, strrchr (p, '/') + 1, 8);
|
||||
+
|
||||
+ if (!strncmp(p, "/dev/", 5))
|
||||
+ p += 5;
|
||||
+ strncpy (ut.ut_line, p, sizeof (ut.ut_line));
|
||||
+ strncpy (ut.UT_USER, getpwuid (getuid ())->pw_name, sizeof(ut.UT_USER));
|
||||
ut.ut_time = time (0);
|
||||
- if (!(i = ttyfdslot (ttyFd)))
|
||||
- return -1;
|
||||
- if ((utmpFd = open (_PATH_UTMP, O_RDWR, 0)) < 0)
|
||||
+#if HAVE_STRUCT_UTMP_UT_ID
|
||||
+ build_utid(ut.ut_id, ut.ut_line, 4);
|
||||
+ /*
|
||||
+ * Maybe systems that does not have struct utmp.ut_id
|
||||
+ * does not have utmp.ut_pid / ut_type ...
|
||||
+ */
|
||||
+ ut.ut_pid = getpid ();
|
||||
+ ut.ut_type = USER_PROCESS;
|
||||
+#endif
|
||||
+
|
||||
+#if HAVE_PUTUTXLINE
|
||||
+ getutmpx (&ut, &utx);
|
||||
+# if ! HAVE_STRUCT_UTMP_UT_ID
|
||||
+ /* Assume all struct utmpx has this parameters ... */
|
||||
+ build_utid(utx.ut_id, utx.ut_line, 4);
|
||||
+ utx.ut_pid = getpid ();
|
||||
+ utx.ut_type = USER_PROCESS;
|
||||
+# endif
|
||||
+ setutxent (); /* is it necessary? */
|
||||
+ getutxid (&utx);
|
||||
+ /*
|
||||
+ * For systems that have utmp-update helper (ex. Solaris, NetBSD-4),
|
||||
+ * we temporally stop using chld_handler to correctly wait()
|
||||
+ * for helper on its implementation if user is normal user and
|
||||
+ * uum isn't either setuid or setgid process.
|
||||
+ * (You may get problem if uum catch SIGCHLD at that time ...)
|
||||
+ */
|
||||
+ if (getuid() != 0 && getuid() == geteuid() && getgid() == getegid()) {
|
||||
+ saved_handler = signal(SIGCHLD, SIG_DFL);
|
||||
+ }
|
||||
+ if (pututxline (&utx) == NULL) {
|
||||
+ /* perror("pututxline() failed:"); */ /* for DEBUG */
|
||||
+ ut_err = 1;
|
||||
+ } else {
|
||||
+ ut_err = 0;
|
||||
+ }
|
||||
+ if (saved_handler != NULL) {
|
||||
+ signal(SIGCHLD, saved_handler); /* restore handler */
|
||||
+ }
|
||||
+ endutxent();
|
||||
+#endif /* HAVE_PUTUTXLINE */
|
||||
+#if HAVE_PUTUTLINE
|
||||
+ /* Set utmp if setting utmpx fails (or non-utmpx system) */
|
||||
+ if (ut_err != 0) {
|
||||
+ setutent (); /* is it necessary? */
|
||||
+ getutid (&ut);
|
||||
+ pututline (&ut); /* We don't check return value */
|
||||
+ endutent ();
|
||||
+ ut_err = 0;
|
||||
+ }
|
||||
+#endif /* HAVE_PUTUTLINE */
|
||||
+ if (ut_err == 0) {
|
||||
+ return 0;
|
||||
+ } else {
|
||||
return -1;
|
||||
- lseek (utmpFd, savslotnum * (sizeof saveut), 0);
|
||||
- write (utmpFd, &saveut, sizeof saveut);
|
||||
- lseek (utmpFd, i * (sizeof ut), 0);
|
||||
- write (utmpFd, &ut, sizeof ut);
|
||||
- close (utmpFd);
|
||||
- return 0;
|
||||
+ }
|
||||
+#endif /* !UTMP_TRADITIONAL */
|
||||
}
|
||||
-#endif /* BSD42 */
|
||||
|
||||
-#ifdef SYSVR2
|
||||
public int
|
||||
-resetutmp (ttyFd)
|
||||
- int ttyFd;
|
||||
+resetutmp (int ttyFd)
|
||||
{
|
||||
+#if UTMP_TRADITIONAL
|
||||
+ return resetutmp_traditional (ttyFd);
|
||||
+#else /* !UTMP_TRADITIONAL */
|
||||
+
|
||||
+#if HAVE_PUTUTXLINE
|
||||
+ struct utmpx utx;
|
||||
+#endif
|
||||
struct utmp ut;
|
||||
+ int ut_err = -1;
|
||||
char *p;
|
||||
- struct passwd *getpwuid ();
|
||||
+ /* struct passwd *getpwuid (); */
|
||||
|
||||
memset (&ut, 0, sizeof ut);
|
||||
if ((p = ttyname (ttyFd)) == NULL)
|
||||
return -1;
|
||||
- strncpy (ut.ut_line, strrchr (p, '/') + 1, 12);
|
||||
- strncpy (ut.ut_user, getpwuid (getuid ())->pw_name, 8);
|
||||
+ if (!strncmp(p, "/dev/", 5))
|
||||
+ p += 5;
|
||||
+ strncpy (ut.ut_line, p, sizeof (ut.ut_line));
|
||||
+/* strncpy (ut.ut_line, strrchr (p, '/') + 1, 12); */
|
||||
+ strncpy (ut.UT_USER, getpwuid (getuid ())->pw_name, sizeof(ut.UT_USER));
|
||||
ut.ut_time = time (0);
|
||||
-#ifdef DGUX
|
||||
- strncpy (ut.ut_id, &ut.ut_line[3], 4);
|
||||
-#else
|
||||
- strncpy (ut.ut_id, &ut.ut_line[2], 4);
|
||||
- ut.ut_id[0] = 't';
|
||||
-#endif /* DGUX */
|
||||
+#if HAVE_STRUCT_UTMP_UT_ID
|
||||
+ build_utid(ut.ut_id, ut.ut_line, 4);
|
||||
+ /*
|
||||
+ * Maybe systems that does not have struct utmp.ut_id
|
||||
+ * does not have utmp.ut_pid / ut_type ...
|
||||
+ */
|
||||
ut.ut_pid = getpid ();
|
||||
ut.ut_type = DEAD_PROCESS; /* not sure */
|
||||
- setutent (); /* is it necessary? */
|
||||
- getutid (&ut);
|
||||
- pututline (&ut);
|
||||
- endutent ();
|
||||
+#endif
|
||||
+
|
||||
+#if HAVE_PUTUTXLINE
|
||||
+ getutmpx (&ut, &utx);
|
||||
+# if ! HAVE_STRUCT_UTMP_UT_ID
|
||||
+ /* Assume all struct utmpx has this parameters ... */
|
||||
+ build_utid(utx.ut_id, utx.ut_line, 4);
|
||||
+ utx.ut_pid = getpid ();
|
||||
+ utx.ut_type = DEAD_PROCESS; /* not sure */
|
||||
+# endif
|
||||
+ setutxent (); /* is it necessary? */
|
||||
+ getutxid (&utx);
|
||||
+ /* We don't change SIGCHLD handler for now */
|
||||
+ if (pututxline (&utx) == NULL) {
|
||||
+ ut_err = 1;
|
||||
+ } else {
|
||||
+ ut_err = 0;
|
||||
+ }
|
||||
+ endutxent();
|
||||
+#endif /* HAVE_PUTUTXLINE */
|
||||
+#if HAVE_PUTUTLINE
|
||||
+ /* Set utmp if setting utmpx fails (or non-utmpx system) */
|
||||
+ if (ut_err != 0) {
|
||||
+ setutent (); /* is it necessary? */
|
||||
+ getutid (&ut);
|
||||
+ pututline (&ut); /* We don't check return value */
|
||||
+ endutent ();
|
||||
+ ut_err = 0;
|
||||
+ }
|
||||
+#endif /* HAVE_PUTUTLINE */
|
||||
+ if (ut_err == 0) {
|
||||
+ return 0;
|
||||
+ } else {
|
||||
+ return -1;
|
||||
+ }
|
||||
return 0;
|
||||
+#endif /* !UTMP_TRADITIONAL */
|
||||
+}
|
||||
+
|
||||
+#else /* ! USE_UTMP */
|
||||
+/* We don't use setutmp feature. Set dummy function. */
|
||||
+public int
|
||||
+saveutmp (void)
|
||||
+{
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+public int
|
||||
+setutmp (int ttyFd)
|
||||
+{
|
||||
+ return 1;
|
||||
+}
|
||||
+
|
||||
+public int
|
||||
+resetutmp (int ttyFd)
|
||||
+{
|
||||
+ return 1;
|
||||
}
|
||||
-#endif /* SYSVR2 */
|
||||
+#endif /* ! USE_UTMP */
|
||||
@@ -1,69 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_sheader.h,v 1.1 2011/09/13 07:23:19 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/sheader.h.orig 2003-05-11 18:29:24.000000000 +0000
|
||||
+++ Wnn/uum/sheader.h
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002-2003
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2003, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -209,9 +209,22 @@ extern void uum_err (char *);
|
||||
extern void FPRINTF ();
|
||||
extern void PRINTF ();
|
||||
|
||||
+/* setutmp.c */
|
||||
+extern int saveutmp (void);
|
||||
+extern int resetutmp (int ttyFd);
|
||||
+extern int setutmp (int ttyFd);
|
||||
+
|
||||
/* ttyfdslot.c */
|
||||
extern int ttyfdslot (int fd);
|
||||
|
||||
+#if HAVE_TERMINFO
|
||||
+/* termio.c */
|
||||
+extern int openTermData (void);
|
||||
+#else
|
||||
+/* termcap.c */
|
||||
+extern int getTermData (void);
|
||||
+#endif
|
||||
+
|
||||
/* to be classified */
|
||||
extern void b_s_off_raw (void);
|
||||
extern void b_s_on_raw (void);
|
||||
@@ -249,7 +262,6 @@ extern int find_entry (char *);
|
||||
extern void flushw_buf (void);
|
||||
extern int forward_char (void);
|
||||
extern int backward_char (void);
|
||||
-extern int getTermData ();
|
||||
extern void get_end_of_history ();
|
||||
extern void getfname ();
|
||||
extern void h_r_off ();
|
||||
@@ -310,11 +322,9 @@ extern int isconect_jserver ();
|
||||
extern int ren_henkan0 ();
|
||||
extern void reset_bold ();
|
||||
extern void reset_cursor_status ();
|
||||
-extern int resetutmp ();
|
||||
extern void restore_cursor_raw ();
|
||||
extern void ring_bell ();
|
||||
extern void save_cursor_raw ();
|
||||
-extern int saveutmp ();
|
||||
extern void scroll_up ();
|
||||
extern int select_jikouho1 ();
|
||||
extern int select_line_element ();
|
||||
@@ -330,7 +340,6 @@ extern void set_screen_vars_default ();
|
||||
extern void set_keypad_on ();
|
||||
extern void set_keypad_off ();
|
||||
extern void set_scroll_region ();
|
||||
-extern int setutmp ();
|
||||
extern int st_colum ();
|
||||
extern void t_cont_line_note_delete ();
|
||||
extern int t_delete_char ();
|
||||
@@ -1,21 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_termcap.c,v 1.1 2011/09/13 07:23:19 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/termcap.c.orig 2002-06-13 21:27:47.000000000 +0000
|
||||
+++ Wnn/uum/termcap.c
|
||||
@@ -89,7 +89,7 @@ char *Term_UnderScoreEnd;
|
||||
|
||||
char *Term_KeyPadOn;
|
||||
char *Term_KeyPadOff;
|
||||
-#ifdef TERMCAP
|
||||
+#if !HAVE_TERMINFO /* Assume TERMCAP */
|
||||
char *Term_CursorNormal;
|
||||
char *Term_CursorInvisible;
|
||||
|
||||
@@ -564,4 +564,4 @@ strascii (dest, str)
|
||||
*dest = '\0';
|
||||
}
|
||||
|
||||
-#endif /* TERMCAP */
|
||||
+#endif /* !HAVE_TERMINFO */
|
||||
@@ -1,93 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_termio.c,v 1.1 2011/09/13 07:23:19 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/termio.c.orig 2002-06-13 21:27:47.000000000 +0000
|
||||
+++ Wnn/uum/termio.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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, 2002
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2002, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -35,13 +35,25 @@
|
||||
#include <stdio.h>
|
||||
#if STDC_HEADERS
|
||||
# include <stdlib.h>
|
||||
+# include <string.h>
|
||||
+#else
|
||||
+# if defined (HAVE_STRINGS_H)
|
||||
+# include <strings.h>
|
||||
+# endif /* HAVE_STRINGS_H */
|
||||
#endif /* STDC_HEADERS */
|
||||
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
#include "sheader.h"
|
||||
|
||||
-#ifdef TERMINFO
|
||||
+/*
|
||||
+ * tparm() macro for fixed argument prototype systems:
|
||||
+ * It may not harm on systems that tparm() has variable argument prototype
|
||||
+ * (or no prototype for compatibility).
|
||||
+ */
|
||||
+#define TPARM_3ARGS(func, p1, p2) tparm((func), (p1), (p2), 0,0,0,0,0,0,0)
|
||||
+
|
||||
+#ifdef HAVE_TERMINFO
|
||||
#include <stdio.h>
|
||||
#include <curses.h>
|
||||
#include <term.h>
|
||||
@@ -67,7 +79,7 @@ openTermData ()
|
||||
{
|
||||
char *cp, *get_kbd_env ();
|
||||
int status;
|
||||
- int k;
|
||||
+ /* int k; */
|
||||
char lcode[10];
|
||||
char termchar[20];
|
||||
char errprefix[1024] = "error";
|
||||
@@ -112,9 +124,13 @@ openTermData ()
|
||||
fprintf (stderr, "Your terminal is not strong enough. Goodbye !\n");
|
||||
return (-1);
|
||||
}
|
||||
+ /*
|
||||
+ * setenv TERM "${TERM}-j" to prevent starting uum over
|
||||
+ * uum-controled terminal (disabled for now ...)
|
||||
+ */
|
||||
termchar[0] = 0;
|
||||
strcat (termchar, cp);
|
||||
- strcat (termchar, "-j");
|
||||
+ /* strcat (termchar, "-j"); */
|
||||
if (setenv ("TERM", termchar, 1) != 0)
|
||||
{
|
||||
#if HAVE_SNPRINTF
|
||||
@@ -190,7 +206,7 @@ void
|
||||
set_scroll_region (start, end)
|
||||
int start, end;
|
||||
{
|
||||
- tputs (tparm (change_scroll_region, start, end), 1, putchar);
|
||||
+ tputs (TPARM_3ARGS (change_scroll_region, start, end), 1, putchar);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -218,7 +234,7 @@ void
|
||||
throw_cur_raw (col, row)
|
||||
int col, row;
|
||||
{
|
||||
- tputs (tparm (cursor_address, row, col), 1, putchar);
|
||||
+ tputs (TPARM_3ARGS (cursor_address, row, col), 1, putchar);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -294,4 +310,4 @@ cursor_normal_raw ()
|
||||
tputs (cursor_normal, 1, putchar);
|
||||
}
|
||||
|
||||
-#endif /* TERMINFO */
|
||||
+#endif /* HAVE_TERMINFO */
|
||||
@@ -1,38 +0,0 @@
|
||||
$NetBSD: patch-Wnn_uum_touroku.c,v 1.1 2011/09/13 07:23:19 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- Wnn/uum/touroku.c.orig 2001-06-14 18:16:08.000000000 +0000
|
||||
+++ Wnn/uum/touroku.c
|
||||
@@ -10,9 +10,9 @@
|
||||
* 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
|
||||
+ * Copyright FreeWnn Project 1999, 2000, 2006
|
||||
*
|
||||
- * Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+ * 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
|
||||
@@ -31,7 +31,19 @@
|
||||
|
||||
/* ÅÐÏ¿¤Î¤¿¤á¤Î¥ë¡¼¥Á¥ó */
|
||||
|
||||
+#ifdef HAVE_CONFIG_H
|
||||
+# include <config.h>
|
||||
+#endif
|
||||
+
|
||||
#include <stdio.h>
|
||||
+#if STDC_HEADERS
|
||||
+# include <string.h>
|
||||
+#else
|
||||
+# if HAVE_STRINGS_H
|
||||
+# include <strings.h>
|
||||
+# endif
|
||||
+#endif /* STDC_HEADERS */
|
||||
+
|
||||
#include "jllib.h"
|
||||
#include "commonhd.h"
|
||||
#include "sdefine.h"
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,46 +0,0 @@
|
||||
$NetBSD: patch-cWnn_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/Makefile.in.orig 2001-08-14 13:43:21.000000000 +0000
|
||||
+++ cWnn/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,8 +29,9 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
WNNOWNER = wnn
|
||||
|
||||
@@ -52,10 +53,14 @@ TDDIR = td
|
||||
|
||||
WNNMANDIR = man
|
||||
|
||||
-LIB_SUBDIRS = $(JLIBDIR) $(CDDIR) $(WNNCLIENTSDIR) $(TDDIR)
|
||||
+UUMDIR = uum
|
||||
+
|
||||
+LIB_SUBDIRS = $(JLIBDIR) $(CDDIR) $(TDDIR)
|
||||
|
||||
SERVER_SUBDIRS = $(JSERVERDIR) $(WNNJUTILDIR) $(CDICDIR) $(TDICDIR) $(WNNMANDIR)
|
||||
|
||||
+CLIENT_SUBDIRS = $(WNNCLIENTSDIR) $(UUMDIR)
|
||||
+
|
||||
SUBDIRS = @SUBDIRS@
|
||||
|
||||
ALL_SUBDIRS = $(LIB_SUBDIRS) $(SERVER_SUBDIRS)
|
||||
@@ -1,40 +0,0 @@
|
||||
$NetBSD: patch-cWnn_cdic_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/cdic/Makefile.in.orig 2004-04-24 18:56:40.000000000 +0000
|
||||
+++ cWnn/cdic/Makefile.in
|
||||
@@ -5,10 +5,10 @@
|
||||
# 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 2001, 2004
|
||||
+# Copyright FreeWnn Project 2001, 2004, 2010
|
||||
#
|
||||
# Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -27,6 +27,7 @@
|
||||
include @top_builddir@/makerule.mk
|
||||
top_srcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
+ VPATH = @srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
CWNNJUTILOBJ = $(top_builddir)/cWnn/jutil
|
||||
|
||||
@@ -63,10 +64,10 @@ all:: $(ALLTGT)
|
||||
$(DICS): $(HINSI)
|
||||
|
||||
$(FULL):: $(FZK_SRCS) con.master-.c
|
||||
- $(CPP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
$(FULLR):: $(FZK_SRCS) con.masterR-.c
|
||||
- $(CPP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
# To avoid circular dependency, we don't use 'con.master?.c'
|
||||
con.master-.c: con.master
|
||||
@@ -1,36 +0,0 @@
|
||||
$NetBSD: patch-cWnn_jlib_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/jlib/Makefile.in.orig 2004-09-12 16:56:55.000000000 +0000
|
||||
+++ cWnn/jlib/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2003
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2003, 2009
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -39,8 +39,6 @@ INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_b
|
||||
DEFINES = $(CWNNDEFINES) $(CWNNLANGDEF) $(JLIBDEFINES)
|
||||
LINTLIBS =
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
-LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
-LT_CC = $(LIBTOOL) --mode=compile $(CC)
|
||||
|
||||
SRC1= jl.c js.c wnnerrmsg.c
|
||||
OBJ1= jl.o js.o wnnerrmsg.o
|
||||
@@ -119,7 +117,7 @@ lint1:
|
||||
all:: libcwnn.la
|
||||
|
||||
libcwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(CWNNJLIBVERSION)
|
||||
+ $(LT_LD) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(CWNNJLIBVERSION) @LIBS@
|
||||
|
||||
lintlib:: llib-lcwnn.ln
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
$NetBSD: patch-cWnn_jserver_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/jserver/Makefile.in.orig 2004-05-21 16:39:32.000000000 +0000
|
||||
+++ cWnn/jserver/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003, 2004, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -126,15 +126,12 @@ clean::
|
||||
|
||||
instserver:: install
|
||||
|
||||
-install:: cserver
|
||||
- @if [ -d $(DESTDIR)$(CWNNBINDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNBINDIR)); fi
|
||||
- $(LIBTOOL) --mode=install $(INSTALL) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) cserver $(DESTDIR)$(CWNNBINDIR)/cserver
|
||||
-
|
||||
-install:: tserver
|
||||
- @if [ -d $(DESTDIR)$(CWNNBINDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNBINDIR)); fi
|
||||
- $(LIBTOOL) --mode=install $(INSTALL) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) tserver $(DESTDIR)$(CWNNBINDIR)/tserver
|
||||
+install:: cserver tserver
|
||||
+ @if [ -d $(DESTDIR)$(CWNNSBINDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNSBINDIR)); fi
|
||||
+ for server in $?; do \
|
||||
+ $(LT_INSTALL) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$server $(DESTDIR)$(CWNNSBINDIR)/`echo $$server | sed '$(transform)'`; \
|
||||
+ done
|
||||
|
||||
includes:: $(HDRS) $(SRC0) $(SRC1) $(TSRCS)
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
$NetBSD: patch-cWnn_jutil_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/jutil/Makefile.in.orig 2004-08-15 09:38:23.000000000 +0000
|
||||
+++ cWnn/jutil/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2004
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2004, 2010, 2011
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -38,17 +38,20 @@ LT_INSTALL = $(LIBTOOL) --mode=inst
|
||||
LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
|
||||
LOCAL_INSTFLAGS = -o $(WNNOWNER)
|
||||
|
||||
- INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTCWNNJINC@ -I$(CWNNINCLUDESRC)
|
||||
DEFINES = $(CWNNDEFINES) $(CWNNLANGDEF)
|
||||
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(CWNNLANG)/cixing.data\"
|
||||
|
||||
-CLIENTPROGRAMS = cwnnstat cwnnkill cwddel cwdreg
|
||||
+CLIENTPROGRAMS = cwddel cwdreg
|
||||
+
|
||||
+# Server status / kill programs
|
||||
+CLIENT_SV_PROGRAMS = cwnnstat cwnnkill
|
||||
|
||||
DICUTIL2PROGRAMS = catod catof cwnntouch
|
||||
|
||||
DICUTILPROGRAMS = cdtoa
|
||||
|
||||
-PROGRAMS = $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
+PROGRAMS = $(CLIENTPROGRAMS) $(CLIENT_SV_PROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
|
||||
LINKS = atod.c atorev.c dic_head.c dtoa.c sort.c ujisf.c utilbdic.c wddel.c wdreg.c wnnkill.c wnnstat.c wnntouch.c atof.c
|
||||
|
||||
@@ -329,10 +332,15 @@ instclient:: install
|
||||
install:: $(PROGRAMS)
|
||||
@if [ -d $(DESTDIR)$(CWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNBINDIR)); fi
|
||||
+ @if [ -d $(DESTDIR)$(CWNNSBINDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNSBINDIR)); fi
|
||||
@for flag in ${MAKEFLAGS} ''; do \
|
||||
case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
||||
- for i in $(PROGRAMS); do \
|
||||
- (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(CWNNBINDIR)); \
|
||||
+ for i in $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(CWNNBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
+ done; \
|
||||
+ for i in $(CLIENT_SV_PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(CWNNSBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
done
|
||||
|
||||
$(OBJ1) : $(SRC1)
|
||||
@@ -1,31 +0,0 @@
|
||||
$NetBSD: patch-cWnn_man_2.env_ckey.man,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/man/2.env/ckey.man.orig 2001-06-14 18:08:35.000000000 +0000
|
||||
+++ cWnn/man/2.env/ckey.man
|
||||
@@ -9,9 +9,9 @@
|
||||
.\" 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
|
||||
+.\" Copyright FreeWnn Project 1999, 2000, 2007
|
||||
.\"
|
||||
-.\" Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+.\" 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
|
||||
@@ -33,6 +33,7 @@ ckey \- The standard definition of each
|
||||
cWnn system.
|
||||
|
||||
.SH DESCRIPTION
|
||||
+.nf
|
||||
----------------------------------------------------------
|
||||
.sp 0
|
||||
| Function | Other | Description | Function | Function |
|
||||
@@ -247,3 +248,4 @@ ckey \- The standard definition of each
|
||||
| | | | | (if press|
|
||||
| | | | | twice ) |
|
||||
----------------------------------------------------------
|
||||
+.fi
|
||||
@@ -1,79 +0,0 @@
|
||||
$NetBSD: patch-cWnn_man_4.cmd_Makefile.in,v 1.1 2011/09/13 07:23:20 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/man/4.cmd/Makefile.in.orig 2001-08-14 13:43:22.000000000 +0000
|
||||
+++ cWnn/man/4.cmd/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,41 +29,30 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+top_builddir = @top_builddir@
|
||||
+ srcdir = @srcdir@
|
||||
|
||||
MANSUFFIX = 1
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
|
||||
-install.man:: cserver.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cserver.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cserver.man \
|
||||
- $(DESTDIR)$(MANDIR)/cserver.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cserver.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cuum.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cuum.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cuum.man \
|
||||
- $(DESTDIR)$(MANDIR)/cuum.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cuum.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cwnnkill.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cwnnkill.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cwnnkill.man \
|
||||
- $(DESTDIR)$(MANDIR)/cwnnkill.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cwnnkill.$(MANSUFFIX)
|
||||
+SERVER_MAN = cserver.man
|
||||
+CLIENT_MAN = cuum.man
|
||||
+SVTOOL_MAN = cwnnkill.man cwnnstat.man
|
||||
+ MANUALS = $(SERVER_MAN) $(CLIENT_MAN) $(SVTOOL_MAN)
|
||||
|
||||
-install.man:: cwnnstat.man
|
||||
+# Probably we don't need $(MANUALS) as dependency ...
|
||||
+install.man::
|
||||
@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cwnnstat.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cwnnstat.man \
|
||||
- $(DESTDIR)$(MANDIR)/cwnnstat.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cwnnstat.$(MANSUFFIX)
|
||||
+ for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(RM) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)*; \
|
||||
+ $(INSTALL) $(INSTMANFLAGS) $(srcdir)/$$m \
|
||||
+ $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
+ -for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
@@ -1,105 +0,0 @@
|
||||
$NetBSD: patch-cWnn_man_6.jutil_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/man/6.jutil/Makefile.in.orig 2001-08-14 13:43:22.000000000 +0000
|
||||
+++ cWnn/man/6.jutil/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,65 +29,29 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ../../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+top_builddir = @top_builddir@
|
||||
+ srcdir = @srcdir@
|
||||
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
|
||||
MANSUFFIX = 1
|
||||
|
||||
-install.man:: catod.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/catod.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) catod.man \
|
||||
- $(DESTDIR)$(MANDIR)/catod.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/catod.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: catof.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/catof.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) catof.man \
|
||||
- $(DESTDIR)$(MANDIR)/catof.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/catof.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cdicsort.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cdicsort.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cdicsort.man \
|
||||
- $(DESTDIR)$(MANDIR)/cdicsort.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cdicsort.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cdtoa.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cdtoa.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cdtoa.man \
|
||||
- $(DESTDIR)$(MANDIR)/cdtoa.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cdtoa.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cwddel.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cwddel.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cwddel.man \
|
||||
- $(DESTDIR)$(MANDIR)/cwddel.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cwddel.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cwdreg.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cwdreg.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cwdreg.man \
|
||||
- $(DESTDIR)$(MANDIR)/cwdreg.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cwdreg.$(MANSUFFIX)
|
||||
-
|
||||
-install.man:: cwnntouch.man
|
||||
- @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
- else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
- $(RM) $(DESTDIR)$(MANDIR)/cwnntouch.$(MANSUFFIX)*
|
||||
- $(INSTALL) $(INSTMANFLAGS) cwnntouch.man \
|
||||
- $(DESTDIR)$(MANDIR)/cwnntouch.$(MANSUFFIX)
|
||||
- -$(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/cwnntouch.$(MANSUFFIX)
|
||||
+MANUALS = catod.man catof.man cdtoa.man cwddel.man cwdreg.man cwnntouch.man
|
||||
+# Please add cdicsort.man to MANUALS if you need this.
|
||||
+# (Currently we don't install cdicsort by default.)
|
||||
+
|
||||
+# Probably we don't need $(MANUALS) as dependency ...
|
||||
+install.man::
|
||||
+ @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
|
||||
+ for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(RM) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX)*; \
|
||||
+ $(INSTALL) $(INSTMANFLAGS) $(srcdir)/$$m \
|
||||
+ $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
+ -for m in $(MANUALS); do \
|
||||
+ manname=`basename $$m .man | sed '$(transform)'`; \
|
||||
+ $(COMPRESSMANCMD) $(DESTDIR)$(MANDIR)/$$manname.$(MANSUFFIX); \
|
||||
+ done
|
||||
@@ -1,42 +0,0 @@
|
||||
$NetBSD: patch-cWnn_romkan_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/romkan/Makefile.in.orig 2002-03-30 09:34:46.000000000 +0000
|
||||
+++ cWnn/romkan/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,10 +29,11 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include ../../makerule.mk
|
||||
-top_builddir = ../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
- INCLUDES = -I$(CWNNINCLUDESRC) -I$(TOP)
|
||||
+ INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_builddir)
|
||||
DEFINES = $(CWNNDEFINES) -DWNNDEFAULT $(CWNNLANGDEF)
|
||||
LINTLIBS =
|
||||
|
||||
@@ -48,7 +49,7 @@ includes::
|
||||
|
||||
.c.o:
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
+ $(LT_CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -1,40 +0,0 @@
|
||||
$NetBSD: patch-cWnn_tdic_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/tdic/Makefile.in.orig 2004-04-24 18:56:40.000000000 +0000
|
||||
+++ cWnn/tdic/Makefile.in
|
||||
@@ -5,10 +5,10 @@
|
||||
# 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 2001, 2004
|
||||
+# Copyright FreeWnn Project 2001, 2004, 2010
|
||||
#
|
||||
# Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -27,6 +27,7 @@
|
||||
include @top_builddir@/makerule.mk
|
||||
top_srcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
+ VPATH = @srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
CWNNJUTILOBJ = $(top_builddir)/cWnn/jutil
|
||||
|
||||
@@ -63,10 +64,10 @@ all:: $(ALLTGT)
|
||||
$(DICS): $(HINSI)
|
||||
|
||||
$(FULL):: $(FZK_SRCS) con.master-.c
|
||||
- $(CPP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
$(FULLR):: $(FZK_SRCS) con.masterR-.c
|
||||
- $(CPP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) -I$(srcdir) $(FZK_FLAG) con.masterR-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
# To avoid circular dependency, we don't use 'con.master?.c'
|
||||
con.master-.c: con.master
|
||||
@@ -1,56 +0,0 @@
|
||||
$NetBSD: patch-cWnn_uum_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- cWnn/uum/Makefile.in.orig 2005-11-20 16:10:28.000000000 +0000
|
||||
+++ cWnn/uum/Makefile.in
|
||||
@@ -10,7 +10,7 @@
|
||||
# 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, 2005
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2005, 2006, 2007, 2010, 2011
|
||||
#
|
||||
# Maintainer: FreeWnn Project
|
||||
#
|
||||
@@ -30,15 +30,18 @@
|
||||
#
|
||||
|
||||
include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = @INSTALL@
|
||||
+LOCAL_INSTFLAGS = $(INSTUUMFLAGS)
|
||||
|
||||
- UUMOWNER = root
|
||||
- INCLUDES = -I$(CWNNINCLUDESRC) -I$(CWNNROMKANSRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTCWNNJINC@ -I$(CWNNINCLUDESRC) -I$(CWNNROMKANSRC)
|
||||
DEFINES = $(CWNNDEFINES) $(CWNNLANGDEF)
|
||||
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
|
||||
LOCAL_LIBRARIES = $(CWNNJLIB) $(CWNNCONVLIB) @LIBS@
|
||||
+# FIXME: libspt: need configure support ...
|
||||
+# LIBSPT_CFLAGS = @LIBSPT_CFLAGS@
|
||||
+# LIBSPT_LIBS = @LIBSPT_LIBS@
|
||||
|
||||
HDRS= buffer.h cvtcode.h sdefine.h sheader.h
|
||||
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
|
||||
@@ -62,7 +65,7 @@ all:: $(HDRS) $(SRC1) cuum
|
||||
|
||||
cuum: $(OBJS) @DEPCWNNJLIB@ $(CWNNCONVLIB)
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(WNNTERM_LIB)
|
||||
+ $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -427,7 +430,7 @@ instclient:: install
|
||||
install:: cuum
|
||||
@if [ -d $(DESTDIR)$(CWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(CWNNBINDIR)); fi
|
||||
- $(LIBTOOL) --mode=install $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) cuum $(DESTDIR)$(CWNNBINDIR)/cuum
|
||||
+ $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) cuum $(DESTDIR)$(CWNNBINDIR)/`echo cuum | sed '$(transform)'`
|
||||
|
||||
$(OBJ2) : $(SRC2)
|
||||
$(CC) -c $(CFLAGS) $(CWNNETCSRC)/`basename $@ .o`.c
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,116 +0,0 @@
|
||||
$NetBSD: patch-config.h.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- config.h.in.orig 2005-11-27 17:30:23.000000000 +0000
|
||||
+++ config.h.in
|
||||
@@ -63,12 +63,15 @@
|
||||
/* Define to 1 if you have the `bind' library (-lbind). */
|
||||
#undef HAVE_LIBBIND
|
||||
|
||||
-/* Define to 1 if you have the `nsl' library (-lnsl). */
|
||||
-#undef HAVE_LIBNSL
|
||||
-
|
||||
/* Define to 1 if you have the `socket' library (-lsocket). */
|
||||
#undef HAVE_LIBSOCKET
|
||||
|
||||
+/* Define to 1 if you have the `util' library (-lutil). */
|
||||
+#undef HAVE_LIBUTIL
|
||||
+
|
||||
+/* Define to 1 if you have the <libutil.h> header file. */
|
||||
+#undef HAVE_LIBUTIL_H
|
||||
+
|
||||
/* Define if you have libwrap (TCP wrapper) support. */
|
||||
#undef HAVE_LIBWRAP
|
||||
|
||||
@@ -93,6 +96,21 @@
|
||||
/* Define to 1 if you have the <ncurses.h> header file. */
|
||||
#undef HAVE_NCURSES_H
|
||||
|
||||
+/* Define to 1 if you have the `openpty' function. */
|
||||
+#undef HAVE_OPENPTY
|
||||
+
|
||||
+/* Define to 1 if you have the `posix_openpt' function. */
|
||||
+#undef HAVE_POSIX_OPENPT
|
||||
+
|
||||
+/* Define to 1 if you have the `ptsname' function. */
|
||||
+#undef HAVE_PTSNAME
|
||||
+
|
||||
+/* Define to 1 if you have the `pututline' function. */
|
||||
+#undef HAVE_PUTUTLINE
|
||||
+
|
||||
+/* Define to 1 if you have the `pututxline' function. */
|
||||
+#undef HAVE_PUTUTXLINE
|
||||
+
|
||||
/* Define to 1 if you have the `random' function. */
|
||||
#undef HAVE_RANDOM
|
||||
|
||||
@@ -114,6 +132,9 @@
|
||||
/* Define to 1 if you have the `setpgrp' function. */
|
||||
#undef HAVE_SETPGRP
|
||||
|
||||
+/* Define to 1 if you have the `setsid' function. */
|
||||
+#undef HAVE_SETSID
|
||||
+
|
||||
/* Define to 1 if you have the `setsockopt' function. */
|
||||
#undef HAVE_SETSOCKOPT
|
||||
|
||||
@@ -147,6 +168,15 @@
|
||||
/* Define to 1 if you have the `strrchr' function. */
|
||||
#undef HAVE_STRRCHR
|
||||
|
||||
+/* Define to 1 if `ut_id' is member of `struct utmp'. */
|
||||
+#undef HAVE_STRUCT_UTMP_UT_ID
|
||||
+
|
||||
+/* Define to 1 if `ut_name' is member of `struct utmp'. */
|
||||
+#undef HAVE_STRUCT_UTMP_UT_NAME
|
||||
+
|
||||
+/* Define to 1 if `ut_user' is member of `struct utmp'. */
|
||||
+#undef HAVE_STRUCT_UTMP_UT_USER
|
||||
+
|
||||
/* Define to 1 if you have the `syslog' function. */
|
||||
#undef HAVE_SYSLOG
|
||||
|
||||
@@ -165,6 +195,9 @@
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#undef HAVE_SYS_STAT_H
|
||||
|
||||
+/* Define to 1 if you have the <sys/termio.h> header file. */
|
||||
+#undef HAVE_SYS_TERMIO_H
|
||||
+
|
||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
||||
#undef HAVE_SYS_TIME_H
|
||||
|
||||
@@ -174,6 +207,12 @@
|
||||
/* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
|
||||
#undef HAVE_SYS_WAIT_H
|
||||
|
||||
+/* Define to 1 if you have the <termcap.h> header file. */
|
||||
+#undef HAVE_TERMCAP_H
|
||||
+
|
||||
+/* terminfo spoken here */
|
||||
+#undef HAVE_TERMINFO
|
||||
+
|
||||
/* Define to 1 if you have the <termios.h> header file. */
|
||||
#undef HAVE_TERMIOS_H
|
||||
|
||||
@@ -201,6 +240,9 @@
|
||||
/* Define to 1 if you have the `wait3' function. */
|
||||
#undef HAVE_WAIT3
|
||||
|
||||
+/* Define to 1 if you have the file `AC_File'. */
|
||||
+#undef HAVE__DEV_PTMX
|
||||
+
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#undef PACKAGE_BUGREPORT
|
||||
|
||||
@@ -231,6 +273,9 @@
|
||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
||||
#undef TIME_WITH_SYS_TIME
|
||||
|
||||
+/* Define to 1 if uum writes utmp entry */
|
||||
+#undef USE_UTMP
|
||||
+
|
||||
/* Define to allow writing to other than JSERVERDIR. */
|
||||
#undef WNN_ALLOW_UNSAFE_PATH
|
||||
|
||||
@@ -1,738 +0,0 @@
|
||||
$NetBSD: patch-config.sub,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- config.sub.orig 2003-06-04 08:35:02.000000000 +0000
|
||||
+++ config.sub
|
||||
@@ -1,9 +1,10 @@
|
||||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
-# 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
|
||||
+# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
|
||||
+# Free Software Foundation, Inc.
|
||||
|
||||
-timestamp='2003-02-22'
|
||||
+timestamp='2008-01-16'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
@@ -21,14 +22,15 @@ timestamp='2003-02-22'
|
||||
#
|
||||
# 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.
|
||||
-
|
||||
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
|
||||
+# 02110-1301, USA.
|
||||
+#
|
||||
# As a special exception to the GNU General Public License, if you
|
||||
# distribute this file as part of a program that contains a
|
||||
# configuration script generated by Autoconf, you may include it under
|
||||
# the same distribution terms that you use for the rest of that program.
|
||||
|
||||
+
|
||||
# Please send patches to <config-patches@gnu.org>. Submit a context
|
||||
# diff and a properly formatted ChangeLog entry.
|
||||
#
|
||||
@@ -70,8 +72,8 @@ Report bugs and patches to <config-patch
|
||||
version="\
|
||||
GNU config.sub ($timestamp)
|
||||
|
||||
-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
||||
-Free Software Foundation, Inc.
|
||||
+Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
|
||||
+2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
|
||||
|
||||
This is free software; see the source for copying conditions. There is NO
|
||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||
@@ -83,11 +85,11 @@ Try \`$me --help' for more information."
|
||||
while test $# -gt 0 ; do
|
||||
case $1 in
|
||||
--time-stamp | --time* | -t )
|
||||
- echo "$timestamp" ; exit 0 ;;
|
||||
+ echo "$timestamp" ; exit ;;
|
||||
--version | -v )
|
||||
- echo "$version" ; exit 0 ;;
|
||||
+ echo "$version" ; exit ;;
|
||||
--help | --h* | -h )
|
||||
- echo "$usage"; exit 0 ;;
|
||||
+ echo "$usage"; exit ;;
|
||||
-- ) # Stop option processing
|
||||
shift; break ;;
|
||||
- ) # Use stdin as input.
|
||||
@@ -99,7 +101,7 @@ while test $# -gt 0 ; do
|
||||
*local*)
|
||||
# First pass through any local machine types.
|
||||
echo $1
|
||||
- exit 0;;
|
||||
+ exit ;;
|
||||
|
||||
* )
|
||||
break ;;
|
||||
@@ -118,7 +120,9 @@ esac
|
||||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
- nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
+ nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||
+ uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
+ storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
@@ -144,7 +148,7 @@ case $os in
|
||||
-convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
|
||||
-c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
|
||||
-harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
|
||||
- -apple | -axis)
|
||||
+ -apple | -axis | -knuth | -cray)
|
||||
os=
|
||||
basic_machine=$1
|
||||
;;
|
||||
@@ -169,6 +173,10 @@ case $os in
|
||||
-hiux*)
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
+ -sco6)
|
||||
+ os=-sco5v6
|
||||
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
+ ;;
|
||||
-sco5)
|
||||
os=-sco3.2v5
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
@@ -185,6 +193,10 @@ case $os in
|
||||
# Don't forget version if it is 3.2v4 or newer.
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
+ -sco5v6*)
|
||||
+ # Don't forget version if it is 3.2v4 or newer.
|
||||
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
+ ;;
|
||||
-sco*)
|
||||
os=-sco3.2v2
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
@@ -228,14 +240,17 @@ case $basic_machine in
|
||||
| a29k \
|
||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
||||
- | clipper \
|
||||
+ | am33_2.0 \
|
||||
+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||
+ | bfin \
|
||||
+ | c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
- | fr30 | frv \
|
||||
+ | fido | fr30 | frv \
|
||||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
- | ip2k \
|
||||
- | m32r | m68000 | m68k | m88k | mcore \
|
||||
+ | ip2k | iq2000 \
|
||||
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||
+ | maxq | mb | microblaze | mcore | mep \
|
||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||
| mips16 \
|
||||
| mips64 | mips64el \
|
||||
@@ -244,27 +259,33 @@ case $basic_machine in
|
||||
| mips64vr4100 | mips64vr4100el \
|
||||
| mips64vr4300 | mips64vr4300el \
|
||||
| mips64vr5000 | mips64vr5000el \
|
||||
+ | mips64vr5900 | mips64vr5900el \
|
||||
| mipsisa32 | mipsisa32el \
|
||||
| mipsisa32r2 | mipsisa32r2el \
|
||||
| mipsisa64 | mipsisa64el \
|
||||
+ | mipsisa64r2 | mipsisa64r2el \
|
||||
| mipsisa64sb1 | mipsisa64sb1el \
|
||||
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||
| mipstx39 | mipstx39el \
|
||||
| mn10200 | mn10300 \
|
||||
+ | mt \
|
||||
| msp430 \
|
||||
+ | nios | nios2 \
|
||||
| ns16k | ns32k \
|
||||
- | openrisc | or32 \
|
||||
+ | or32 \
|
||||
| pdp10 | pdp11 | pj | pjl \
|
||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||
| pyramid \
|
||||
- | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
||||
+ | score \
|
||||
+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
- | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv9 | sparcv9b \
|
||||
- | strongarm \
|
||||
- | tahoe | thumb | tic80 | tron \
|
||||
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
+ | spu | strongarm \
|
||||
+ | tahoe | thumb | tic4x | tic80 | tron \
|
||||
| v850 | v850e \
|
||||
| we32k \
|
||||
- | x86 | xscale | xstormy16 | xtensa \
|
||||
+ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||
| z8k)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
@@ -275,6 +296,9 @@ case $basic_machine in
|
||||
;;
|
||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
||||
;;
|
||||
+ ms1)
|
||||
+ basic_machine=mt-unknown
|
||||
+ ;;
|
||||
|
||||
# We use `pc' rather than `unknown'
|
||||
# because (1) that's what they normally are, and
|
||||
@@ -294,20 +318,20 @@ case $basic_machine in
|
||||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
- | avr-* \
|
||||
- | bs2000-* \
|
||||
+ | avr-* | avr32-* \
|
||||
+ | bfin-* | bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
||||
- | clipper-* | cydra-* \
|
||||
+ | clipper-* | craynv-* | cydra-* \
|
||||
| d10v-* | d30v-* | dlx-* \
|
||||
| elxsi-* \
|
||||
- | f30[01]-* | f700-* | fr30-* | frv-* | fx80-* \
|
||||
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
|
||||
| h8300-* | h8500-* \
|
||||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
| i*86-* | i860-* | i960-* | ia64-* \
|
||||
- | ip2k-* \
|
||||
- | m32r-* \
|
||||
+ | ip2k-* | iq2000-* \
|
||||
+ | m32c-* | m32r-* | m32rle-* \
|
||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||
- | m88110-* | m88k-* | mcore-* \
|
||||
+ | m88110-* | m88k-* | maxq-* | mcore-* \
|
||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||
| mips16-* \
|
||||
| mips64-* | mips64el-* \
|
||||
@@ -316,33 +340,43 @@ case $basic_machine in
|
||||
| mips64vr4100-* | mips64vr4100el-* \
|
||||
| mips64vr4300-* | mips64vr4300el-* \
|
||||
| mips64vr5000-* | mips64vr5000el-* \
|
||||
+ | mips64vr5900-* | mips64vr5900el-* \
|
||||
| mipsisa32-* | mipsisa32el-* \
|
||||
| mipsisa32r2-* | mipsisa32r2el-* \
|
||||
| mipsisa64-* | mipsisa64el-* \
|
||||
+ | mipsisa64r2-* | mipsisa64r2el-* \
|
||||
| mipsisa64sb1-* | mipsisa64sb1el-* \
|
||||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||
| mipstx39-* | mipstx39el-* \
|
||||
+ | mmix-* \
|
||||
+ | mt-* \
|
||||
| msp430-* \
|
||||
- | none-* | np1-* | nv1-* | ns16k-* | ns32k-* \
|
||||
+ | nios-* | nios2-* \
|
||||
+ | none-* | np1-* | ns16k-* | ns32k-* \
|
||||
| orion-* \
|
||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||
| pyramid-* \
|
||||
| romp-* | rs6000-* \
|
||||
- | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
||||
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
- | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \
|
||||
- | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
||||
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
+ | sparclite-* \
|
||||
+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
||||
| tahoe-* | thumb-* \
|
||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||
| tron-* \
|
||||
| v850-* | v850e-* | vax-* \
|
||||
| we32k-* \
|
||||
- | x86-* | x86_64-* | xps100-* | xscale-* | xstormy16-* \
|
||||
- | xtensa-* \
|
||||
+ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||
+ | xstormy16-* | xtensa*-* \
|
||||
| ymp-* \
|
||||
| z8k-*)
|
||||
;;
|
||||
+ # Recognize the basic CPU types without company name, with glob match.
|
||||
+ xtensa*)
|
||||
+ basic_machine=$basic_machine-unknown
|
||||
+ ;;
|
||||
# Recognize the various machine names and aliases which stand
|
||||
# for a CPU type and a company and sometimes even an OS.
|
||||
386bsd)
|
||||
@@ -359,6 +393,9 @@ case $basic_machine in
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
;;
|
||||
+ abacus)
|
||||
+ basic_machine=abacus-unknown
|
||||
+ ;;
|
||||
adobe68k)
|
||||
basic_machine=m68010-adobe
|
||||
os=-scout
|
||||
@@ -373,6 +410,12 @@ case $basic_machine in
|
||||
basic_machine=a29k-none
|
||||
os=-bsd
|
||||
;;
|
||||
+ amd64)
|
||||
+ basic_machine=x86_64-pc
|
||||
+ ;;
|
||||
+ amd64-*)
|
||||
+ basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ ;;
|
||||
amdahl)
|
||||
basic_machine=580-amdahl
|
||||
os=-sysv
|
||||
@@ -404,6 +447,14 @@ case $basic_machine in
|
||||
basic_machine=ns32k-sequent
|
||||
os=-dynix
|
||||
;;
|
||||
+ blackfin)
|
||||
+ basic_machine=bfin-unknown
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
+ blackfin-*)
|
||||
+ basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
c90)
|
||||
basic_machine=c90-cray
|
||||
os=-unicos
|
||||
@@ -432,12 +483,27 @@ case $basic_machine in
|
||||
basic_machine=j90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
+ craynv)
|
||||
+ basic_machine=craynv-cray
|
||||
+ os=-unicosmp
|
||||
+ ;;
|
||||
+ cr16)
|
||||
+ basic_machine=cr16-unknown
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
crds | unos)
|
||||
basic_machine=m68k-crds
|
||||
;;
|
||||
+ crisv32 | crisv32-* | etraxfs*)
|
||||
+ basic_machine=crisv32-axis
|
||||
+ ;;
|
||||
cris | cris-* | etrax*)
|
||||
basic_machine=cris-axis
|
||||
;;
|
||||
+ crx)
|
||||
+ basic_machine=crx-unknown
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
da30 | da30-*)
|
||||
basic_machine=m68k-da30
|
||||
;;
|
||||
@@ -460,6 +526,10 @@ case $basic_machine in
|
||||
basic_machine=m88k-motorola
|
||||
os=-sysv3
|
||||
;;
|
||||
+ djgpp)
|
||||
+ basic_machine=i586-pc
|
||||
+ os=-msdosdjgpp
|
||||
+ ;;
|
||||
dpx20 | dpx20-*)
|
||||
basic_machine=rs6000-bull
|
||||
os=-bosx
|
||||
@@ -610,6 +680,14 @@ case $basic_machine in
|
||||
basic_machine=m68k-isi
|
||||
os=-sysv
|
||||
;;
|
||||
+ m68knommu)
|
||||
+ basic_machine=m68k-unknown
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
+ m68knommu-*)
|
||||
+ basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
m88k-omron*)
|
||||
basic_machine=m88k-omron
|
||||
;;
|
||||
@@ -625,6 +703,10 @@ case $basic_machine in
|
||||
basic_machine=i386-pc
|
||||
os=-mingw32
|
||||
;;
|
||||
+ mingw32ce)
|
||||
+ basic_machine=arm-unknown
|
||||
+ os=-mingw32ce
|
||||
+ ;;
|
||||
miniframe)
|
||||
basic_machine=m68000-convergent
|
||||
;;
|
||||
@@ -638,10 +720,6 @@ case $basic_machine in
|
||||
mips3*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown
|
||||
;;
|
||||
- mmix*)
|
||||
- basic_machine=mmix-knuth
|
||||
- os=-mmixware
|
||||
- ;;
|
||||
monitor)
|
||||
basic_machine=m68k-rom68k
|
||||
os=-coff
|
||||
@@ -654,6 +732,9 @@ case $basic_machine in
|
||||
basic_machine=i386-pc
|
||||
os=-msdos
|
||||
;;
|
||||
+ ms1-*)
|
||||
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||
+ ;;
|
||||
mvs)
|
||||
basic_machine=i370-ibm
|
||||
os=-mvs
|
||||
@@ -722,10 +803,6 @@ case $basic_machine in
|
||||
np1)
|
||||
basic_machine=np1-gould
|
||||
;;
|
||||
- nv1)
|
||||
- basic_machine=nv1-cray
|
||||
- os=-unicosmp
|
||||
- ;;
|
||||
nsr-tandem)
|
||||
basic_machine=nsr-tandem
|
||||
;;
|
||||
@@ -733,9 +810,12 @@ case $basic_machine in
|
||||
basic_machine=hppa1.1-oki
|
||||
os=-proelf
|
||||
;;
|
||||
- or32 | or32-*)
|
||||
+ openrisc | openrisc-*)
|
||||
basic_machine=or32-unknown
|
||||
- os=-coff
|
||||
+ ;;
|
||||
+ os400)
|
||||
+ basic_machine=powerpc-ibm
|
||||
+ os=-os400
|
||||
;;
|
||||
OSE68000 | ose68000)
|
||||
basic_machine=m68000-ericsson
|
||||
@@ -753,6 +833,14 @@ case $basic_machine in
|
||||
basic_machine=i860-intel
|
||||
os=-osf
|
||||
;;
|
||||
+ parisc)
|
||||
+ basic_machine=hppa-unknown
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
+ parisc-*)
|
||||
+ basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ os=-linux
|
||||
+ ;;
|
||||
pbd)
|
||||
basic_machine=sparc-tti
|
||||
;;
|
||||
@@ -762,24 +850,36 @@ case $basic_machine in
|
||||
pc532 | pc532-*)
|
||||
basic_machine=ns32k-pc532
|
||||
;;
|
||||
+ pc98)
|
||||
+ basic_machine=i386-pc
|
||||
+ ;;
|
||||
+ pc98-*)
|
||||
+ basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ ;;
|
||||
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||
basic_machine=i586-pc
|
||||
;;
|
||||
pentiumpro | p6 | 6x86 | athlon | athlon_*)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
- pentiumii | pentium2)
|
||||
+ pentiumii | pentium2 | pentiumiii | pentium3)
|
||||
basic_machine=i686-pc
|
||||
;;
|
||||
+ pentium4)
|
||||
+ basic_machine=i786-pc
|
||||
+ ;;
|
||||
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
|
||||
basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentiumpro-* | p6-* | 6x86-* | athlon-*)
|
||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
- pentiumii-* | pentium2-*)
|
||||
+ pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*)
|
||||
basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
+ pentium4-*)
|
||||
+ basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
+ ;;
|
||||
pn)
|
||||
basic_machine=pn-gould
|
||||
;;
|
||||
@@ -812,6 +912,10 @@ case $basic_machine in
|
||||
basic_machine=i586-unknown
|
||||
os=-pw32
|
||||
;;
|
||||
+ rdos)
|
||||
+ basic_machine=i386-pc
|
||||
+ os=-rdos
|
||||
+ ;;
|
||||
rom68k)
|
||||
basic_machine=m68k-rom68k
|
||||
os=-coff
|
||||
@@ -838,6 +942,14 @@ case $basic_machine in
|
||||
sb1el)
|
||||
basic_machine=mipsisa64sb1el-unknown
|
||||
;;
|
||||
+ sde)
|
||||
+ basic_machine=mipsisa32-sde
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
+ sei)
|
||||
+ basic_machine=mips-sei
|
||||
+ os=-seiux
|
||||
+ ;;
|
||||
sequent)
|
||||
basic_machine=i386-sequent
|
||||
;;
|
||||
@@ -845,6 +957,12 @@ case $basic_machine in
|
||||
basic_machine=sh-hitachi
|
||||
os=-hms
|
||||
;;
|
||||
+ sh5el)
|
||||
+ basic_machine=sh5le-unknown
|
||||
+ ;;
|
||||
+ sh64)
|
||||
+ basic_machine=sh64-unknown
|
||||
+ ;;
|
||||
sparclite-wrs | simso-wrs)
|
||||
basic_machine=sparclite-wrs
|
||||
os=-vxworks
|
||||
@@ -919,10 +1037,6 @@ case $basic_machine in
|
||||
basic_machine=t90-cray
|
||||
os=-unicos
|
||||
;;
|
||||
- tic4x | c4x*)
|
||||
- basic_machine=tic4x-unknown
|
||||
- os=-coff
|
||||
- ;;
|
||||
tic54x | c54x*)
|
||||
basic_machine=tic54x-unknown
|
||||
os=-coff
|
||||
@@ -935,6 +1049,10 @@ case $basic_machine in
|
||||
basic_machine=tic6x-unknown
|
||||
os=-coff
|
||||
;;
|
||||
+ tile*)
|
||||
+ basic_machine=tile-unknown
|
||||
+ os=-linux-gnu
|
||||
+ ;;
|
||||
tx39)
|
||||
basic_machine=mipstx39-unknown
|
||||
;;
|
||||
@@ -948,6 +1066,10 @@ case $basic_machine in
|
||||
tower | tower-32)
|
||||
basic_machine=m68k-ncr
|
||||
;;
|
||||
+ tpf)
|
||||
+ basic_machine=s390x-ibm
|
||||
+ os=-tpf
|
||||
+ ;;
|
||||
udi29k)
|
||||
basic_machine=a29k-amd
|
||||
os=-udi
|
||||
@@ -991,6 +1113,10 @@ case $basic_machine in
|
||||
basic_machine=hppa1.1-winbond
|
||||
os=-proelf
|
||||
;;
|
||||
+ xbox)
|
||||
+ basic_machine=i686-pc
|
||||
+ os=-mingw32
|
||||
+ ;;
|
||||
xps | xps100)
|
||||
basic_machine=xps100-honeywell
|
||||
;;
|
||||
@@ -1021,6 +1147,9 @@ case $basic_machine in
|
||||
romp)
|
||||
basic_machine=romp-ibm
|
||||
;;
|
||||
+ mmix)
|
||||
+ basic_machine=mmix-knuth
|
||||
+ ;;
|
||||
rs6000)
|
||||
basic_machine=rs6000-ibm
|
||||
;;
|
||||
@@ -1037,13 +1166,10 @@ case $basic_machine in
|
||||
we32k)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
- sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
+ sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
basic_machine=sh-unknown
|
||||
;;
|
||||
- sh64)
|
||||
- basic_machine=sh64-unknown
|
||||
- ;;
|
||||
- sparc | sparcv9 | sparcv9b)
|
||||
+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
||||
basic_machine=sparc-sun
|
||||
;;
|
||||
cydra)
|
||||
@@ -1116,19 +1242,23 @@ case $os in
|
||||
| -aos* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
- | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \
|
||||
- | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
+ | -openbsd* | -solidbsd* \
|
||||
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||
| -chorusos* | -chorusrdb* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
- | -mingw32* | -linux-gnu* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
+ | -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||
+ | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
- | -powermax* | -dnix*)
|
||||
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
+ | -skyos* | -haiku* | -rdos* | -toppers* | -drops*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
@@ -1146,12 +1276,15 @@ case $os in
|
||||
os=`echo $os | sed -e 's|nto|nto-qnx|'`
|
||||
;;
|
||||
-sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \
|
||||
- | -windows* | -osx | -abug | -netware* | -os9* | -beos* \
|
||||
+ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \
|
||||
| -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*)
|
||||
;;
|
||||
-mac*)
|
||||
os=`echo $os | sed -e 's|mac|macos|'`
|
||||
;;
|
||||
+ -linux-dietlibc)
|
||||
+ os=-linux-dietlibc
|
||||
+ ;;
|
||||
-linux*)
|
||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||
;;
|
||||
@@ -1164,6 +1297,9 @@ case $os in
|
||||
-opened*)
|
||||
os=-openedition
|
||||
;;
|
||||
+ -os400*)
|
||||
+ os=-os400
|
||||
+ ;;
|
||||
-wince*)
|
||||
os=-wince
|
||||
;;
|
||||
@@ -1185,6 +1321,9 @@ case $os in
|
||||
-atheos*)
|
||||
os=-atheos
|
||||
;;
|
||||
+ -syllable*)
|
||||
+ os=-syllable
|
||||
+ ;;
|
||||
-386bsd)
|
||||
os=-bsd
|
||||
;;
|
||||
@@ -1207,6 +1346,9 @@ case $os in
|
||||
-sinix*)
|
||||
os=-sysv4
|
||||
;;
|
||||
+ -tpf*)
|
||||
+ os=-tpf
|
||||
+ ;;
|
||||
-triton*)
|
||||
os=-sysv3
|
||||
;;
|
||||
@@ -1243,6 +1385,9 @@ case $os in
|
||||
-kaos*)
|
||||
os=-kaos
|
||||
;;
|
||||
+ -zvmoe)
|
||||
+ os=-zvmoe
|
||||
+ ;;
|
||||
-none)
|
||||
;;
|
||||
*)
|
||||
@@ -1265,6 +1410,12 @@ else
|
||||
# system, and we'll never get to this point.
|
||||
|
||||
case $basic_machine in
|
||||
+ score-*)
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
+ spu-*)
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
*-acorn)
|
||||
os=-riscix1.2
|
||||
;;
|
||||
@@ -1274,6 +1425,9 @@ case $basic_machine in
|
||||
arm*-semi)
|
||||
os=-aout
|
||||
;;
|
||||
+ c4x-* | tic4x-*)
|
||||
+ os=-coff
|
||||
+ ;;
|
||||
# This must come before the *-dec entry.
|
||||
pdp10-*)
|
||||
os=-tops20
|
||||
@@ -1299,6 +1453,9 @@ case $basic_machine in
|
||||
m68*-cisco)
|
||||
os=-aout
|
||||
;;
|
||||
+ mep-*)
|
||||
+ os=-elf
|
||||
+ ;;
|
||||
mips*-cisco)
|
||||
os=-elf
|
||||
;;
|
||||
@@ -1317,9 +1474,15 @@ case $basic_machine in
|
||||
*-be)
|
||||
os=-beos
|
||||
;;
|
||||
+ *-haiku)
|
||||
+ os=-haiku
|
||||
+ ;;
|
||||
*-ibm)
|
||||
os=-aix
|
||||
;;
|
||||
+ *-knuth)
|
||||
+ os=-mmixware
|
||||
+ ;;
|
||||
*-wec)
|
||||
os=-proelf
|
||||
;;
|
||||
@@ -1452,9 +1615,15 @@ case $basic_machine in
|
||||
-mvs* | -opened*)
|
||||
vendor=ibm
|
||||
;;
|
||||
+ -os400*)
|
||||
+ vendor=ibm
|
||||
+ ;;
|
||||
-ptx*)
|
||||
vendor=sequent
|
||||
;;
|
||||
+ -tpf*)
|
||||
+ vendor=ibm
|
||||
+ ;;
|
||||
-vxsim* | -vxworks* | -windiss*)
|
||||
vendor=wrs
|
||||
;;
|
||||
@@ -1479,7 +1648,7 @@ case $basic_machine in
|
||||
esac
|
||||
|
||||
echo $basic_machine$os
|
||||
-exit 0
|
||||
+exit
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,682 +0,0 @@
|
||||
$NetBSD: patch-configure.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- configure.in.orig 2005-11-27 17:30:23.000000000 +0000
|
||||
+++ configure.in
|
||||
@@ -10,7 +10,9 @@ dnl Copyright Kyoto University Research
|
||||
dnl 1987, 1988, 1989, 1990, 1991, 1992
|
||||
dnl Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
|
||||
dnl Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
|
||||
-dnl Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
+dnl Copyright FreeWnn Project
|
||||
+dnl 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
|
||||
+dnl 2010, 2011
|
||||
dnl
|
||||
dnl Maintainer: FreeWnn Project
|
||||
dnl
|
||||
@@ -32,20 +34,26 @@ dnl
|
||||
dnl
|
||||
dnl Process this file with autoconf to produce a configure script.
|
||||
dnl
|
||||
-AC_INIT(Wnn/conv/cvt_head.h)
|
||||
+AC_INIT(FreeWnn, [1.1.1-cvs-a022], [freewnn-users-owner@lists.sourceforge.jp], FreeWnn)
|
||||
+AC_CONFIG_SRCDIR(Wnn/conv/cvt_head.h)
|
||||
+dnl old-style AC_INIT ...
|
||||
+dnl AC_INIT(Wnn/conv/cvt_head.h)
|
||||
AC_CONFIG_HEADER(config.h)
|
||||
|
||||
dnl ====================================================================
|
||||
dnl Check optional features
|
||||
dnl ====================================================================
|
||||
|
||||
-# Quick and Dirty workaround for Autoconf-2.53 and Libtools-1.5 pair ...
|
||||
+# Quick and Dirty workaround for Autoconf-2.53 and Libtools-1.5.* pair ...
|
||||
# not to use additional tagged configuration. (default: CXX F77)
|
||||
# NOTICE: Please remove next line if situation changes. (aono)
|
||||
tagnames=
|
||||
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
+dnl
|
||||
+AC_ARG_PROGRAM
|
||||
+
|
||||
dnl build and install libraries, server or client
|
||||
|
||||
AC_ARG_ENABLE(debug,
|
||||
@@ -80,6 +88,46 @@ AC_ARG_ENABLE(client,
|
||||
*) AC_MSG_ERROR(bad value for --enable-client) ;;
|
||||
esac], client=false)
|
||||
|
||||
+AC_ARG_ENABLE(client-utmp,
|
||||
+[ --enable-client-utmp write utmp with client [[default=yes if not modern BSD]]],
|
||||
+[case "${enableval}" in
|
||||
+ yes) client_utmp=true ;;
|
||||
+ no) client_utmp=false ;;
|
||||
+ *) AC_MSG_ERROR(bad value for --enable-client-utmp) ;;
|
||||
+esac],
|
||||
+client_utmp=auto
|
||||
+)
|
||||
+
|
||||
+dnl If you set set-[ug]id user/group to (ex.) 'yes',
|
||||
+dnl you can configure this with setting UUMOWNER / UUMGROUP .
|
||||
+AC_ARG_ENABLE(client-setuid,
|
||||
+[ --enable-client-setuid[[=user]] Install client with setuid and specified user [[default=guess if your system need this]]],
|
||||
+[case "${enableval}" in
|
||||
+ yes) client_setuid=true; UUMOWNER=${UUMOWNER:-root} ;;
|
||||
+ no) client_setuid=false ;;
|
||||
+ *) client_setuid=true; UUMOWNER=${enableval} ;;
|
||||
+esac],
|
||||
+[client_setuid=auto # guess later ...
|
||||
+ UUMOWNER=root]
|
||||
+)
|
||||
+
|
||||
+AC_ARG_ENABLE(client-setgid,
|
||||
+[ --enable-client-setgid=group Install client with setgid and specified group [[default=guess if your system need this]]],
|
||||
+[case "${enableval}" in
|
||||
+ yes)
|
||||
+ if test "x$UUMGROUP" = "x"; then
|
||||
+ AC_ERROR([You must set group name with --enable-client-setgid.])
|
||||
+ else
|
||||
+ client_setgid=true; # we already defined UUMGROUP ...
|
||||
+ fi
|
||||
+ ;;
|
||||
+ no) client_setgid=false ;;
|
||||
+ *) client_setgid=true; UUMGROUP=${enableval} ;;
|
||||
+esac],
|
||||
+[client_setgid=auto # guess later ...
|
||||
+UUMGROUP=]
|
||||
+)
|
||||
+
|
||||
if test $libraries = true; then
|
||||
SUBDIRS="\$(LIB_SUBDIRS)"
|
||||
WNNMANDIR="\$(LIB_WNNMANDIR)"
|
||||
@@ -138,96 +186,115 @@ AC_SUBST(kWnn)
|
||||
|
||||
dnl For a library libwnn
|
||||
|
||||
-dnl AC_ARG_WITH(libwnn,
|
||||
-dnl [ --with-libwnn use installed Wnn library [default=no]],
|
||||
-dnl [case "${withval}" in
|
||||
-dnl yes|no) with_libwnn=${withval};;
|
||||
-dnl *) AC_MSG_ERROR(invalid argument to --with-libwnn) ;;
|
||||
-dnl esac], with_libwnn=no)
|
||||
-dnl
|
||||
-
|
||||
AC_ARG_WITH(libwnn,
|
||||
[ --with-libwnn use installed Wnn library [[default=no]]],
|
||||
-[ with_libwnn="${withval}"
|
||||
+[ with_libwnn="${withval}"], [with_libwnn=no])
|
||||
AC_ARG_WITH(wnn-includes,
|
||||
-[ --with-wnn-includes=DIR WNN include files are in DIR],
|
||||
+[ --with-wnn-includes=DIR Installed Wnn include files are in DIR],
|
||||
[wnnincludedir="-I${withval}"], [wnnincludedir=''])
|
||||
AC_ARG_WITH(wnn-libraries,
|
||||
-[ --with-wnn-libraries=DIR Search for WNN libraries in DIR [[default=/usr/local/lib]]],
|
||||
+[ --with-wnn-libraries=DIR Search for Wnn libraries in DIR [[default=/usr/local/lib]]],
|
||||
[wnnlibdir="${withval}"], [wnnlibdir='/usr/local/lib'])
|
||||
- if test "X${with_libwnn}" = X-lwnn; then
|
||||
- WNNJLIB="-L${wnnlibdir} -lwnn"
|
||||
- elif test X"`echo ${with_libwnn} | grep '^/.*'`" != X ; then
|
||||
- WNNJLIB="${with_libwnn}"
|
||||
- else
|
||||
- WNNJLIB="${wnnlibdir}/libwnn.a"
|
||||
- fi
|
||||
+
|
||||
+if test X${with_libwnn} != Xno; then
|
||||
+ case X${with_libwnn} in
|
||||
+ Xyes | X-lwnn)
|
||||
+ WNNJLIB="-L${wnnlibdir} -lwnn" ;;
|
||||
+ X/*)
|
||||
+ WNNJLIB="${wnnlibdir}/libwnn.a" ;;
|
||||
+ *)
|
||||
+ # Honor specified value --with-libwnn
|
||||
+ # (maybe wrong in most cases)
|
||||
+ WNNJLIB="${with_libwnn}" ;;
|
||||
+ esac
|
||||
DEPWNNJLIB=""
|
||||
+ dnl NOTICE: HINSI_DATA depends on --prefix (and makerule.mk).
|
||||
HINSI_DATA="\$(JWNNWNNDIR)/hinsi.data"
|
||||
-],
|
||||
-[ WNNJLIB="\$(top_builddir)/Wnn/jlib/libwnn.la"
|
||||
+ EXTWNNJINC=${wnnincludedir}
|
||||
+else
|
||||
+ WNNJLIB="\$(top_builddir)/Wnn/jlib/libwnn.la"
|
||||
DEPWNNJLIB="\$(WNNJLIB)"
|
||||
HINSI_DATA="\$(top_builddir)/Wnn/jd/hinsi.data"
|
||||
-])
|
||||
+ EXTWNNJINC=""
|
||||
+fi
|
||||
AC_SUBST(WNNJLIB)
|
||||
AC_SUBST(DEPWNNJLIB)
|
||||
+AC_SUBST(EXTWNNJINC)
|
||||
AC_SUBST(HINSI_DATA)
|
||||
|
||||
AC_ARG_WITH(libcwnn,
|
||||
[ --with-libcwnn use installed cWnn library [[default=no]]],
|
||||
-[
|
||||
+[ with_libcwnn="${withval}"], [with_libcwnn=no])
|
||||
AC_ARG_WITH(cwnn-includes,
|
||||
-[ --with-cwnn-includes=DIR CWNN include files are in DIR],
|
||||
+[ --with-cwnn-includes=DIR Installed cWnn include files are in DIR],
|
||||
[cwnnincludedir="-I${withval}"], [cwnnincludedir=''])
|
||||
AC_ARG_WITH(cwnn-libraries,
|
||||
-[ --with-cwnn-libraries=DIR Search for CWNN libraries in DIR [[default=/usr/local/lib]]],
|
||||
+[ --with-cwnn-libraries=DIR Search for cWnn libraries in DIR [[default=/usr/local/lib]]],
|
||||
[cwnnlibdir="${withval}"], [cwnnlibdir='/usr/local/lib'])
|
||||
- if test "X${with_libcwnn}" = X-lcwnn; then
|
||||
- CWNNJLIB="-L${cwnnlibdir} -lcwnn"
|
||||
- elif test X"`echo ${with_libcwnn} | grep '^/.*'`" != X ; then
|
||||
- CWNNJLIB="${with_libcwnn}"
|
||||
- else
|
||||
- CWNNJLIB="${cwnnlibdir}/libcwnn.a"
|
||||
- fi
|
||||
+
|
||||
+if test X${with_libcwnn} != Xno; then
|
||||
+ case X${with_libcwnn} in
|
||||
+ Xyes | X-lcwnn)
|
||||
+ CWNNJLIB="-L${cwnnlibdir} -lcwnn" ;;
|
||||
+ X/*)
|
||||
+ CWNNJLIB="${cwnnlibdir}/libcwnn.a" ;;
|
||||
+ *)
|
||||
+ # Honor specified value --with-libcwnn
|
||||
+ # (maybe wrong in most cases)
|
||||
+ CWNNJLIB="${with_libcwnn}" ;;
|
||||
+ esac
|
||||
DEPCWNNJLIB=""
|
||||
+ dnl NOTICE: [CT]HINSI_DATA also depends on --prefix (and makerule.mk).
|
||||
CHINSI_DATA="\$(CWNNWNNDIR)/cixing.data"
|
||||
- THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
|
||||
-],
|
||||
-[ CWNNJLIB="\$(top_builddir)/cWnn/jlib/libcwnn.la"
|
||||
+ THINSI_DATA="\$(TWNNWNNDIR)/cixing.data"
|
||||
+ EXTCWNNJINC=${cwnnincludedir}
|
||||
+else
|
||||
+ CWNNJLIB="\$(top_builddir)/cWnn/jlib/libcwnn.la"
|
||||
DEPCWNNJLIB="\$(CWNNJLIB)"
|
||||
CHINSI_DATA="\$(CWNNCDSRC)/cixing.data"
|
||||
THINSI_DATA="\$(TWNNTDSRC)/cixing.data"
|
||||
-])
|
||||
+ EXTCWNNJINC=""
|
||||
+fi
|
||||
AC_SUBST(CWNNJLIB)
|
||||
AC_SUBST(DEPCWNNJLIB)
|
||||
+AC_SUBST(EXTCWNNJINC)
|
||||
AC_SUBST(CHINSI_DATA)
|
||||
AC_SUBST(THINSI_DATA)
|
||||
|
||||
AC_ARG_WITH(libkwnn,
|
||||
[ --with-libkwnn use installed kWnn library [[default=no]]],
|
||||
-[
|
||||
+[ with_libkwnn="${withval}"], [with_libkwnn=no])
|
||||
AC_ARG_WITH(kwnn-includes,
|
||||
-[ --with-kwnn-includes=DIR KWNN include files are in DIR],
|
||||
+[ --with-kwnn-includes=DIR Installed kWnn include files are in DIR],
|
||||
[kwnnincludedir="-I${withval}"], [kwnnincludedir=''])
|
||||
AC_ARG_WITH(kwnn-libraries,
|
||||
-[ --with-kwnn-libraries=DIR Search for KWNN libraries in DIR [[default=/usr/local/lib]]],
|
||||
+[ --with-kwnn-libraries=DIR Search for kWnn libraries in DIR [[default=/usr/local/lib]]],
|
||||
[kwnnlibdir="${withval}"], [kwnnlibdir='/usr/local/lib'])
|
||||
- if test "X${with_libkwnn}" = X-lkwnn; then
|
||||
- KWNNJLIB="-L${kwnnlibdir} -lkwnn"
|
||||
- elif test X"`echo ${with_libkwnn} | grep '^/.*'`" != X ; then
|
||||
- KWNNJLIB="${with_libkwnn}"
|
||||
- else
|
||||
- KWNNJLIB="${kwnnlibdir}/libkwnn.a"
|
||||
- fi
|
||||
+
|
||||
+if test X${with_libkwnn} != Xno; then
|
||||
+ case X${with_libkwnn} in
|
||||
+ Xyes | X-lkwnn)
|
||||
+ KWNNJLIB="-L${kwnnlibdir} -lkwnn" ;;
|
||||
+ X/*)
|
||||
+ KWNNJLIB="${kwnnlibdir}/libkwnn.a" ;;
|
||||
+ *)
|
||||
+ # Honor specified value --with-libkwnn
|
||||
+ # (maybe wrong in most cases)
|
||||
+ KWNNJLIB="${with_libkwnn}" ;;
|
||||
+ esac
|
||||
DEPKWNNJLIB=""
|
||||
+ dnl NOTICE: KHINSI_DATA also depends on --prefix (and makerule.mk).
|
||||
KHINSI_DATA="\$(KWNNWNNDIR)/hinsi.data"
|
||||
-],
|
||||
-[ KWNNJLIB="\$(top_builddir)/kWnn/jlib/libkwnn.la"
|
||||
+ EXTKWNNJINC=${kwnnincludedir}
|
||||
+else
|
||||
+ KWNNJLIB="\$(top_builddir)/kWnn/jlib/libkwnn.la"
|
||||
DEPKWNNJLIB="\$(KWNNJLIB)"
|
||||
KHINSI_DATA="\$(KWNNKDSRC)/hinsi.data"
|
||||
-])
|
||||
+ EXTKWNNJINC=""
|
||||
+fi
|
||||
AC_SUBST(KWNNJLIB)
|
||||
AC_SUBST(DEPKWNNJLIB)
|
||||
+AC_SUBST(EXTKWNNJINC)
|
||||
AC_SUBST(KHINSI_DATA)
|
||||
|
||||
dnl
|
||||
@@ -258,25 +325,81 @@ if test ${unsafe_path} = true; then
|
||||
fi
|
||||
|
||||
dnl
|
||||
+dnl Install layout controlling
|
||||
+dnl
|
||||
+AC_ARG_ENABLE(traditional-layout,
|
||||
+[ --enable-traditional-layout Install files in traditional directories [[default=yes]]],
|
||||
+[case "${enableval}" in
|
||||
+ yes) trad_layout=true ;;
|
||||
+ no) trad_layout=false ;;
|
||||
+ *) AC_MSG_ERROR([bad value for --enable-traditional-layout]) ;;
|
||||
+esac], trad_layout=true)
|
||||
+
|
||||
+if test $trad_layout = "true"; then
|
||||
+ WNNSBINDIR="\$(bindir)"
|
||||
+ # More path settings will come later ...
|
||||
+else
|
||||
+ WNNSBINDIR="\$(sbindir)"
|
||||
+ # Same as above.
|
||||
+fi
|
||||
+AC_SUBST(WNNSBINDIR)
|
||||
+dnl Same as above.
|
||||
+
|
||||
+AC_ARG_ENABLE(sub-bindir,
|
||||
+[ --enable-sub-bindir Install executables to (ex.) $(bindir)/Wnn4 [[default=yes if --enable-traditional-layout, no otherwise]]],
|
||||
+[case "${enableval}" in
|
||||
+ yes) sub_bindir=true ;;
|
||||
+ no) sub_bindir=false ;;
|
||||
+ *) AC_MSG_ERROR([bad value for --enable-sub-bindir]) ;;
|
||||
+esac], sub_bindir=guess)
|
||||
+
|
||||
+if test $sub_bindir = "guess"; then
|
||||
+ if test $trad_layout = "true"; then
|
||||
+ sub_bindir=true
|
||||
+ else
|
||||
+ sub_bindir=false
|
||||
+ fi
|
||||
+fi
|
||||
+if test $sub_bindir = "true"; then
|
||||
+ if_enable_sub_bindir=' '
|
||||
+ if_disable_sub_bindir='#'
|
||||
+else
|
||||
+ if_enable_sub_bindir='#'
|
||||
+ if_disable_sub_bindir=' '
|
||||
+fi
|
||||
+AC_SUBST(if_enable_sub_bindir)
|
||||
+AC_SUBST(if_disable_sub_bindir)
|
||||
+
|
||||
+# for debug
|
||||
+AC_MSG_CHECKING([if we use traditional layout])
|
||||
+if test $trad_layout = "true"; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+fi
|
||||
+
|
||||
+AC_MSG_CHECKING([if we install binaries on \$(bindir)/Wnn4 (etc.)])
|
||||
+if test $sub_bindir = "true"; then
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+fi
|
||||
+
|
||||
+dnl
|
||||
dnl Checks for cc and cpp.
|
||||
dnl
|
||||
AC_PROG_CC
|
||||
|
||||
dnl System specific options
|
||||
dnl Now that we are using autoconf, CCOPTIONS should be nuked...
|
||||
+dnl But please report if your system needs specific settings (CCOPTIONS etc.)
|
||||
case $host in
|
||||
*-*-linux*)
|
||||
CCOPTIONS="-Dlinux -D_GNU_SOURCE -D_POSIX_SOURCE -D_BSD_SOURCE"
|
||||
;;
|
||||
-*-*-darwin*)
|
||||
- if test $GCC = yes; then
|
||||
- # Unfortunately, autoconf (at least 2.57) does not recognize
|
||||
- # proper CPP. (Normal cpp-precomp nor auto-retrying in basic mode does
|
||||
- # not work with pubdic+ processing.) So define here ....
|
||||
- # Note: It seems gcc-3.3 (or (probably) later) does not need this.
|
||||
- CPP=${CPP:-"$CC -E -no-cpp-precomp"}
|
||||
- fi
|
||||
- # Don't care other CC-s.
|
||||
+*-*-*-gnu)
|
||||
+ # Non-Linux kernel with GNU libc.
|
||||
+ CCOPTIONS="-D_GNU_SOURCE"
|
||||
;;
|
||||
*-*-sunos*)
|
||||
if test $GCC = yes; then
|
||||
@@ -290,6 +413,7 @@ case $host in
|
||||
if test $GCC = yes; then
|
||||
CCOPTIONS="-Dsun -D`uname -p` -DSVR4 -DSYSV"
|
||||
else
|
||||
+ # TODO: need change for sparcv9 / x64 architecture ...
|
||||
CCOPTIONS="-Xc -xF -xcg92 -Dsun -D`uname -p` -DSVR4 -DSYSV"
|
||||
fi
|
||||
;;
|
||||
@@ -309,16 +433,13 @@ powerpc-*-beos*)
|
||||
*-*-aix*)
|
||||
CCOPTIONS="-DSYSV"
|
||||
;;
|
||||
-*)
|
||||
-dnl AC_MSG_WARN("It is not reported if FreeWnn works on this system. But continuing...")
|
||||
-dnl AC_MSG_WARN([(It may or may not work if you set CCOPTIONS properly.)])
|
||||
- ;;
|
||||
esac
|
||||
|
||||
dnl Checking if we use gcc or not
|
||||
if test $debug = true; then
|
||||
if test $GCC = yes; then
|
||||
- CDEBUGFLAGS=${CDEBUGFLAGS:-"-g2 -O2 -Wall -fstack-check"}
|
||||
+ # FIXME: gcc -fstack-check doesn't work well on Linux/i386 ...
|
||||
+ CDEBUGFLAGS=${CDEBUGFLAGS:-"-g2 -O2 -Wall"}
|
||||
else
|
||||
CDEBUGFLAGS=${CDEBUGFLAGS:-""}
|
||||
fi
|
||||
@@ -341,6 +462,17 @@ dnl 「CPP=${CPP:-"/usr/ccs/lib/cpp"}」の
|
||||
dnl よいと思われる。
|
||||
AC_PROG_CPP
|
||||
|
||||
+dnl Define cpp for text processing.
|
||||
+AC_MSG_CHECKING([cpp for text processing])
|
||||
+if test "$GCC" = "yes" -a "$CPP" = "$CC -E"; then
|
||||
+ # Need checking your gcc accepts '-traditional-cpp' option?
|
||||
+ FZK_PP=${FZK_PP:-"$CPP -traditional-cpp"}
|
||||
+else
|
||||
+ FZK_PP=${FZK_PP:-"$CPP"}
|
||||
+fi
|
||||
+AC_MSG_RESULT($FZK_PP)
|
||||
+AC_SUBST(FZK_PP)
|
||||
+
|
||||
dnl
|
||||
dnl Checks for programs.
|
||||
dnl
|
||||
@@ -352,21 +484,27 @@ AC_PROG_MAKE_SET
|
||||
AC_PROG_LIBTOOL
|
||||
AC_SUBST(LIBTOOL_DEPS)
|
||||
|
||||
+# Libtool-2.4 needs more powerful shell (other than /bin/sh),
|
||||
+# so we explicitly use this SHELL directly.
|
||||
+LIBTOOL_MOD=`echo $LIBTOOL | sed 's,\$(SHELL),'${SHELL}','`
|
||||
+AC_SUBST(LIBTOOL_MOD)
|
||||
+
|
||||
dnl Checks for libraries.
|
||||
dnl ### dnl Replace `main' with a function in -lX11:
|
||||
dnl ### AC_CHECK_LIB(X11, main)
|
||||
-dnl ### dnl Replace `main' with a function in -lcurses:
|
||||
-dnl ### AC_CHECK_LIB(curses, main)
|
||||
|
||||
AC_SEARCH_LIBS(crypt, crypt)
|
||||
AC_CHECK_LIB(socket, connect)
|
||||
AC_CHECK_LIB(bind, getservbyname)
|
||||
-AC_CHECK_LIB(nsl, gethostbyname)
|
||||
+AC_SEARCH_LIBS(gethostbyname, nsl)
|
||||
+dnl libutil only needed by uum w/openpty...
|
||||
+dnl FIXME: deals with Linux that have both ptsname & openpty
|
||||
+AC_CHECK_LIB(util, openpty)
|
||||
|
||||
dnl
|
||||
dnl Checks for header files.
|
||||
dnl
|
||||
-AC_PATH_X
|
||||
+dnl disabled for now ...: dnl AC_PATH_X
|
||||
AC_HEADER_STDC
|
||||
AC_HEADER_SYS_WAIT
|
||||
AC_HEADER_TIME
|
||||
@@ -374,9 +512,82 @@ AC_CHECK_HEADERS(fcntl.h syslog.h unistd
|
||||
sys/file.h sys/ioctl.h sys/time.h sys/types.h sys/param.h \
|
||||
malloc.h strings.h memory.h \
|
||||
curses.h ncurses.h sgtty.h term.h termio.h termios.h \
|
||||
+ termcap.h sys/termio.h libutil.h\
|
||||
)
|
||||
|
||||
dnl
|
||||
+dnl Terminal library selection.
|
||||
+dnl ported from vim6.1 via canuum (Canna 3.6p3) for uum.
|
||||
+dnl FIXME: cross compilation
|
||||
+dnl
|
||||
+olibs="$LIBS"
|
||||
+CNVFILE_SUBDIR=bsd
|
||||
+AC_MSG_CHECKING(--with-term-libs argument)
|
||||
+AC_ARG_WITH(tlib,
|
||||
+[ --with-term-libs=-lLIB terminal library to be used ],)
|
||||
+if test -n "$with_term_libs"; then
|
||||
+ AC_MSG_RESULT($with_term_libs)
|
||||
+dnl LIBS="$LIBS $with_term_libs"
|
||||
+ TERMLIB=$with_term_libs
|
||||
+else
|
||||
+ AC_MSG_RESULT([automatic terminal library selection])
|
||||
+ dnl On HP-UX 10.10 termcap or termlib should be used instead of
|
||||
+ dnl curses, because curses is much slower.
|
||||
+ dnl Newer versions of ncurses are preferred over anything.
|
||||
+ dnl Older versions of ncurses have bugs, get a new one!
|
||||
+ dnl Digital Unix (OSF1) should use curses (Ronald Schild).
|
||||
+ case "`uname -s 2>/dev/null`" in
|
||||
+ OSF1) tlibs="ncurses curses termlib termcap";;
|
||||
+ *) tlibs="ncurses termlib termcap curses";;
|
||||
+ esac
|
||||
+ for libname in $tlibs; do
|
||||
+ AC_CHECK_LIB(${libname}, tgetent, [
|
||||
+ dnl It's possible that a library is found but it doesn't work
|
||||
+ dnl e.g., shared library that cannot be found.
|
||||
+ dnl compile and run a test program to be sure
|
||||
+ LIBS="${LIBS} -l${libname}"
|
||||
+ AC_TRY_RUN([
|
||||
+#ifdef HAVE_TERMCAP_H
|
||||
+# include <termcap.h>
|
||||
+#endif
|
||||
+main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }],
|
||||
+ res="OK", res="FAIL", res="FAIL")
|
||||
+ if test "$res" = "OK"; then
|
||||
+ TERMLIB="${TERMLIB} -l${libname}"
|
||||
+ dnl lname=`echo ${libname} | sed 'y/termcaplibnus/TERMCAPLIBNUS/'`
|
||||
+ dnl AC_DEFINE_UNQUOTED(HAVE_${lname}, 1, [use ${libname} for terminal control])
|
||||
+ dnl We need to define AH_TEMPLATE (if we really need this)
|
||||
+ dnl ex. AH_TEMPLATE(HAVE_NCURSES, [use ncurses for terminal control])
|
||||
+ break
|
||||
+ fi
|
||||
+ AC_MSG_RESULT($libname library is not usable)
|
||||
+ ],)
|
||||
+ LIBS=${olibs}
|
||||
+ done
|
||||
+fi
|
||||
+if test "x$TERMLIB" != "x"; then
|
||||
+ LIBS="${LIBS} ${TERMLIB}"
|
||||
+ AC_MSG_CHECKING(whether we talk terminfo)
|
||||
+ AC_TRY_RUN([
|
||||
+#ifdef HAVE_TERMCAP_H
|
||||
+# include <termcap.h>
|
||||
+#endif
|
||||
+main()
|
||||
+{char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }],
|
||||
+ [ AC_MSG_RESULT([no -- we are in termcap land])
|
||||
+ CNVFILE_SUBDIR=bsd ],
|
||||
+ [ AC_DEFINE(HAVE_TERMINFO, 1, [terminfo spoken here])
|
||||
+ AC_MSG_RESULT([yes -- terminfo spoken here])
|
||||
+ CNVFILE_SUBDIR=sysV ],
|
||||
+ AC_MSG_ERROR(failed to compile test program.))
|
||||
+else
|
||||
+ AC_MSG_RESULT(none found)
|
||||
+fi
|
||||
+LIBS=${olibs}
|
||||
+AC_SUBST(TERMLIB)
|
||||
+AC_SUBST(CNVFILE_SUBDIR)
|
||||
+
|
||||
+dnl
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
dnl
|
||||
AC_TYPE_MODE_T
|
||||
@@ -392,6 +603,15 @@ AC_CHECK_TYPES(socklen_t,,
|
||||
#endif
|
||||
#include <sys/socket.h>])
|
||||
|
||||
+AC_CHECK_MEMBERS([struct utmp.ut_user, struct utmp.ut_name, struct utmp.ut_id],,,[
|
||||
+#include <sys/types.h>
|
||||
+#if HAVE_UTMPX_H
|
||||
+# include <utmpx.h>
|
||||
+#endif
|
||||
+#if HAVE_UTMP_H
|
||||
+# include <utmp.h>
|
||||
+#endif])
|
||||
+
|
||||
dnl
|
||||
dnl Checks for symbol
|
||||
dnl
|
||||
@@ -414,10 +634,13 @@ AC_FUNC_SETPGRP
|
||||
dnl FreeWnn do not use the 3rd parameter of wait3().
|
||||
dnl AC_FUNC_WAIT3
|
||||
|
||||
+dnl NOTE: FD_SET is defined as macro on many systems. But this check
|
||||
+dnl will be done in Wnn/include/wnn_os.h , so don't care...
|
||||
AC_CHECK_FUNCS(random drand48 fchmod getopt killpg \
|
||||
FD_SET \
|
||||
gethostname select socket closesocket setsockopt send recv \
|
||||
- getdtablesize getrlimit syslog vsyslog setenv snprintf)
|
||||
+ getdtablesize getrlimit syslog vsyslog setenv snprintf \
|
||||
+ ptsname posix_openpt openpty pututxline pututline setsid)
|
||||
dnl for bcopy/index -> memcpy/strchr conversion (preparation):
|
||||
AC_CHECK_FUNCS(bcopy bzero bcmp index rindex \
|
||||
memcpy memmove memset strchr strrchr)
|
||||
@@ -428,6 +651,142 @@ AC_CHECK_FUNCS(mkdir vasprintf, ,
|
||||
[JS_SUPPORTOBJS="${JS_SUPPORTOBJS} ${ac_func}.o"])
|
||||
AC_SUBST(JS_SUPPORTOBJS)
|
||||
|
||||
+dnl delayed check for --enable-client-utmp
|
||||
+if test $client = true; then
|
||||
+ if test $client_utmp = auto; then
|
||||
+ AC_EGREP_CPP(yes, [
|
||||
+#if HAVE_SYS_PARAM_H
|
||||
+# include <sys/param.h>
|
||||
+#endif
|
||||
+#if defined(BSD) && (BSD >= 199306) && !defined(HAVE_PUTUTXLINE) && !defined(HAVE_PUTUTLINE)
|
||||
+ yes
|
||||
+#endif
|
||||
+ ], client_utmp=false, client_utmp=true)
|
||||
+ fi
|
||||
+
|
||||
+ dnl for Debug
|
||||
+ AC_MSG_CHECKING([whether we're using utmp with uum])
|
||||
+ if test $client_utmp = true; then
|
||||
+ dnl We need to look again if we introduce libspt check
|
||||
+ AC_DEFINE(USE_UTMP, 1, [Define to 1 if uum writes utmp entry])
|
||||
+ AC_MSG_RESULT(yes)
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ fi
|
||||
+fi
|
||||
+
|
||||
+dnl delayed check for --enable-client-set[ug]id
|
||||
+if test $client = true; then
|
||||
+ guess_setuid=
|
||||
+ guess_setgid=false
|
||||
+ dnl Note: (HAVE_OPENPTY && defined(TIOCPTMGET)): for recent OpenBSD
|
||||
+ if test $client_utmp = true; then
|
||||
+ AC_EGREP_CPP(yes, [
|
||||
+#if HAVE_SYS_IOCTL_H
|
||||
+# include <sys/ioctl.h>
|
||||
+#endif
|
||||
+#if HAVE_PTSNAME || (HAVE_OPENPTY && defined(TIOCPTMGET))
|
||||
+# if HAVE_PUTUTLINE || HAVE_PUTUTXLINE
|
||||
+ yes
|
||||
+# endif
|
||||
+#endif
|
||||
+ ], [
|
||||
+ case $host_os in
|
||||
+ linux*)
|
||||
+ # On recent Linux, it has both ptsname() and putut*line().
|
||||
+ # But putut*line() will take effect only if prog is installed
|
||||
+ # with set-gid to group utmp.
|
||||
+ guess_setgid=true
|
||||
+ UUMGROUP=${UUMGROUP:-utmp}
|
||||
+ ;;
|
||||
+ esac
|
||||
+ guess_setuid=false
|
||||
+ ], guess_setuid=true)
|
||||
+ else
|
||||
+ # $client_utmp != true
|
||||
+ AC_EGREP_CPP(yes, [
|
||||
+#if HAVE_SYS_IOCTL_H
|
||||
+# include <sys/ioctl.h>
|
||||
+#endif
|
||||
+#if HAVE_PTSNAME || (HAVE_OPENPTY && defined(TIOCPTMGET))
|
||||
+ yes
|
||||
+#endif
|
||||
+ ], guess_setuid=false, guess_setuid=true)
|
||||
+ fi
|
||||
+ # $client_utmp != true
|
||||
+
|
||||
+ if test $client_setuid = auto; then
|
||||
+ client_setuid=$guess_setuid
|
||||
+ # UUMOWNER is already set ...
|
||||
+ fi
|
||||
+ if test $client_setgid = auto; then
|
||||
+ client_setgid=$guess_setgid
|
||||
+ # UUMGROUP is already set (if it needs)
|
||||
+ fi
|
||||
+
|
||||
+ dnl set install flag (at last)
|
||||
+ if test $client_setuid = true; then
|
||||
+ INSTUUMFLAGS="-o \$(UUMOWNER)"
|
||||
+ if test $client_setgid = true; then
|
||||
+ INSTUUMFLAGS="-m 6711 $INSTUUMFLAGS -g \$(UUMGROUP)"
|
||||
+ else
|
||||
+ # client_setuid && !client_setgid
|
||||
+ INSTUUMFLAGS="-m 4711 $INSTUUMFLAGS"
|
||||
+ fi
|
||||
+ else
|
||||
+ if test $client_setgid = true; then
|
||||
+ # !client_setuid && client_setgid
|
||||
+ INSTUUMFLAGS="-m 2711 -g \$(UUMGROUP)"
|
||||
+ else
|
||||
+ # !client_setuid && !client_setgid
|
||||
+ INSTUUMFLAGS="-m 0711"
|
||||
+ fi
|
||||
+ fi
|
||||
+
|
||||
+ dnl for Debug
|
||||
+ AC_MSG_CHECKING([whether we need to install uum as setuid program])
|
||||
+ if test $client_setuid = true; then
|
||||
+ AC_MSG_RESULT([yes, $UUMOWNER])
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ fi
|
||||
+ AC_MSG_CHECKING([whether we need to install uum as setgid program])
|
||||
+ if test $client_setgid = true; then
|
||||
+ AC_MSG_RESULT([yes, $UUMGROUP])
|
||||
+ else
|
||||
+ AC_MSG_RESULT(no)
|
||||
+ fi
|
||||
+else
|
||||
+# $client != true
|
||||
+ INSTUUMFLAGS="-m 4711 -o \$(UUMOWNER)"
|
||||
+fi
|
||||
+# $client = true
|
||||
+
|
||||
+AC_SUBST(INSTUUMFLAGS)
|
||||
+AC_SUBST(UUMOWNER)
|
||||
+AC_SUBST(UUMGROUP)
|
||||
+
|
||||
+dnl
|
||||
+dnl File Existence
|
||||
+dnl Checking file at compile time may bring false result when cross-
|
||||
+dnl compiling. So, one have to check generated config.h and edit it
|
||||
+dnl if necessary after running configure.
|
||||
+dnl
|
||||
+dnl AC_CHECK_FILE(/dev/ptmx, AC_DEFINE(HAVE_DEV_PTMX, 1, [/dev/ptmx found]),)
|
||||
+AC_CHECK_FILES(/dev/ptmx,,)
|
||||
+
|
||||
+
|
||||
+dnl
|
||||
+dnl FIXME: libspt support
|
||||
+dnl for example:
|
||||
+dnl
|
||||
+dnl --with-libspt[=/path/to/libspt-config]
|
||||
+dnl
|
||||
+dnl LIBSPT_CFLAGS=`/path/to/libspt-config --cflags`
|
||||
+dnl LIBSPT_LIBS=`/path/to/libspt-config --libs`
|
||||
+dnl AC_SUBST(LIBSPT_CFLAGS)
|
||||
+dnl AC_SUBST(LIBSPT_LIBS)
|
||||
+dnl AC_DEFINE(HAVE_LIBSPT, 1, [Define if you have libspt support.])
|
||||
|
||||
dnl
|
||||
dnl TCP Wrapper.
|
||||
@@ -1,46 +0,0 @@
|
||||
$NetBSD: patch-kWnn_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/Makefile.in.orig 2001-08-14 13:43:22.000000000 +0000
|
||||
+++ kWnn/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,8 +29,9 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include @top_srcdir@/makerule.mk
|
||||
-top_builddir = ..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
WNNOWNER = wnn
|
||||
|
||||
@@ -46,10 +47,14 @@ KDICDIR = kdic
|
||||
|
||||
KDDIR = kd
|
||||
|
||||
-LIB_SUBDIRS = $(KDDIR) $(JLIBDIR) $(WNNCLIENTSDIR)
|
||||
+UUMDIR = uum
|
||||
+
|
||||
+LIB_SUBDIRS = $(KDDIR) $(JLIBDIR)
|
||||
|
||||
SERVER_SUBDIRS = $(JSERVERDIR) $(WNNJUTILDIR) $(KDICDIR) $(WNNMANDIR)
|
||||
|
||||
+CLIENT_SUBDIRS = $(WNNCLIENTSDIR) $(UUMDIR)
|
||||
+
|
||||
SUBDIRS = @SUBDIRS@
|
||||
|
||||
ALL_SUBDIRS = $(LIB_SUBDIRS) $(SERVER_SUBDIRS)
|
||||
@@ -1,36 +0,0 @@
|
||||
$NetBSD: patch-kWnn_jlib_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/jlib/Makefile.in.orig 2004-09-12 16:56:55.000000000 +0000
|
||||
+++ kWnn/jlib/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2003
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2003, 2009
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -41,8 +41,6 @@ DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
|
||||
# # -- S. Taoka
|
||||
LINTLIBS =
|
||||
INSTALL = @INSTALL@ $(INSTALLFLAGS)
|
||||
-LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
-LT_CC = $(LIBTOOL) --mode=compile $(CC)
|
||||
|
||||
SRC1= js.c wnnerrmsg.c jl.c
|
||||
OBJ1= js.o wnnerrmsg.o jl.o
|
||||
@@ -130,7 +128,7 @@ lint:
|
||||
all:: libkwnn.la
|
||||
|
||||
libkwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
|
||||
- $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(KWNNJLIBVERSION)
|
||||
+ $(LT_LD) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(KWNNJLIBVERSION) @LIBS@
|
||||
|
||||
lintlib:: llib-lkwnn.ln
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
$NetBSD: patch-kWnn_jserver_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/jserver/Makefile.in.orig 2004-05-21 16:39:32.000000000 +0000
|
||||
+++ kWnn/jserver/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2002, 2003, 2004, 2010
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -105,7 +105,7 @@ instserver:: install
|
||||
install:: kserver
|
||||
@if [ -d $(DESTDIR)$(KWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNBINDIR)); fi
|
||||
- $(LIBTOOL) --mode=install $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kserver $(DESTDIR)$(KWNNBINDIR)/kserver
|
||||
+ $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kserver $(DESTDIR)$(KWNNSBINDIR)/`echo kserver | sed '$(transform)'`
|
||||
|
||||
includes:: $(HDRS) $(SRC0) $(SRC1)
|
||||
|
||||
@@ -1,61 +0,0 @@
|
||||
$NetBSD: patch-kWnn_jutil_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/jutil/Makefile.in.orig 2004-08-15 09:38:23.000000000 +0000
|
||||
+++ kWnn/jutil/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2004
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2004, 2010, 2011
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -37,18 +37,21 @@ INSTALL = @INSTALL@ $(INSTALLFLA
|
||||
LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
|
||||
|
||||
- INCLUDES = -I$(KWNNINCLUDESRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTKWNNJINC@ -I$(KWNNINCLUDESRC)
|
||||
DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
|
||||
LOCAL_INSTFLAGS = -o $(WNNOWNER)
|
||||
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(KWNNLANG)/hinsi.data\"
|
||||
|
||||
-CLIENTPROGRAMS = kwnnstat kwnnkill kwddel kwdreg
|
||||
+CLIENTPROGRAMS = kwddel kwdreg
|
||||
+
|
||||
+# Server status / kill programs
|
||||
+CLIENT_SV_PROGRAMS = kwnnstat kwnnkill
|
||||
|
||||
DICUTIL2PROGRAMS = katod katof kwnntouch
|
||||
|
||||
DICUTILPROGRAMS = kdtoa
|
||||
|
||||
-PROGRAMS = $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
+PROGRAMS = $(CLIENTPROGRAMS) $(CLIENT_SV_PROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS)
|
||||
|
||||
LINKS = atod.c atorev.c dic_head.c dtoa.c sort.c ujisf.c wddel.c wdreg.c wnnkill.c wnnstat.c wnntouch.c atof.c
|
||||
|
||||
@@ -326,10 +329,15 @@ instclient:: install
|
||||
install:: $(PROGRAMS)
|
||||
@if [ -d $(DESTDIR)$(KWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNBINDIR)); fi
|
||||
+ @if [ -d $(DESTDIR)$(KWNNSBINDIR) ]; then set +x; \
|
||||
+ else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNSBINDIR)); fi
|
||||
@for flag in ${MAKEFLAGS} ''; do \
|
||||
case "$$flag" in *=*) ;; *[i]*) set +e;; esac; done; \
|
||||
- for i in $(PROGRAMS); do \
|
||||
- (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(KWNNBINDIR)); \
|
||||
+ for i in $(CLIENTPROGRAMS) $(DICUTILPROGRAMS) $(DICUTIL2PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(KWNNBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
+ done; \
|
||||
+ for i in $(CLIENT_SV_PROGRAMS); do \
|
||||
+ (set -x; $(LT_INSTALL) $(INSTBINFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(KWNNSBINDIR)/`echo $$i | sed '$(transform)'`); \
|
||||
done
|
||||
|
||||
$(OBJ1) : $(SRC1)
|
||||
@@ -1,36 +0,0 @@
|
||||
$NetBSD: patch-kWnn_kdic_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/kdic/Makefile.in.orig 2004-04-24 18:56:40.000000000 +0000
|
||||
+++ kWnn/kdic/Makefile.in
|
||||
@@ -5,10 +5,10 @@
|
||||
# 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 2001, 2004
|
||||
+# Copyright FreeWnn Project 2001, 2004, 2010
|
||||
#
|
||||
# Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -27,6 +27,7 @@
|
||||
include @top_builddir@/makerule.mk
|
||||
top_srcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
+ VPATH = @srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
KWNNJUTILOBJ = $(top_builddir)/kWnn/jutil
|
||||
|
||||
@@ -61,7 +62,7 @@ all:: $(ALLTGT)
|
||||
$(DICS): $(HINSI)
|
||||
|
||||
$(FULL):: $(FZK_SRCS) fzk.master-.c
|
||||
- $(CPP) -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
+ $(FZK_PP) -I$(srcdir) $(FZK_FLAG) fzk.master-.c | egrep -v '^(# |#line |#pragma |$$)' | $(ATOF) -h $(HINSI) $@
|
||||
|
||||
# To avoid circular dependency, we don't use 'fzk.master.c'
|
||||
fzk.master-.c: fzk.master
|
||||
@@ -1,42 +0,0 @@
|
||||
$NetBSD: patch-kWnn_romkan_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/romkan/Makefile.in.orig 2002-03-30 09:34:46.000000000 +0000
|
||||
+++ kWnn/romkan/Makefile.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2006
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -29,10 +29,11 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#
|
||||
|
||||
-include ../../makerule.mk
|
||||
-top_builddir = ../..
|
||||
+include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
+top_builddir = @top_builddir@
|
||||
|
||||
- INCLUDES = -I$(KWNNINCLUDESRC) -I$(TOP)
|
||||
+ INCLUDES = -I$(KWNNINCLUDESRC) -I$(top_builddir)
|
||||
DEFINES = $(KWNNDEFINES) -DWNNDEFAULT $(KWNNLANGDEF)
|
||||
LINTLIBS =
|
||||
|
||||
@@ -48,7 +49,7 @@ includes::
|
||||
|
||||
.c.o:
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
+ $(LT_CC) -c $(CFLAGS) $(_NOOP_) $<
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -1,56 +0,0 @@
|
||||
$NetBSD: patch-kWnn_uum_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
|
||||
--- kWnn/uum/Makefile.in.orig 2005-11-20 16:10:28.000000000 +0000
|
||||
+++ kWnn/uum/Makefile.in
|
||||
@@ -10,7 +10,7 @@
|
||||
# 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, 2005
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2005, 2006, 2007, 2010, 2011
|
||||
#
|
||||
# Maintainer: FreeWnn Project
|
||||
#
|
||||
@@ -30,15 +30,18 @@
|
||||
#
|
||||
|
||||
include @top_builddir@/makerule.mk
|
||||
+ top_srcdir = @top_srcdir@
|
||||
top_builddir = @top_builddir@
|
||||
|
||||
-INSTALL = @INSTALL@
|
||||
+INSTALL = @INSTALL@
|
||||
+LOCAL_INSTFLAGS = $(INSTUUMFLAGS)
|
||||
|
||||
- UUMOWNER = root
|
||||
- INCLUDES = -I$(KWNNINCLUDESRC) -I$(KWNNROMKANSRC) -I$(top_builddir)
|
||||
+ INCLUDES = -I$(top_builddir) @EXTKWNNJINC@ -I$(KWNNINCLUDESRC) -I$(KWNNROMKANSRC)
|
||||
DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
|
||||
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
|
||||
LOCAL_LIBRARIES = $(KWNNJLIB) $(KWNNCONVLIB) @LIBS@
|
||||
+# FIXME: libspt: need configure support ...
|
||||
+# LIBSPT_CFLAGS = @LIBSPT_CFLAGS@
|
||||
+# LIBSPT_LIBS = @LIBSPT_LIBS@
|
||||
|
||||
HDRS= buffer.h cvtcode.h sdefine.h sheader.h
|
||||
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
|
||||
@@ -62,7 +65,7 @@ all:: $(HDRS) $(SRC1) kuum
|
||||
|
||||
kuum: $(OBJS) @DEPKWNNJLIB@ $(KWNNCONVLIB)
|
||||
$(RM) $@
|
||||
- $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(WNNTERM_LIB)
|
||||
+ $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@
|
||||
|
||||
clean::
|
||||
$(RM) -r .libs
|
||||
@@ -427,7 +430,7 @@ instclient:: install
|
||||
install:: kuum
|
||||
@if [ -d $(DESTDIR)$(KWNNBINDIR) ]; then set +x; \
|
||||
else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNBINDIR)); fi
|
||||
- $(LIBTOOL) --mode=install $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kuum $(DESTDIR)$(KWNNBINDIR)/kuum
|
||||
+ $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kuum $(DESTDIR)$(KWNNBINDIR)/`echo kuum | sed '$(transform)'`
|
||||
|
||||
$(OBJ2) : $(SRC2)
|
||||
$(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,169 +1,26 @@
|
||||
$NetBSD: patch-makerule.mk.in,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
$NetBSD: patch-makerule.mk.in,v 1.2 2013/10/15 06:25:38 mef Exp $
|
||||
|
||||
(Almost) Automatic generation to sourceforge cvs Repository 2011/05/31
|
||||
lib/wnn -> share/wnn fix for datadir
|
||||
|
||||
--- makerule.mk.in.orig 2003-05-11 18:22:57.000000000 +0000
|
||||
+++ makerule.mk.in
|
||||
@@ -10,9 +10,9 @@
|
||||
# 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, 2003
|
||||
+# Copyright FreeWnn Project 1999, 2000, 2001, 2003, 2006, 2007, 2010, 2011
|
||||
#
|
||||
-# Maintainer: FreeWnn Project <freewnn@tomo.gr.jp>
|
||||
+# 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
|
||||
@@ -31,7 +31,10 @@
|
||||
--- makerule.mk.in.orig 2011-06-01 22:33:11.000000000 +0900
|
||||
+++ makerule.mk.in 2011-06-01 22:33:57.000000000 +0900
|
||||
@@ -45,8 +45,8 @@
|
||||
# for libtool (AM_PROG_LIBTOOL)
|
||||
# top_builddir = @abs_top_srcdir@
|
||||
|
||||
all::
|
||||
- MANDIR = @mandir@/man$(MANSUFFIX)
|
||||
- LIBMANDIR = @mandir@/man$(LIBMANSUFFIX)
|
||||
+ MANDIR = @mandir@/ja_JP.EUC/man$(MANSUFFIX)
|
||||
+ LIBMANDIR = @mandir@/ja_JP.EUC/man$(LIBMANSUFFIX)
|
||||
|
||||
- SHELL = /bin/sh
|
||||
+ SHELL = @SHELL@
|
||||
+# To developers: Please use common syntax / function of Bourne Shell
|
||||
+# (i.e. don't use extention of specific SHELL (bash, ksh, ...))
|
||||
+# on Makefile.in .
|
||||
|
||||
TOP = $(top_builddir)
|
||||
CURRENT_DIR = `pwd`
|
||||
@@ -58,13 +61,20 @@ CPP = @CPP@
|
||||
CC = @CC@
|
||||
CCLINK = $(CC)
|
||||
|
||||
+# Split fuzoku-go preprocessor (for text processing) from CPP.
|
||||
+FZK_PP = @FZK_PP@
|
||||
+
|
||||
INSTALLFLAGS =
|
||||
LD = ld
|
||||
LINT = lint
|
||||
LINTLIBFLAG = -C
|
||||
LINTOPTS = -axz
|
||||
LN = @LN_S@
|
||||
- MAKE = make
|
||||
+# コンパイル時に違うmake (ex. システムのmakeとGNU make)を使えるよう、
|
||||
+# ($MAKEが定義されるmakeならば) $MAKEは定義しない。
|
||||
+# If you like to use specific make, uncomment and modify following line ...
|
||||
+# MAKE = make
|
||||
+ @SET_MAKE@
|
||||
MV = mv -f
|
||||
CP = cp
|
||||
|
||||
@@ -72,6 +82,15 @@ CCLINK = $(CC)
|
||||
RANLIBINSTFLAGS =
|
||||
|
||||
LIBTOOL = @LIBTOOL@
|
||||
+# Notice: If you have trouble on building, please use following lines
|
||||
+# (explicitly use preferred shell by configure / Libtool).
|
||||
+# SHELL = /bin/sh
|
||||
+# LIBTOOL = @LIBTOOL_MOD@
|
||||
+
|
||||
+# LT_* : shortcut for Makefile.in
|
||||
+ LT_CC = $(LIBTOOL) --mode=compile $(CC)
|
||||
+ LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
|
||||
+ LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
|
||||
|
||||
RM = rm -f
|
||||
TBL = tbl
|
||||
@@ -88,6 +107,9 @@ CCLINK = $(CC)
|
||||
INSTINCFLAGS = -m 0444
|
||||
INSTMANFLAGS = -m 0444
|
||||
INSTDATFLAGS = -m 0444
|
||||
+ INSTUUMFLAGS = @INSTUUMFLAGS@
|
||||
+
|
||||
+ transform = @program_transform_name@
|
||||
|
||||
CCOPTIONS = @CCOPTIONS@
|
||||
ALLDEFINES = $(INCLUDES) $(DEFINES)
|
||||
@@ -102,17 +124,31 @@ LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS)
|
||||
#
|
||||
|
||||
WNNOWNER = wnn
|
||||
+ UUMOWNER = @UUMOWNER@
|
||||
+ UUMGROUP = @UUMGROUP@
|
||||
|
||||
IMTOP = $(TOP)
|
||||
|
||||
prefix = @prefix@
|
||||
MANSUFFIX = 1
|
||||
LIBMANSUFFIX = 3
|
||||
@@ -133,7 +133,7 @@
|
||||
exec_prefix = @exec_prefix@
|
||||
- PREFIX = @prefix@
|
||||
- WNNWNNDIR = ${PREFIX}/lib/wnn
|
||||
- WNNBINDIR = ${PREFIX}/bin
|
||||
+ bindir = @bindir@
|
||||
+ sbindir = @sbindir@
|
||||
+ WNNWNNDIR = $(exec_prefix)/lib/wnn
|
||||
+ WNNBINDIR = $(bindir)
|
||||
+ WNNSBINDIR = @WNNSBINDIR@
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
- WNNWNNDIR = $(exec_prefix)/lib/wnn
|
||||
+ WNNWNNDIR = $(exec_prefix)/share/wnn
|
||||
WNNBINDIR = $(bindir)
|
||||
WNNSBINDIR = @WNNSBINDIR@
|
||||
WNNINCDIR = @includedir@
|
||||
WNNLIBDIR = @libdir@
|
||||
- WNNTERM_LIB = -ltermcap
|
||||
+
|
||||
+# sub directory for binaries:
|
||||
+# if --enable-sub-bindir specified:
|
||||
+@if_enable_sub_bindir@ JWNNSUBBINDIR = /Wnn4
|
||||
+@if_enable_sub_bindir@ CWNNSUBBINDIR = /cWnn4
|
||||
+@if_enable_sub_bindir@ KWNNSUBBINDIR = /kWnn4
|
||||
+# else:
|
||||
+@if_disable_sub_bindir@ JWNNSUBBINDIR =
|
||||
+@if_disable_sub_bindir@ CWNNSUBBINDIR =
|
||||
+@if_disable_sub_bindir@ KWNNSUBBINDIR =
|
||||
+# end if
|
||||
|
||||
PUBDICPLUSSRC = $(IMTOP)/PubdicPlus
|
||||
WNNCONSDICSRC = $(IMTOP)/Wnn-consortium/dic
|
||||
@@ -120,7 +156,8 @@ LDOPTIONS = @CDEBUGFLAGS@ $(CCOPTIONS)
|
||||
WNNTOP = $(IMTOP)/Wnn
|
||||
JWNNLANG = ja_JP
|
||||
JWNNWNNDIR = $(WNNWNNDIR)/$(JWNNLANG)
|
||||
- JWNNBINDIR = $(WNNBINDIR)/Wnn4
|
||||
+ JWNNBINDIR = $(WNNBINDIR)$(JWNNSUBBINDIR)
|
||||
+ JWNNSBINDIR = $(WNNSBINDIR)$(JWNNSUBBINDIR)
|
||||
JWNNINCDIR = $(WNNINCDIR)/wnn
|
||||
JWNNDICDIR = $(JWNNWNNDIR)/dic
|
||||
JWNNPUBDICDIR = $(JWNNDICDIR)/pubdic
|
||||
@@ -140,7 +177,7 @@ WNNWNNCONSSRC = $(WNNTOP)/wnncons
|
||||
WNNWNNCONSDICSRC = $(WNNWNNCONSSRC)/dic
|
||||
WNNROMKANSRC = $(WNNTOP)/romkan
|
||||
WNNUUMSRC = $(WNNTOP)/uum
|
||||
- WNNCNVFILEDIR = $(WNNJDSRC)/./bsd
|
||||
+ WNNCNVFILEDIR = $(WNNJDSRC)/@CNVFILE_SUBDIR@
|
||||
WNNINCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANMSRC)
|
||||
WNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
||||
WNNJLIB = @WNNJLIB@
|
||||
@@ -151,7 +188,8 @@ WNNWNNCONSDICSRC = $(WNNWNNCONSSRC)/dic
|
||||
CWNNLANG = zh_CN
|
||||
CWNNWNNDIR = $(WNNWNNDIR)/$(CWNNLANG)
|
||||
CWNNINCDIR = $(WNNINCDIR)/cwnn
|
||||
- CWNNBINDIR = $(WNNBINDIR)/cWnn4
|
||||
+ CWNNBINDIR = $(WNNBINDIR)$(CWNNSUBBINDIR)
|
||||
+ CWNNSBINDIR = $(WNNSBINDIR)$(CWNNSUBBINDIR)
|
||||
CWNNDICDIR = $(CWNNWNNDIR)/dic
|
||||
CWNNSYSDICDIR = $(CWNNDICDIR)/sys
|
||||
CWNNCDSRC = $(CWNNTOP)/cd
|
||||
@@ -164,7 +202,6 @@ WNNWNNCONSDICSRC = $(WNNWNNCONSSRC)/dic
|
||||
CWNNJUTILSRC = $(CWNNTOP)/jutil
|
||||
CWNNROMKANSRC = $(CWNNTOP)/romkan
|
||||
CWNNUUMSRC = $(CWNNTOP)/uum
|
||||
- CWNNCNVFILEDIR = $(CWNNCDSRC)/./bsd
|
||||
CWNNINCLUDES = -I$(CWNNINCLUDESRC) -I$(CWNNROMKANMSRC)
|
||||
CWNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
||||
CWNNJLIB = @CWNNJLIB@
|
||||
@@ -175,7 +212,8 @@ CWNNJLIBVERSION = 0:0
|
||||
KWNNLANG = ko_KR
|
||||
KWNNWNNDIR = $(WNNWNNDIR)/$(KWNNLANG)
|
||||
KWNNINCDIR = $(WNNINCDIR)/kwnn
|
||||
- KWNNBINDIR = $(WNNBINDIR)/kWnn4
|
||||
+ KWNNBINDIR = $(WNNBINDIR)$(KWNNSUBBINDIR)
|
||||
+ KWNNSBINDIR = $(WNNSBINDIR)$(KWNNSUBBINDIR)
|
||||
KWNNDICDIR = $(KWNNWNNDIR)/dic
|
||||
KWNNSYSDICDIR = $(KWNNDICDIR)/sys
|
||||
KWNNKDSRC = $(KWNNTOP)/kd
|
||||
@@ -188,7 +226,6 @@ CWNNJLIBVERSION = 0:0
|
||||
KWNNJUTILSRC = $(KWNNTOP)/jutil
|
||||
KWNNROMKANSRC = $(KWNNTOP)/romkan
|
||||
KWNNUUMSRC = $(KWNNTOP)/uum
|
||||
- KWNNCNVFILEDIR = $(KWNNCDSRC)/./bsd
|
||||
KWNNINCLUDES = -I$(KWNNINCLUDESRC) -I$(KWNNROMKANMSRC)
|
||||
KWNNDEFINES = -DLIBDIR=\"$(WNNWNNDIR)\"
|
||||
KWNNJLIB = @KWNNJLIB@
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
$NetBSD: patch-makerule.mk.in-2,v 1.1 2011/09/13 07:23:21 mef Exp $
|
||||
|
||||
lib/wnn -> share/wnn fix for datadir
|
||||
|
||||
--- makerule.mk.in.orig 2011-06-01 22:33:11.000000000 +0900
|
||||
+++ makerule.mk.in 2011-06-01 22:33:57.000000000 +0900
|
||||
@@ -45,8 +45,8 @@
|
||||
# for libtool (AM_PROG_LIBTOOL)
|
||||
# top_builddir = @abs_top_srcdir@
|
||||
|
||||
- MANDIR = @mandir@/man$(MANSUFFIX)
|
||||
- LIBMANDIR = @mandir@/man$(LIBMANSUFFIX)
|
||||
+ MANDIR = @mandir@/ja_JP.EUC/man$(MANSUFFIX)
|
||||
+ LIBMANDIR = @mandir@/ja_JP.EUC/man$(LIBMANSUFFIX)
|
||||
|
||||
MANSUFFIX = 1
|
||||
LIBMANSUFFIX = 3
|
||||
@@ -133,7 +133,7 @@
|
||||
exec_prefix = @exec_prefix@
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
- WNNWNNDIR = $(exec_prefix)/lib/wnn
|
||||
+ WNNWNNDIR = $(exec_prefix)/share/wnn
|
||||
WNNBINDIR = $(bindir)
|
||||
WNNSBINDIR = @WNNSBINDIR@
|
||||
WNNINCDIR = @includedir@
|
||||
Reference in New Issue
Block a user