annotate Makefile @ 15:d012b9a282d9 draft default tip

READMEs changed
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 07 May 2023 13:13:36 +0900
parents 20c025a380ab
children
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
13
20c025a380ab 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
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
256 # EXTRACFLAGS=-DQMAIL -DRESTRICT_POP -DXADDR_DELIM="+" -DDOTQMAIL=".forward"
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
257 ## EXTRACFLAGS=-DQMAIL -DRESTRICT_POP
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
258 EXTRACFLAGS=-DQMAIL -DRESTRICT_POP -DINET6
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
259
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
260
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
261 # Extra linker flags (additional/alternative libraries, etc.)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
262
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
263 EXTRALDFLAGS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
264
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
265
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
266 # Special make flags (e.g. to override make environment variables)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
267
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
268 EXTRASPECIALS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
269 SPECIALS=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
270
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
271
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
272 # Normal commands
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
273
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
274 CAT=cat
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
275 CD=cd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
276 LN=ln -s
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
277 MAKE=make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
278 MKDIR=mkdir
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
279 BUILDTYPE=rebuild
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
280 RM=rm -rf
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
281 SH=sh
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
282 SYSTEM=unix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
283 TOOLS=tools
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
284 TOUCH=touch
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
285
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
286
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
287 # Primary build command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
288
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
289 BUILD=$(MAKE) build EXTRACFLAGS='$(EXTRACFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
290 EXTRALDFLAGS='$(EXTRALDFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
291 EXTRADRIVERS='$(EXTRADRIVERS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
292 EXTRAAUTHENTICATORS='$(EXTRAAUTHENTICATORS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
293 PASSWDTYPE=$(PASSWDTYPE) SSLTYPE=$(SSLTYPE) IP=$(IP)\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
294 EXTRASPECIALS='$(EXTRASPECIALS)'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
295
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
296
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
297 # Make the IMAP Toolkit
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
298
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
299 all: c-client SPECIALS rebuild bundled
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
300
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
301 c-client:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
302 @echo Not processed yet. In a first-time build, you must specify
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
303 @echo the system type so that the sources are properly processed.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
304 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
305
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
306
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
307 SPECIALS:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
308 echo $(SPECIALS) > SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
309
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
310 # Note on SCO you may have to set LN to "ln".
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
311
13
20c025a380ab imap-2007f
HIROSE Yuuji <yuuji@gentei.org>
parents: 1
diff changeset
312 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
313 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
314
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
315 # 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
316 # If so, you probably will want to delete the "-Dconst=" from the sv4 CFLAGS in
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
317 # the c-client Makefile.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
318
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
319 aos art asv aux bsd cvx dpx dyn isc pyr sv4 ult vul vu2: ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
320 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
321
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
322
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
323 # Knotheads moved Kerberos and SSL locations on these platforms
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
324
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
325 # Paul Vixie claims that all FreeBSD versions have working IPv6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
326
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
327 bsf: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
328 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
329 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
330 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
331 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
332
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
333 # I assume that Theo did the right thing for IPv6. OpenBSD does not have PAM.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
334
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
335 bso: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
336 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
337 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
338 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
339
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
340 # 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
341
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
342 neb: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
343 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
344 $(BUILD) BUILDTYPE=$@ IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
345 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
346 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
347
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
348 cyg: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
349 $(BUILD) BUILDTYPE=cyg \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
350 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
351
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
352 gcs: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
353 $(BUILD) BUILDTYPE=gso \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
354 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
355
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
356 ldb: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
357 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
358 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
359
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
360 lfd: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
361 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
362 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
363
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
364 ln8: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
365 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
366 $(BUILD) BUILDTYPE=slx IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
367 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
368
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
369
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
370 # RHE5 does not have the IPv6 bug
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
371
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
372 lr5: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
373 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
374 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
375 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
376
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
377 lmd: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
378 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
379 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
380
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
381 # RHE3 definitely has the IPv6 bug
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
382
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
383 lrh: lrhok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
384 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
385 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
386
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
387 lrhok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
388 @$(SH) -c '(test ! -d /etc/pki/tls ) || make lrhwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
389 @$(TOUCH) lrhok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
390
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
391 lrhwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
392 @echo You are building for OLD versions of RedHat Linux. This build
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
393 @echo is NOT suitable for RedHat Enterprise 5, which stores SSL/TLS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
394 @echo certificates and keys in /etc/pki/tls rather than /usr/share/ssl.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
395 @echo If you want to build for modern RedHat Linux, you should use
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
396 @echo make lr5 instead.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
397 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
398 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
399 @echo OK, I will remember that you really want to build for old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
400 @echo RedHat Linux. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
401 @echo If you realize that you really wanted to build for modern
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
402 @echo RedHat Linux, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
403 @echo % rm lrhok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
404 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
405 @echo % make lr5
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
406
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
407 lsu: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
408 $(BUILD) BUILDTYPE=lnp IP=$(IP6) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
409 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
410
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
411 # iToy does not have Kerberos or PAM. It doesn't have a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
412 # /System/Library/OpenSSL directory either, but the libcrypto shared library
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
413 # has these locations so this is what we will use.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
414
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
415 osi: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
416 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
417 $(BUILD) BUILDTYPE=osx IP=$(IP6) CC=arm-apple-darwin-gcc \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
418 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
419
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
420 oxp: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
421 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
422 $(BUILD) BUILDTYPE=osx IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
423 PASSWDTYPE=pam \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
424 EXTRACFLAGS="$(EXTRACFLAGS) -DMAC_OSX_KLUDGE=1" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
425 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
426
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
427 osx: osxok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
428 $(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
429 $(BUILD) BUILDTYPE=$@ IP=$(IP6) EXTRAAUTHENTICATORS="$(EXTRAAUTHENTICATORS) gss" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
430 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
431
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
432 osxok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
433 @$(SH) -c '(test ! -f /usr/include/pam/pam_appl.h ) || make osxwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
434 @$(TOUCH) osxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
435
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
436 osxwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
437 @echo You are building for OLD versions of Mac OS X. This build is
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
438 @echo NOT suitable for modern versions of Mac OS X, such as Tiger,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
439 @echo which use PAM-based authentication. If you want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
440 @echo modern Mac OS X, you should use make oxp instead.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
441 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
442 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
443 @echo OK, I will remember that you really want to build for old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
444 @echo Mac OS X. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
445 @echo If you realize that you really wanted to build for modern
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
446 @echo Mac OS X, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
447 @echo % rm osxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
448 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
449 @echo % make oxp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
450
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
451
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
452 # Linux shadow password support doesn't build on traditional systems, but most
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
453 # Linux systems are shadow these days.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
454
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
455 lnx: lnxnul an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
456 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
457
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
458 lnxnul:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
459 @$(SH) -c '(test $(PASSWDTYPE) = nul) || make lnxok'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
460
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
461 lnxok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
462 @echo You are building for traditional Linux. Most modern Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
463 @echo systems require that you build using make slx.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
464 @echo Do you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
465 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
466 @echo OK, I will remember that you really want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
467 @echo traditional Linux. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
468 @echo If you discover that you can not log in to the POP and IMAP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
469 @echo servers, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
470 @echo % rm lnxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
471 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
472 @echo % make slx
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
473 @echo If slx does not work, try sl4 or sl5. Be sure to do a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
474 @echo make clean between each try!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
475 @$(TOUCH) lnxok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
476
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
477
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
478 # SUN-OS C compiler makes you load libdl by hand...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
479
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
480 ssn sun: sunok suntools ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
481 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
482
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
483 suntools:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
484 $(CD) tools;$(MAKE) LDFLAGS=-ldl
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
485
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
486 gsu: sunok an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
487 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
488
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
489 s40: sunok ua
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
490 $(BUILD) BUILDTYPE=$@
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
491
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
492 sunok:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
493 @echo You are building for the old BSD-based SUN-OS. This is NOT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
494 @echo the modern SVR4-based Solaris. If you want to build for
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
495 @echo Solaris, you should use make gso or make sol or make soc. Do
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
496 @echo you want to continue this build? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
497 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) exit 1;; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
498 @echo OK, I will remember that you really want to build for the old
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
499 @echo BSD-based SUN-OS. You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
500 @echo If the build fails and you realize that you really wanted to
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
501 @echo build for Solaris, then do the following commands:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
502 @echo % rm sunok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
503 @echo % make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
504 @echo % make gso
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
505 @echo If gso does not work, try sol. Be sure to do a make clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
506 @echo between each try!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
507 @$(TOUCH) sunok
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
508
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
509
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
510 # SVR2 doesn't have symbolic links (at least my SVR2 system doesn't)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
511
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
512 sv2:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
513 $(MAKE) ua LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
514 $(BUILD) BUILDTYPE=$@ LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
515
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
516 # 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
517 # SSL includes. However, IPv6 works.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
518
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
519 sua:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
520 $(TOUCH) ip6 sslnone
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
521 $(MAKE) an LN=cp SSLTYPE=none
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
522 $(BUILD) BUILDTYPE=$@ LN=cp IP=$(IP6) SSLTYPE=none
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
523
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
524
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
525 # Pine port names, not distinguished in c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
526
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
527 bs2: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
528 $(BUILD) BUILDTYPE=bsi
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
529
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
530 pt1: an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
531 $(BUILD) BUILDTYPE=ptx
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
532
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
533
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
534 # Compatibility
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
535
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
536 hxd:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
537 $(BUILD) BUILDTYPE=hpx PASSWDTYPE=dce
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
538
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
539 # Amiga
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
540
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
541 ami am2 ama amn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
542 $(MAKE) an LN=cp SYSTEM=amiga
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
543 $(BUILD) BUILDTYPE=$@ LN=cp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
544
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
545
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
546 # Courtesy entries for Microsoft systems
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
547
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
548 nt:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
549 nmake /nologo /f makefile.nt
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
550
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
551 ntk:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
552 nmake /nologo /f makefile.ntk
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
553
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
554 w2k:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
555 nmake /nologo /f makefile.w2k
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
556
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
557 wce:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
558 nmake /nologo /f makefile.wce
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
559
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
560
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
561 # SSL build choices
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
562
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
563 sslnopwd sslunix.nopwd sslsco.nopwd:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
564 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
565 @echo + Building in full compliance with RFC 3501 security
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
566 @echo + requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
567 @echo ++ TLS/SSL encryption is supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
568 @echo ++ Unencrypted plaintext passwords are prohibited
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
569 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
570
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
571 sslunix sslsco:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
572 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
573 @echo + Building in PARTIAL compliance with RFC 3501 security
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
574 @echo + requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
575 @echo + Compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
576 @echo ++ TLS/SSL encryption is supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
577 @echo + Non-compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
578 @echo ++ Unencrypted plaintext passwords are permitted
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
579 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
580 @echo + In order to rectify this problem, you MUST build with:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
581 @echo ++ SSLTYPE=$(SSLTYPE).nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
582 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
583 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
584 @echo Do you want to continue this build anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
585 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make nounenc;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
586
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
587 nounenc:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
588 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
589 @echo + At your request, this build with unencrypted authentication has
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
590 @echo + been CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
591 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
592 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
593
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
594
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
595 sslnone:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
596 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
597 @echo + Building in NON-COMPLIANCE with RFC 3501 security requirements:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
598 @echo + Non-compliant:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
599 @echo ++ TLS/SSL encryption is NOT supported
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
600 @echo ++ Unencrypted plaintext passwords are permitted
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
601 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
602 @echo + In order to rectify this problem, you MUST build with:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
603 @echo ++ SSLTYPE=nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
604 @echo + You must also have OpenSSL or equivalent installed.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
605 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
606 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
607 @echo Do you want to continue this build anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
608 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make nonossl;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
609
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
610 nonossl:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
611 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
612 @echo + At your request, this build with no TLS/SSL support has been
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
613 @echo + CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
614 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
615 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
616
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
617
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
618 # IP build choices
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
619
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
620 ip4:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
621 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
622 @echo + Building with IPv4 support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
623 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
624
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
625 ip6:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
626 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
627 @echo + Building with IPv6 support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
628 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
629 @echo + NOTE: Some versions of glibc have a bug in the getaddrinfo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
630 @echo + call which does DNS name resolution. This bug causes host
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
631 @echo + names to be canonicalized incorrectly, as well as doing an
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
632 @echo + unnecessary and performance-sapping reverse DNS call. This
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
633 @echo + problem does not affect the IPv4 gethostbyname call.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
634 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
635 @echo + getaddrinfo works properly on Mac OS X and Windows. However,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
636 @echo + the problem has been observed on some Linux systems.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
637 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
638 @echo + If you answer n to the following question the build will be
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
639 @echo + cancelled and you must rebuild. If you did not specify IPv6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
640 @echo + yourself, try adding IP6=4 to the make command line.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
641 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
642 @echo
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
643 @echo Do you want to build with IPv6 anyway? Type y or n please:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
644 @$(SH) -c 'read x; case "$$x" in y) exit 0;; *) (make noip6;exit 1);; esac'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
645 @echo OK, I will remember that you really want to build with IPv6.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
646 @echo You will not see this message again.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
647 @$(TOUCH) ip6
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
648
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
649 noip6:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
650 $(MAKE) clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
651 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
652 @echo + At your request, this build with IPv6 has been CANCELLED.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
653 @echo + You must start over with a new make command.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
654 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
655 @echo + If you wish to rebuild without IPv6 support, do one of the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
656 @echo + following:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
657 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
658 @echo + 1. If you specified IP=6 on the make command line, omit it.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
659 @echo +
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
660 @echo + 2. Some of the Linux builds automatically select IPv6. If
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
661 @echo + you choose one of those builds, add IP6=4 to the make command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
662 @echo + line. Note that this is IP6=4, not IP=4.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
663 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
664
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
665 # C compiler types
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
666
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
667 an ua:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
668 @$(MAKE) ssl$(SSLTYPE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
669 @echo Applying $@ process to sources...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
670 $(TOOLS)/$@ "$(LN)" src/c-client c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
671 $(TOOLS)/$@ "$(LN)" src/ansilib c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
672 $(TOOLS)/$@ "$(LN)" src/charset c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
673 $(TOOLS)/$@ "$(LN)" src/osdep/$(SYSTEM) c-client
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
674 $(TOOLS)/$@ "$(LN)" src/mtest mtest
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
675 $(TOOLS)/$@ "$(LN)" src/ipopd ipopd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
676 $(TOOLS)/$@ "$(LN)" src/imapd imapd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
677 $(TOOLS)/$@ "$(LN)" src/mailutil mailutil
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
678 $(TOOLS)/$@ "$(LN)" src/mlock mlock
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
679 $(TOOLS)/$@ "$(LN)" src/dmail dmail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
680 $(TOOLS)/$@ "$(LN)" src/tmail tmail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
681 $(LN) $(TOOLS)/$@ .
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
682
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
683 build: OSTYPE rebuild rebuildclean bundled
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
684
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
685 OSTYPE:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
686 @$(MAKE) ip$(IP)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
687 @echo Building c-client for $(BUILDTYPE)...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
688 @$(TOUCH) SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
689 echo `$(CAT) SPECIALS` $(EXTRASPECIALS) > c-client/SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
690 $(CD) c-client;$(MAKE) $(BUILDTYPE) EXTRACFLAGS='$(EXTRACFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
691 EXTRALDFLAGS='$(EXTRALDFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
692 EXTRADRIVERS='$(EXTRADRIVERS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
693 EXTRAAUTHENTICATORS='$(EXTRAAUTHENTICATORS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
694 PASSWDTYPE=$(PASSWDTYPE) SSLTYPE=$(SSLTYPE) IP=$(IP)\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
695 $(SPECIALS) $(EXTRASPECIALS)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
696 echo $(BUILDTYPE) > OSTYPE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
697 $(TOUCH) rebuild
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
698
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
699 rebuild:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
700 @$(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
701 @echo Rebuilding c-client for `$(CAT) OSTYPE`...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
702 @$(TOUCH) SPECIALS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
703 $(CD) c-client;$(MAKE) all CC=`$(CAT) CCTYPE` \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
704 CFLAGS="`$(CAT) CFLAGS`" `$(CAT) SPECIALS`
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
705
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
706 rebuildclean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
707 $(SH) -c '$(RM) rebuild || true'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
708
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
709 bundled:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
710 @echo Building bundled tools...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
711 $(CD) mtest;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
712 $(CD) ipopd;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
713 $(CD) imapd;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
714 $(CD) mailutil;$(MAKE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
715 @$(SH) -c '(test -f /usr/include/sysexits.h ) || make sysexitwarn'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
716 $(CD) mlock;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
717 $(CD) dmail;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
718 $(CD) tmail;$(MAKE) || true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
719
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
720
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
721 sysexitwarn:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
722 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
723 @echo + Hmm...it does not look like /usr/include/sysexits.h exists.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
724 @echo + Either your system is too ancient to have the sysexits.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
725 @echo + include, or your C compiler gets it from some other location
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
726 @echo + than /usr/include. If your system is too old to have the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
727 @echo + sysexits.h include, you will not be able to build the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
728 @echo + following programs.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
729 @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
730
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
731 clean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
732 @echo Removing old processed sources and binaries...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
733 $(SH) -c '$(RM) an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true'
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
734 $(SH) -c '$(RM) ip6 || true'
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
735 $(CD) tools;$(MAKE) clean
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
736
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
737
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
738 # A monument to a hack of long ago and far away...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
739 love:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
740 @echo not war?

yatex.org