annotate Makefile @ 3:2366b362676d draft

imap-2007f
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 30 Oct 2014 00:00:57 +0900
parents 28a55bc1110c
children d741b3ecc917
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1 # ========================================================================
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
2 # Copyright 1988-2008 University of Washington
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
3 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
4 # Licensed under the Apache License, Version 2.0 (the "License");
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
5 # you may not use this file except in compliance with the License.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
6 # You may obtain a copy of the License at
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
7 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
8 # http://www.apache.org/licenses/LICENSE-2.0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
9 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
10 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
11 # ========================================================================
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
12
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
13 # Program: IMAP Toolkit Makefile
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
14 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
15 # Author: Mark Crispin
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
16 # UW Technology
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
17 # Seattle, WA 98195
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
18 # Internet: MRC@Washington.EDU
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
19 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
20 # Date: 7 December 1989
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
21 # Last Edited: 12 May 2008
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
22
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
23
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
24 # Normal command to build IMAP toolkit:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
25 # make <port> [EXTRAAUTHENTICATORS=xxx] [EXTRADRIVERS=xxx] [EXTRACFLAGS=xxx]
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
26 # [PASSWDTYPE=xxx] [SSLTYPE=xxx] [IP=n]
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
27
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
28
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
29 # Port name. These refer to the *standard* compiler on the given system.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
30 # This means, for example, that the hpx port is for HP's compiler and not for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
31 # a non-standard compiler such as gcc.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
32 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
33 # If you are using gcc and it is not the standard compiler on your system, try
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
34 # using an ANSI port that is close to what you have. For example, if your
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
35 # system is SVR4ish, try a32 or lnx; if it's more BSDish, try nxt, mct, or bsi.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
36 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
37 # The following ports are bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
38 # a32 AIX 3.2 for RS/6000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
39 # a41 AIX 4.1 for RS/6000
3
2366b362676d imap-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
40 # a52 Attempt at AIX 5.2
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
41 # aix AIX/370 (not RS/6000!!)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
42 # ami AmigaDOS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
43 # am2 AmigaDOS with a 68020+
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
44 # ama AmigaDOS using AS225R2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
45 # amn AmigaDOS with a 680x0 using "new" socket library
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
46 # aos AOS for RT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
47 # art AIX 2.2.1 for RT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
48 # asv Altos SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
49 # aux A/UX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
50 # bs3 BSD/i386 3.0 and higher
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
51 # bsd generic BSD 4.3 (as in ancient 1980s version)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
52 # bsf FreeBSD
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
53 # bsi BSD/i386
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
54 # bso OpenBSD (yes, yet another one...)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
55 # cvx Convex
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
56 # cyg Cygwin
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
57 # d-g Data General DG/UX prior to 5.4 (d41 port no longer exists)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
58 # d54 Data General DG/UX 5.4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
59 # do4 Apollo Domain/OS sr10.4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
60 # dpx Bull DPX/2 B.O.S.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
61 # drs ICL DRS/NX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
62 # dyn Dynix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
63 # epx EP/IX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
64 # ga4 GCC AIX 4.x for RS/6000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
65 # gas GCC Altos SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
66 # gcs GCC Solaris with Blastwave Community Open Source Software
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
67 # gh9 GCC HP-UX 9.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
68 # ghp GCC HP-UX 10.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
69 # ghs GCC HP-UX 10.x with Trusted Computer Base
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
70 # go5 GCC 2.7.1 (95q4 from Skunkware _not_ 98q2!) SCO Open Server 5.0.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
71 # gsc GCC Santa Cruz Operation
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
72 # gsg GCC SGI
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
73 # gso GCC Solaris
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
74 # gsu GCC SUN-OS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
75 # gul GCC RISC Ultrix (DEC-5000)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
76 # h11 HP-UX 11i
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
77 # hpp HP-UX 9.x (see gh9)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
78 # hpx HP-UX 10.x (see ghp, ghs, hxd, and shp)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
79 # hxd HP-UX 10.x with DCE security (see shp)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
80 # isc Interactive Systems
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
81 # ldb Debian Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
82 # lfd Fedora Core 4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
83 # ln8 Linux for Nokia N800
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
84 # lnx Linux with traditional passwords and crypt() in the C library
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
85 # (see lnp, sl4, sl5, and slx)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
86 # lnp Linux with Pluggable Authentication Modules (PAM)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
87 # lmd Mandrake Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
88 # lr5 RedHat Enterprise 5 and later (same as lfd)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
89 # lrh RedHat Linux 7.2 and later
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
90 # lsu SuSE Linux (same as lrh)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
91 # lyn LynxOS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
92 # mct MachTen
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
93 # mnt Atari ST Mint (not MacMint)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
94 # neb NetBSD
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
95 # nec NEC UX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
96 # nto QNX Neutrine RTP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
97 # nxt NEXTSTEP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
98 # nx3 NEXTSTEP 3.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
99 # osf OSF/1 (see sos, os4)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
100 # os4 OSF/1 (Digital UNIX) 4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
101 # osi Apple iPhone and iPod Touch
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
102 # osx Mac OS X
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
103 # oxp Mac OS X with Pluggable Authentication Modules (PAM)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
104 # ptx PTX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
105 # pyr Pyramid
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
106 # qnx QNX 4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
107 # s40 SUN-OS 4.0 (*not* Solaris)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
108 # sc5 SCO Open Server 5.0.x (see go5)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
109 # sco Santa Cruz Operation (see sc5, go5)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
110 # shp HP-UX with Trusted Computer Base
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
111 # sgi Silicon Graphics IRIX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
112 # sg6 Silicon Graphics IRIX 6.5
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
113 # sl4 Linux using -lshadow to get the crypt() function
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
114 # sl5 Linux with shadow passwords, no extra libraries
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
115 # slx Linux using -lcrypt to get the crypt() function
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
116 # snx Siemens Nixdorf SININX or Reliant UNIX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
117 # soc Solaris with /opt/SUNWspro/bin/cc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
118 # sol Solaris (won't work unless "ucbcc" works -- use gso instead)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
119 # sos OSF/1 with SecureWare
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
120 # ssn SUN-OS with shadow password security
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
121 # sua Windows Vista (Enterprise or Ultima) Subsystem for Unix Applications
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
122 # sun SUN-OS 4.1 or better (*not* Solaris) (see ssn)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
123 # sv2 SVR2 on AT&T PC-7300 (incomplete port)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
124 # sv4 generic SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
125 # ult RISC Ultrix (DEC-5000)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
126 # uw2 UnixWare SVR4.2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
127 # vul VAX Ultrix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
128 # vu2 VAX Ultrix 2.3 (e.g. for VAXstation-2000 or similar old version)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
129
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
130
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
131 # Extra authenticators (e.g. OTP, Kerberos, etc.). Adds linkage for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
132 # auth_xxx.c and executes Makefile.xxx, where xxx is the name of the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
133 # authenticator. Some authenticators are only available from third parties.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
134 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
135 # The following extra authenticators are bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
136 # gss Kerberos V
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
137
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
138 EXTRAAUTHENTICATORS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
139
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
140
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
141 # Additional mailbox drivers. Add linkage for xxxdriver. Some drivers are
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
142 # only available from third parties.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
143 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
144 # The following extra drivers are bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
145 # mbox if file "mbox" exists on the home directory, automatically moves mail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
146 # from the spool directory to "mbox" and uses "mbox" as INBOX.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
147
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
148 EXTRADRIVERS=mbox
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
149
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
150
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
151 # Plaintext password type. Defines how plaintext password authentication is
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
152 # done on this system.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
153 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
154 # The following plaintext login types are bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
155 # afs AFS authentication database
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
156 # dce DCE authentication database
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
157 # gss Kerberos V
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
158 # nul plaintext authentication never permitted
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
159 # pam PAM authentication (note: for Linux, you should use the "lnp" port
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
160 # instead of setting this...also, you may have to modify PAMLDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
161 # in the imap-[]/src/osdep/unix/Makefile
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
162 # pmb PAM authentication for broken implementations such as Solaris.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
163 # you may have to modify PAMLDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
164 # std system standard (typically passwd file), determined by port
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
165 # two try alternative (defined by CHECKPWALT), then std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
166
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
167 PASSWDTYPE=std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
168
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
169
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
170 # SSL type. Defines whether or not SSL support is on this system
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
171 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
172 # The following SSL types are bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
173 # none no SSL support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
174 # unix SSL support using OpenSSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
175 # nopwd SSL support using OpenSSL, and plaintext authentication permitted only
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
176 # in SSL/TLS sessions
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
177 # sco link SSL before other libraries (for SCO systems)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
178 # unix.nopwd same as nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
179 # sco.nopwd same as nopwd, plaintext authentication in SSL/TLS only
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
180 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
181 # SSLTYPE=nopwd is now the default as required by RFC 3501
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
182
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
183 SSLTYPE=nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
184
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
185
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
186 # IP protocol version
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
187 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
188 # The following IP protocol versions are defined:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
189 # o IPv4 support, no DNS (truly ancient systems)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
190 # 4 (default) IPv4 support only
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
191 # 6 IPv6 and IPv4 support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
192
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
193 IP=4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
194 IP6=6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
195
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
196
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
197 # The following extra compilation flags are defined. None of these flags are
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
198 # recommended. If you use these, include them in the EXTRACFLAGS.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
199 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
200 # -DDISABLE_POP_PROXY
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
201 # By default, the ipop[23]d servers offer POP->IMAP proxy access,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
202 # which allow a POP client to access mail on an IMAP server by using the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
203 # POP server as a go-between. Setting this option disables this
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
204 # facility.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
205 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
206 # -DOLDFILESUFFIX=\"xxx\"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
207 # Change the default suffix appended to the backup .newsrc file from
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
208 # "old".
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
209 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
210 # -DSTRICT_RFC822_TIMEZONES
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
211 # Disable recognition of the non-standard UTC (0000), MET (+0100),
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
212 # EET (+0200), JST (+0900), ADT (-0300), AST (-0400), YDT (-0800),
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
213 # YST (-0900), and HST (-1000) symbolic timezones.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
214 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
215 # -DBRITISH_SUMMER_TIME
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
216 # Enables recognition of non-standard symbolic timezone BST as +0100.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
217 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
218 # -DBERING_STANDARD_TIME
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
219 # Enables recognition of non-standard symbolic timezone BST as -1100.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
220 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
221 # -DNEWFOUNDLAND_STANDARD_TIME
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
222 # Enables recognition of non-standard symbolic timezone NST as -0330.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
223 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
224 # -DNOME_STANDARD_TIME
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
225 # Enables recognition of non-standard symbolic timezone NST as -1100.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
226 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
227 # -DSAMOA_STANDARD_TIME
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
228 # Enables recognition of non-standard symbolic timezone SST as -1100.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
229 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
230 # -DY4KBUGFIX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
231 # Turn on the Y4K bugfix (yes, that's year 4000). It isn't well-known,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
232 # but century years evenly divisible by 4000 are *not* leap years in the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
233 # Gregorian calendar. A lot of "Y2K compilant" software does not know
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
234 # about this rule. Remember to turn this on sometime in the next 2000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
235 # years.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
236 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
237 # -DUSEORTHODOXCALENDAR
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
238 # Use the more accurate Eastern Orthodox calendar instead of the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
239 # Gregorian calendar. The century years which are leap years happen
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
240 # at alternating 400 and 500 year intervals without shifts every 4000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
241 # years. The Orthodox and Gregorian calendars diverge by 1 day for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
242 # gradually-increasing intervals, starting at 2800-2900, and becoming
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
243 # permanent at 48,300.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
244 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
245 # -DUSEJULIANCALENDAR
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
246 # Use the less accurate Julian calendar instead of the Gregorian
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
247 # calendar. Leap years are every 4 years, including century years.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
248 # My apologies to those in the English-speaking world who object to
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
249 # the reform of September 2, 1752 -> September 14, 1752, since this
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
250 # code still uses January 1 (which Julius Ceasar decreed as the start
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
251 # of the year, which since 153 BCE was the day that Roman consuls
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
252 # took office), rather than the traditional March 25 used by the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
253 # British. As of 2005, the Julian calendar and the Gregorian calendar
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
254 # diverge by 15 days.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
255
3
2366b362676d imap-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
256 EXTRACFLAGS=
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
257
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
258
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
259 # Extra linker flags (additional/alternative libraries, etc.)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
260
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
261 EXTRALDFLAGS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
262
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
263
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
264 # Special make flags (e.g. to override make environment variables)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
265
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
266 EXTRASPECIALS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
267 SPECIALS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
268
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
269
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
270 # Normal commands
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
271
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
272 CAT=cat
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
273 CD=cd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
274 LN=ln -s
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
275 MAKE=make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
276 MKDIR=mkdir
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
277 BUILDTYPE=rebuild
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
278 RM=rm -rf
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
279 SH=sh
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
280 SYSTEM=unix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
281 TOOLS=tools
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
282 TOUCH=touch
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
283
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
284
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
285 # Primary build command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
286
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
287 BUILD=$(MAKE) build EXTRACFLAGS='$(EXTRACFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
288 EXTRALDFLAGS='$(EXTRALDFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
289 EXTRADRIVERS='$(EXTRADRIVERS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
290 EXTRAAUTHENTICATORS='$(EXTRAAUTHENTICATORS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
291 PASSWDTYPE=$(PASSWDTYPE) SSLTYPE=$(SSLTYPE) IP=$(IP)\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
292 EXTRASPECIALS='$(EXTRASPECIALS)'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
293
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
294
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
295 # Make the IMAP Toolkit
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
296
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
297 all: c-client SPECIALS rebuild bundled
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
298
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
299 c-client:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
300 @echo Not processed yet. In a first-time build, you must specify
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
301 @echo the system type so that the sources are properly processed.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
302 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
303
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
304
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
305 SPECIALS:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
306 echo $(SPECIALS) > SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
307
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
308 # Note on SCO you may have to set LN to "ln".
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
309
3
2366b362676d imap-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
310 a32 a41 a52 aix bs3 bsi d-g d54 do4 drs epx ga4 gas gh9 ghp ghs go5 gsc gsg gso gul h11 hpp hpx lnp lyn mct mnt nec nto nxt nx3 osf os4 ptx qnx sc5 sco sgi sg6 shp sl4 sl5 slx snx soc sol sos uw2: an
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
311 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
312
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
313 # If you use sv4, you may find that it works to move it to use the an process.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
314 # If so, you probably will want to delete the "-Dconst=" from the sv4 CFLAGS in
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
315 # the c-client Makefile.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
316
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
317 aos art asv aux bsd cvx dpx dyn isc pyr sv4 ult vul vu2: ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
318 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
319
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
320
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
321 # Knotheads moved Kerberos and SSL locations on these platforms
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
322
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
323 # Paul Vixie claims that all FreeBSD versions have working IPv6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
324
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
325 bsf: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
326 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
327 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
328 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
329 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
330
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
331 # I assume that Theo did the right thing for IPv6. OpenBSD does not have PAM.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
332
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
333 bso: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
334 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
335 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
336 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
337
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
338 # Info from Joel Reicher about NetBSD SSL paths. I assume it has PAM because pam is in NetBSD sources...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
339
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
340 neb: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
341 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
342 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
343 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
344 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/openssl/certs SSLKEYS=/etc/openssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
345
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
346 cyg: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
347 $(BUILD) BUILDTYPE=cyg \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
348 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/usr/ssl/certs SSLKEYS=/usr/ssl/certs"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
349
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
350 gcs: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
351 $(BUILD) BUILDTYPE=gso \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
352 SPECIALS="SSLINCLUDE=/opt/csw/include/openssl SSLLIB=/opt/csw/lib SSLCERTS=/opt/csw/ssl/certs SSLKEYS=/opt/csw/ssl/certs"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
353
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
354 ldb: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
355 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
356 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
357
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
358 lfd: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
359 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
360 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private GSSDIR=/usr/kerberos"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
361
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
362 ln8: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
363 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
364 $(BUILD) BUILDTYPE=slx IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
365 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/usr/lib/ssl/certs MAILSPOOL=/var/mail"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
366
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
367
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
368 # RHE5 does not have the IPv6 bug
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
369
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
370 lr5: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
371 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
372 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
373 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/pki/tls/certs SSLKEYS=/etc/pki/tls/private GSSDIR=/usr/kerberos"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
374
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
375 lmd: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
376 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
377 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/usr/lib/ssl/certs SSLKEYS=/usr/lib/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
378
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
379 # RHE3 definitely has the IPv6 bug
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
380
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
381 lrh: lrhok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
382 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
383 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/usr/share/ssl/certs SSLKEYS=/usr/share/ssl/private GSSDIR=/usr/kerberos"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
384
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
385 lrhok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
386 @$(SH) -c '(test ! -d /etc/pki/tls ) || make lrhwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
387 @$(TOUCH) lrhok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
388
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
389 lrhwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
390 @echo You are building for OLD versions of RedHat Linux. This build
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
391 @echo is NOT suitable for RedHat Enterprise 5, which stores SSL/TLS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
392 @echo certificates and keys in /etc/pki/tls rather than /usr/share/ssl.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
393 @echo If you want to build for modern RedHat Linux, you should use
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
394 @echo make lr5 instead.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
395 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
396 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
397 @echo OK, I will remember that you really want to build for old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
398 @echo RedHat Linux. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
399 @echo If you realize that you really wanted to build for modern
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
400 @echo RedHat Linux, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
401 @echo % rm lrhok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
402 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
403 @echo % make lr5
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
404
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
405 lsu: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
406 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
407 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/usr/share/ssl/certs SSLKEYS=/usr/share/ssl/private GSSDIR=/usr/kerberos"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
408
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
409 # iToy does not have Kerberos or PAM. It doesn't have a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
410 # /System/Library/OpenSSL directory either, but the libcrypto shared library
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
411 # has these locations so this is what we will use.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
412
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
413 osi: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
414 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
415 $(BUILD) BUILDTYPE=osx IP=$(IP6) CC=arm-apple-darwin-gcc \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
416 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
417
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
418 oxp: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
419 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
420 $(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
421 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
422 EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
423 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMDLFLAGS=-lpam"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
424
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
425 osx: osxok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
426 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
427 $(BUILD) BUILDTYPE=$@ IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
428 SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/System/Library/OpenSSL/certs SSLKEYS=/System/Library/OpenSSL/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
429
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
430 osxok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
431 @$(SH) -c '(test ! -f /usr/include/pam/pam_appl.h ) || make osxwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
432 @$(TOUCH) osxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
433
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
434 osxwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
435 @echo You are building for OLD versions of Mac OS X. This build is
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
436 @echo NOT suitable for modern versions of Mac OS X, such as Tiger,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
437 @echo which use PAM-based authentication. If you want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
438 @echo modern Mac OS X, you should use make oxp instead.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
439 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
440 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
441 @echo OK, I will remember that you really want to build for old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
442 @echo Mac OS X. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
443 @echo If you realize that you really wanted to build for modern
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
444 @echo Mac OS X, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
445 @echo % rm osxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
446 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
447 @echo % make oxp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
448
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
449
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
450 # Linux shadow password support doesn't build on traditional systems, but most
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
451 # Linux systems are shadow these days.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
452
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
453 lnx: lnxnul an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
454 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
455
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
456 lnxnul:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
457 @$(SH) -c '(test $(PASSWDTYPE) = nul) || make lnxok'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
458
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
459 lnxok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
460 @echo You are building for traditional Linux. Most modern Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
461 @echo systems require that you build using make slx.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
462 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
463 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
464 @echo OK, I will remember that you really want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
465 @echo traditional Linux. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
466 @echo If you discover that you can not log in to the POP and IMAP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
467 @echo servers, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
468 @echo % rm lnxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
469 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
470 @echo % make slx
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
471 @echo If slx does not work, try sl4 or sl5. Be sure to do a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
472 @echo make clean between each try!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
473 @$(TOUCH) lnxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
474
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
475
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
476 # SUN-OS C compiler makes you load libdl by hand...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
477
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
478 ssn sun: sunok suntools ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
479 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
480
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
481 suntools:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
482 $(CD) tools;$(MAKE) LDFLAGS=-ldl
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
483
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
484 gsu: sunok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
485 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
486
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
487 s40: sunok ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
488 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
489
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
490 sunok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
491 @echo You are building for the old BSD-based SUN-OS. This is NOT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
492 @echo the modern SVR4-based Solaris. If you want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
493 @echo Solaris, you should use make gso or make sol or make soc. Do
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
494 @echo you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
495 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
496 @echo OK, I will remember that you really want to build for the old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
497 @echo BSD-based SUN-OS. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
498 @echo If the build fails and you realize that you really wanted to
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
499 @echo build for Solaris, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
500 @echo % rm sunok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
501 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
502 @echo % make gso
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
503 @echo If gso does not work, try sol. Be sure to do a make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
504 @echo between each try!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
505 @$(TOUCH) sunok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
506
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
507
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
508 # SVR2 doesn't have symbolic links (at least my SVR2 system doesn't)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
509
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
510 sv2:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
511 $(MAKE) ua LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
512 $(BUILD) BUILDTYPE=$@ LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
513
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
514 # Hard links don't quite work right in SUA, and there don't seem to be any
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
515 # SSL includes. However, IPv6 works.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
516
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
517 sua:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
518 $(TOUCH) ip6 sslnone
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
519 $(MAKE) an LN=cp SSLTYPE=none
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
520 $(BUILD) BUILDTYPE=$@ LN=cp IP=$(IP6) SSLTYPE=none
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
521
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
522
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
523 # Pine port names, not distinguished in c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
524
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
525 bs2: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
526 $(BUILD) BUILDTYPE=bsi
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
527
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
528 pt1: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
529 $(BUILD) BUILDTYPE=ptx
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
530
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
531
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
532 # Compatibility
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
533
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
534 hxd:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
535 $(BUILD) BUILDTYPE=hpx PASSWDTYPE=dce
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
536
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
537 # Amiga
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
538
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
539 ami am2 ama amn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
540 $(MAKE) an LN=cp SYSTEM=amiga
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
541 $(BUILD) BUILDTYPE=$@ LN=cp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
542
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
543
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
544 # Courtesy entries for Microsoft systems
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
545
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
546 nt:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
547 nmake /nologo /f makefile.nt
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
548
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
549 ntk:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
550 nmake /nologo /f makefile.ntk
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
551
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
552 w2k:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
553 nmake /nologo /f makefile.w2k
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
554
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
555 wce:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
556 nmake /nologo /f makefile.wce
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
557
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
558
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
559 # SSL build choices
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
560
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
561 sslnopwd sslunix.nopwd sslsco.nopwd:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
562 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
563 @echo + Building in full compliance with RFC 3501 security
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
564 @echo + requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
565 @echo ++ TLS/SSL encryption is supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
566 @echo ++ Unencrypted plaintext passwords are prohibited
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
567 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
568
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
569 sslunix sslsco:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
570 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
571 @echo + Building in PARTIAL compliance with RFC 3501 security
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
572 @echo + requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
573 @echo + Compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
574 @echo ++ TLS/SSL encryption is supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
575 @echo + Non-compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
576 @echo ++ Unencrypted plaintext passwords are permitted
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
577 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
578 @echo + In order to rectify this problem, you MUST build with:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
579 @echo ++ SSLTYPE=$(SSLTYPE).nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
580 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
581 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
582 @echo Do you want to continue this build anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
583 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make nounenc;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
584
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
585 nounenc:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
586 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
587 @echo + At your request, this build with unencrypted authentication has
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
588 @echo + been CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
589 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
590 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
591
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
592
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
593 sslnone:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
594 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
595 @echo + Building in NON-COMPLIANCE with RFC 3501 security requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
596 @echo + Non-compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
597 @echo ++ TLS/SSL encryption is NOT supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
598 @echo ++ Unencrypted plaintext passwords are permitted
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
599 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
600 @echo + In order to rectify this problem, you MUST build with:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
601 @echo ++ SSLTYPE=nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
602 @echo + You must also have OpenSSL or equivalent installed.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
603 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
604 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
605 @echo Do you want to continue this build anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
606 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make nonossl;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
607
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
608 nonossl:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
609 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
610 @echo + At your request, this build with no TLS/SSL support has been
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
611 @echo + CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
612 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
613 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
614
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
615
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
616 # IP build choices
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
617
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
618 ip4:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
619 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
620 @echo + Building with IPv4 support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
621 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
622
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
623 ip6:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
624 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
625 @echo + Building with IPv6 support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
626 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
627 @echo + NOTE: Some versions of glibc have a bug in the getaddrinfo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
628 @echo + call which does DNS name resolution. This bug causes host
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
629 @echo + names to be canonicalized incorrectly, as well as doing an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
630 @echo + unnecessary and performance-sapping reverse DNS call. This
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
631 @echo + problem does not affect the IPv4 gethostbyname call.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
632 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
633 @echo + getaddrinfo works properly on Mac OS X and Windows. However,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
634 @echo + the problem has been observed on some Linux systems.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
635 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
636 @echo + If you answer n to the following question the build will be
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
637 @echo + cancelled and you must rebuild. If you did not specify IPv6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
638 @echo + yourself, try adding IP6=4 to the make command line.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
639 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
640 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
641 @echo Do you want to build with IPv6 anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
642 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make noip6;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
643 @echo OK, I will remember that you really want to build with IPv6.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
644 @echo You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
645 @$(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
646
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
647 noip6:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
648 $(MAKE) clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
649 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
650 @echo + At your request, this build with IPv6 has been CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
651 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
652 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
653 @echo + If you wish to rebuild without IPv6 support, do one of the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
654 @echo + following:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
655 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
656 @echo + 1. If you specified IP=6 on the make command line, omit it.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
657 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
658 @echo + 2. Some of the Linux builds automatically select IPv6. If
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
659 @echo + you choose one of those builds, add IP6=4 to the make command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
660 @echo + line. Note that this is IP6=4, not IP=4.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
661 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
662
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
663 # C compiler types
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
664
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
665 an ua:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
666 @$(MAKE) ssl$(SSLTYPE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
667 @echo Applying $@ process to sources...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
668 $(TOOLS)/$@ "$(LN)" src/c-client c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
669 $(TOOLS)/$@ "$(LN)" src/ansilib c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
670 $(TOOLS)/$@ "$(LN)" src/charset c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
671 $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
672 $(TOOLS)/$@ "$(LN)" src/mtest mtest
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
673 $(TOOLS)/$@ "$(LN)" src/ipopd ipopd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
674 $(TOOLS)/$@ "$(LN)" src/imapd imapd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
675 $(TOOLS)/$@ "$(LN)" src/mailutil mailutil
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
676 $(TOOLS)/$@ "$(LN)" src/mlock mlock
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
677 $(TOOLS)/$@ "$(LN)" src/dmail dmail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
678 $(TOOLS)/$@ "$(LN)" src/tmail tmail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
679 $(LN) $(TOOLS)/$@ .
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
680
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
681 build: OSTYPE rebuild rebuildclean bundled
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
682
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
683 OSTYPE:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
684 @$(MAKE) ip$(IP)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
685 @echo Building c-client for $(BUILDTYPE)...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
686 @$(TOUCH) SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
687 echo `$(CAT) SPECIALS` $(EXTRASPECIALS) > c-client/SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
688 $(CD) c-client;$(MAKE) $(BUILDTYPE) EXTRACFLAGS='$(EXTRACFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
689 EXTRALDFLAGS='$(EXTRALDFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
690 EXTRADRIVERS='$(EXTRADRIVERS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
691 EXTRAAUTHENTICATORS='$(EXTRAAUTHENTICATORS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
692 PASSWDTYPE=$(PASSWDTYPE) SSLTYPE=$(SSLTYPE) IP=$(IP)\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
693 $(SPECIALS) $(EXTRASPECIALS)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
694 echo $(BUILDTYPE) > OSTYPE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
695 $(TOUCH) rebuild
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
696
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
697 rebuild:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
698 @$(SH) -c '(test $(BUILDTYPE) = rebuild -o $(BUILDTYPE) = `$(CAT) OSTYPE`) || (echo Already built for `$(CAT) OSTYPE` -- you must do \"make clean\" first && exit 1)'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
699 @echo Rebuilding c-client for `$(CAT) OSTYPE`...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
700 @$(TOUCH) SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
701 $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
702 CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
703
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
704 rebuildclean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
705 $(SH) -c '$(RM) rebuild || true'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
706
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
707 bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
708 @echo Building bundled tools...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
709 $(CD) mtest;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
710 $(CD) ipopd;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
711 $(CD) imapd;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
712 $(CD) mailutil;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
713 @$(SH) -c '(test -f /usr/include/sysexits.h ) || make sysexitwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
714 $(CD) mlock;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
715 $(CD) dmail;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
716 $(CD) tmail;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
717
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
718
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
719 sysexitwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
720 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
721 @echo + Hmm...it does not look like /usr/include/sysexits.h exists.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
722 @echo + Either your system is too ancient to have the sysexits.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
723 @echo + include, or your C compiler gets it from some other location
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
724 @echo + than /usr/include. If your system is too old to have the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
725 @echo + sysexits.h include, you will not be able to build the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
726 @echo + following programs.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
727 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
728
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
729 clean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
730 @echo Removing old processed sources and binaries...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
731 $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
732 $(CD) tools;$(MAKE) clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
733
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
734
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
735 # A monument to a hack of long ago and far away...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
736 love:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
737 @echo not war?

yatex.org