openbsd-ports/japanese/Wnn/patches/patch-kWnn_jlib_Imakefile

53 lines
1.8 KiB
Plaintext

$OpenBSD: patch-kWnn_jlib_Imakefile,v 1.2 2000/04/20 23:11:48 espie Exp $
--- kWnn/jlib/Imakefile.orig Wed Aug 17 03:11:40 1994
+++ kWnn/jlib/Imakefile Fri Apr 21 01:05:04 2000
@@ -10,7 +10,9 @@ XCOMM
LINKS = getopt.c jl.c js.c wnnerrmsg.c
JLIBDEFINES = -DWRITE_CHECK
INCLUDES = -I$(KWNNINCLUDESRC) -I$(TOP)
- DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF) $(JLIBDEFINES)
+ DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF) $(CWNNLANGDEF) $(JLIBDEFINES)
+XCOMM # for Mule
+XCOMM # -- S. Taoka
INSTALLFLAGS = $(INSTBINFLAGS)
LINTLIBS =
@@ -28,6 +30,15 @@ SRC4= $(KWNNETCSRC)/strings.c
OBJ4= strings.o
SRC5= $(KWNNETCSRC)/bcopy.c
OBJ5= bcopy.o
+SRC6= $(KWNNETCSRC)/yincoding.c
+XCOMM for Mule
+XCOMM -- S. Taoka
+OBJ6= yincoding.o
+SRC7= $(KWNNETCSRC)/py_table.c
+OBJ7= py_table.o
+SRC8= $(KWNNETCSRC)/zy_table.c
+OBJ8= zy_table.o
+
LOCAL_RKSRCS= $(KWNNROMKANSRC)/rk_bltinfn.c \
$(KWNNROMKANSRC)/rk_main.c \
$(KWNNROMKANSRC)/rk_modread.c \
@@ -40,8 +51,8 @@ LOCAL_RKOBJS= $(KWNNROMKANSRC)/rk_bltinf
$(KWNNROMKANSRC)/rk_read.o \
$(KWNNROMKANSRC)/rk_vars.o
-LOCAL_ETCSRCS = $(SRC4) $(SRC5)
-LOCAL_ETCOBJS = $(OBJ4) $(OBJ5)
+LOCAL_ETCSRCS = $(SRC4) $(SRC5) $(SRC6) $(SRC7) $(SRC8)
+LOCAL_ETCOBJS = $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8)
SRCS= $(SRC1) $(SRC3) $(LOCAL_ETCSRCS)
OBJS= $(OBJ1) $(OBJ3) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS)
@@ -80,6 +91,10 @@ InstallLibrary(kwnn_p,$(WNNLIBDIR))
WnnSpecialObjectRule($(OBJ3),$(SRC3),$(KWNNETCSRC),)
WnnSpecialObjectRule($(OBJ4),$(SRC4),$(KWNNETCSRC),)
WnnSpecialObjectRule($(OBJ5),$(SRC5),$(KWNNETCSRC),)
+WnnSpecialObjectRule($(OBJ6),$(SRC6),$(KWNNETCSRC),)
+WnnSpecialObjectRule($(OBJ7),$(SRC7),$(KWNNETCSRC),)
+WnnSpecialObjectRule($(OBJ8),$(SRC8),$(KWNNETCSRC),)
+
$(LOCAL_RKOBJS) : $(LOCAL_RKSRCS)
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \