diff options
Diffstat (limited to 'japanese/FreeWnn-lib/files/patch-ap')
-rw-r--r-- | japanese/FreeWnn-lib/files/patch-ap | 107 |
1 files changed, 82 insertions, 25 deletions
diff --git a/japanese/FreeWnn-lib/files/patch-ap b/japanese/FreeWnn-lib/files/patch-ap index 17495e11a56e..0add98f308f1 100644 --- a/japanese/FreeWnn-lib/files/patch-ap +++ b/japanese/FreeWnn-lib/files/patch-ap @@ -1,25 +1,82 @@ ---- Imakefile.~1~ Tue Oct 4 08:18:46 1994 -+++ Imakefile Tue Feb 10 11:29:58 1998 -@@ -4,7 +4,7 @@ - #define IHaveSubdirs - #define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS)' - --#if BuildWnn || BuildXwnmo -+#if BuildWnn - WNNDIR = Wnn - #endif - #if BuildCWnn ---- ./Xwnmo/jd/ximconf.~1~ Thu Feb 12 10:20:17 1998 -+++ ./Xwnmo/jd/ximconf Thu Feb 12 10:32:59 1998 -@@ -18,8 +18,8 @@ - zh_TW zh_TW.ucns 2,1,2 True Yincoding - zh_CN.eucCN|zh_CN.ugb \ - zh_CN zh_CN.ugb 2,1,2 True Yincoding --ja|ja_JP.eucJP|ja_JP.ujis|ja_JP.mscode|ja_JP.SJIS|ja_JP.jis8|ja_JP.jis7|ja_JP.pjis \ -- ja_JP ja_JP.ujis 2,1,2 True Normal -+ja|ja_JP.EUC|ja_JP.eucJP|ja_JP.ujis|ja_JP.mscode|ja_JP.SJIS|ja_JP.jis8|ja_JP.jis7|ja_JP.pjis \ -+ ja_JP ja_JP.EUC 2,1,2 True Normal - --setdefaultlocale ja_JP.ujis -+setdefaultlocale ja_JP.EUC - setworldlocale wr_WR.ct +--- Wnn/jlib/Makefile.in.orig Tue Mar 21 01:21:11 2000 ++++ Wnn/jlib/Makefile.in Fri Sep 1 01:25:52 2000 +@@ -81,11 +81,13 @@ + + .c.o: + $(RM) $@ +- $(CC) -c $(CFLAGS) $(_NOOP_) $*.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(_NOOP_) $*.c + + clean:: ++ $(RM) -r .libs ++ $(RM) *.lo *.la + +-all:: $(OBJS) libwnn.a ++all:: $(OBJS) libwnn.la + + all:: libgetopt.a + +@@ -109,17 +111,15 @@ + + kankana: kankana.o + $(RM) $@ +- $(CCLINK) -o $@ $(LDOPTIONS) kankana.o $(WNNJLIB) ++ $(LIBTOOL) $(CCLINK) -o $@ $(LDOPTIONS) kankana.o $(WNNJLIB) + + clean:: + $(RM) kankana + +-all:: libwnn.a ++all:: libwnn.la + +-libwnn.a: $(OBJS) $(EXTRALIBRARYDEPS) +- $(RM) $@ +- $(AR) $@ $(OBJS) +- $(RANLIB) $@ ++libwnn.la: $(OBJS) $(EXTRALIBRARYDEPS) ++ $(LIBTOOL) $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(DESTDIR)$(WNNLIBDIR) -version-info $(WNNJLIBVERSION) + + lintlib:: llib-lwnn.ln + +@@ -129,32 +129,31 @@ + + instlib:: install + +-install:: libwnn.a ++install:: libwnn.la + @if [ -d $(DESTDIR)$(WNNLIBDIR) ]; then set +x; \ + else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNLIBDIR)); fi +- $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libwnn.a $(DESTDIR)$(WNNLIBDIR) +- $(RANLIB) $(RANLIBINSTFLAGS) $(DESTDIR)$(WNNLIBDIR)/libwnn.a ++ $(LIBTOOL) $(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) libwnn.la $(DESTDIR)$(WNNLIBDIR) + + $(OBJ3) : $(SRC3) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ4) : $(SRC4) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ5) : $(SRC5) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ6) : $(SRC6) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ7) : $(SRC7) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ8) : $(SRC8) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(OBJ9) : $(SRC9) +- $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c ++ $(LIBTOOL) $(CC) -c $(CFLAGS) $(WNNETCSRC)/`basename $@ .o`.c + + $(LOCAL_RKOBJS) : $(LOCAL_RKSRCS) + @case '${MFLAGS}' in *[ik]*) set +e;; esac; cd $(WNNROMKANSRC); echo "making all in $(WNNROMKANSRC)"; $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS) |