summaryrefslogtreecommitdiff
path: root/inputmethod/ja-freewnn-lib/patches/patch-ab
blob: 1195996f40ad425e9b865217bb7564b24524a4f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$NetBSD: patch-ab,v 1.3 2002/08/25 19:22:57 jlam Exp $

--- cWnn/Makefile.in.orig	Tue Mar 23 21:13:41 1999
+++ cWnn/Makefile.in	Mon May 20 03:07:33 2002
@@ -620,8 +620,6 @@
 # along with GNU Emacs; see the file COPYING.  If not, write to the
 # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-WNNOWNER = wnn
-
 JSERVERDIR = jserver
 
 WNNJUTILDIR = jutil
@@ -640,7 +638,13 @@
 
 WNNMANDIR = man
 
-SUBDIRS = $(JLIBDIR) $(CDDIR) $(JSERVERDIR) $(WNNCLIENTSDIR) 	$(WNNJUTILDIR) $(CDICDIR) $(TDICDIR) $(WNNMANDIR) $(TDDIR)
+.if (${WNN_TARGET} == "SERVER")
+SUBDIRS = $(JSERVERDIR) $(WNNJUTILDIR) $(WNNMANDIR)
+.elif (${WNN_TARGET} == "DICT")
+SUBDIRS = $(CDICDIR) $(TDICDIR)
+.else
+SUBDIRS = $(JLIBDIR) $(CDDIR) $(WNNCLIENTSDIR) $(TDDIR)
+.endif
 
 all::
 	@for flag in ${MAKEFLAGS} ''; do \