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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
$NetBSD: patch-aa,v 1.4 2000/11/30 15:48:10 itojun Exp $
--- Canna.conf- Fri Dec 1 00:31:14 2000
+++ Canna.conf Fri Dec 1 00:31:36 2000
@@ -130,10 +130,14 @@
-cannaBinDir = /usr/local/canna/bin
-cannaSrvDir = /usr/local/canna/bin
-cannaLibDir = /usr/local/canna/lib
-cannaManDir = /usr/local/canna/man
-cannaIncDir = /usr/local/canna/include/canna
-libCannaDir = /usr/lib
-
-ErrDir = /usr/spool/canna
+cannaBinDir = ${PREFIX}/bin
+cannaSrvDir = ${PREFIX}/sbin
+cannaLibDir = ${PREFIX}/share/canna
+cannaManDir = ${PREFIX}/man/ja_JP.EUC
+cannaIncDir = ${PREFIX}/include/canna
+libCannaDir = ${PREFIX}/lib
+
+ErrDir = ${CANNA_SPOOL}
+
+/* INET6 related stuff */
+INET6_DEFS = ${INET6}
+INET6_LIBS = #-L/usr/local/v6/lib -linet6
@@ -141,6 +145,6 @@
Wlib =
-JapaneseLocale = japanese
+JapaneseLocale = ja_JP.eucJP
-cannaOwner = bin
-cannaGroup = bin
+cannaOwner = ${CANNAOWNER}
+cannaGroup = ${CANNAGROUP}
@@ -150,3 +154,3 @@
-cannaDsoRev = 1
+cannaDsoRev = 1.0
/* SunOS 4.x をお使いの方で shared object を利用する場合には
@@ -203,6 +207,5 @@
*/
-/* #define UseInstalledLibCanna YES */
-#define UseInstalledLibCanna NO
+#define UseInstalledLibCanna YES
-DicDir = $(cannaLibDir)/dic
+DicDir = ${DICT_DIR}/canna
@@ -241,14 +244,14 @@
# endif
- CANNALIB = -L$(libCannaDir) -lcanna $(DLLIB)
+ CANNALIB = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna $(DLLIB)
#else /* ! UseInstalledLibCanna */
# if DoSharedLib
- DEPCANNALIB = $(CANNASRC)/libcanna.$(sharedLibExtension)
+ DEPCANNALIB = $(libCannaDir)/libcanna.$(sharedLibExtension)
# else
#ifdef __EMX__
- DEPCANNALIB = $(CANNASRC)/canna.a
+ DEPCANNALIB = $(libCannaDir)/canna.a
#else
- DEPCANNALIB = $(CANNASRC)/libcanna.a
+ DEPCANNALIB = $(libCannaDir)/libcanna.a
#endif
# endif
- CANNALIB = -L$(CANNASRC) -lcanna $(DLLIB)
+ CANNALIB = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna $(DLLIB)
#endif /* UseInstalledLibCanna */
@@ -261,10 +264,10 @@
# endif
- CANNALIB16 = -L$(libCannaDir) -lcanna16 $(DLLIB)
+ CANNALIB16 = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna16 $(DLLIB)
#else /* ! UseInstalledLibCanna */
# if DoSharedLib
- DEPCANNALIB16 = $(CANNASRC)/libcanna16.$(sharedLibExtension)
+ DEPCANNALIB16 = $(libCannaDir)/libcanna16.$(sharedLibExtension)
# else
- DEPCANNALIB16 = $(CANNASRC)/libcanna16.a
+ DEPCANNALIB16 = $(libCannaDir)/libcanna16.a
# endif
- CANNALIB16 = -L$(CANNASRC) -lcanna16 $(DLLIB)
+ CANNALIB16 = -Wl,-rpath,$(libCannaDir) -L$(libCannaDir) -lcanna16 $(DLLIB)
#endif /* UseInstalledLibCanna */
|