annotate src/osdep/unix/Makefile @ 1:28a55bc1110c imapext-2007-1

[mq]: imapext
author yuuji@gentei.org
date Mon, 14 Sep 2009 19:23:11 +0900
parents ada5e610ab86
children 2366b362676d 20c025a380ab
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-2007 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: C client 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 # Networks and Distributed Computing
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
17 # Computing & Communications
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
18 # University of Washington
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
19 # Administration Building, AG-44
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
20 # Seattle, WA 98195
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
21 # Internet: MRC@CAC.Washington.EDU
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
22 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
23 # Date: 11 May 1989
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
24 # Last Edited: 17 December 2007
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
25
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
26
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
27 # Command line build parameters
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
28
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
29 EXTRAAUTHENTICATORS=
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
30 EXTRADRIVERS=maildir mbox
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
31 PASSWDTYPE=std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
32 SSLTYPE=nopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
33 IP=4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
34
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
35
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
36 # The optimization level here for GCC ports is set here for a reason. It's
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
37 # to get you to read this text.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
38 # The general concensus seems to be that -O2 is the one to use.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
39 # Over the years, I've been told to use many different settings, including -O6.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
40 # In recent versions of GCC [as of 2/2005], -O6 generates bad code that, among
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
41 # other ill effects, causes infinite loops.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
42 # -O3 seems to be safe, but empirical observation from our local expert
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
43 # indicates that in some (many?) cases -O3 code runs slower than -O2.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
44
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
45 GCCOPTLEVEL= -O2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
46
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
47
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
48 # Try to have some consistency in GCC builds. We want optimization, but we
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
49 # also want to be able to debug.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
50
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
51 GCCCFLAGS= -g $(GCCOPTLEVEL) -pipe -fno-omit-frame-pointer
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
52 GCC4CFLAGS= $(GCCCFLAGS) -Wno-pointer-sign
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
53
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
54
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
55 # Extended flags needed for SSL. You may need to modify.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
56
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
57 SSLDIR=/usr/local/ssl
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
58 SSLCERTS=$(SSLDIR)/certs
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
59 SSLKEYS=$(SSLCERTS)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
60 SSLINCLUDE=$(SSLDIR)/include
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
61 SSLLIB=$(SSLDIR)/lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
62
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
63 SSLCRYPTO=-lcrypto
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
64
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
65 # Older versions of MIT Kerberos also have a libcrypto. If so, you may need
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
66 # to use this instead
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
67 #SSLCRYPTO=$(SSLLIB)/libcrypto.a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
68
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
69 # RSA Security Inc. released the RSA public key encryption algorithm into
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
70 # the public domain on September 6, 2000. There is no longer any need to
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
71 # use RSAREF.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
72 SSLRSA= # -lRSAglue -lrsaref
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
73
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
74 SSLCFLAGS= -I$(SSLINCLUDE) -I$(SSLINCLUDE)/openssl\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
75 -DSSL_CERT_DIRECTORY=\"$(SSLCERTS)\" -DSSL_KEY_DIRECTORY=\"$(SSLKEYS)\"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
76 SSLLDFLAGS= -L$(SSLLIB) -lssl $(SSLCRYPTO) $(SSLRSA)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
77
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
78
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
79 # Extended flags needed for non-standard passwd types. You may need to modify.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
80
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
81 AFSDIR=/usr/afsws
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
82 AFSCFLAGS=-I$(AFSDIR)/include
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
83 AFSLIB=$(AFSDIR)/lib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
84 AFSLDFLAGS=-L$(AFSLIB)/afs -L$(AFSLIB) -L$(AFSDIR)/domestic/lib\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
85 -lkauth -lprot -lubik -lauth -lrxkad -lrx -llwp -ldes -lcom_err\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
86 $(AFSLIB)/afs/util.a -laudit -lsys
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
87 # AFSLDFLAGS may also need -L/usr/ucblib -lucb
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
88 DCECFLAGS= -DDCE_MINIMAL -DPASSWD_OVERRIDE=\"/opt/pop3/passwd/passwd\"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
89 DCELDFLAGS= -ldce
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
90 PAMLDFLAGS= -lpam -ldl
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
91
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
92
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
93 # Build parameters normally set by the individual port
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
94
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
95 CHECKPW=std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
96 LOGINPW=std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
97 SIGTYPE=bsd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
98 CRXTYPE=std
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
99 ACTIVEFILE=/usr/lib/news/active
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
100 SPOOLDIR=/usr/spool
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
101 MAILSPOOL=$(SPOOLDIR)/mail
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
102 NEWSSPOOL=$(SPOOLDIR)/news
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
103 RSHPATH=/usr/ucb/rsh
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
104 MD5PWD=/etc/cram-md5.pwd
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
105 MD5CFLAGS= -DAPOPOPEN=\"/usr/local/sbin/deapop\" -DUSERAPOPFILE=\".apop\" -DPOPBEFORESMTP -DPOP3RECORDER=\"/usr/local/etc/pop3-record\"
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
106 # Tries one of the test alternatives below if not specified.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
107 LOCKPGM=
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
108 # Test alternatives if LOCKPGM not specified
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
109 LOCKPGM1=/usr/libexec/mlock
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
110 LOCKPGM2=/usr/sbin/mlock
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
111 LOCKPGM3=/etc/mlock
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
112
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
113
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
114 # Default formats for creating new mailboxes and for empty mailboxes in the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
115 # default namespace; must be set to the associated driver's prototype.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
116 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
117 # The CREATEPROTO is the default format for new mailbox creation.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
118 # The EMPTYPROTO is the default format for handling zero-byte files.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
119 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
120 # Normally, this is set by the individual port.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
121 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
122 # NOTE: namespace formats (e.g. mh and news) can not be set as a default format
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
123 # since they do not exist in the default namespace. Also, it is meaningless to
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
124 # set certain other formats (e.g. mbx, mx, and mix) as the EMPTYPROTO since
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
125 # these formats can never be empty files.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
126
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
127 CREATEPROTO=unixproto
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
128 EMPTYPROTO=unixproto
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 # Commands possibly overriden by the individual port
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
132
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
133 ARRC=ar rc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
134 CC=cc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
135 LN=ln -s
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
136 RANLIB=ranlib
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
137
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
138
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
139 # Standard distribution build parameters
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
140
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
141 DEFAULTAUTHENTICATORS=ext md5 pla log
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
142 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
143 # mh needs to be after any other directory format drivers (such as mx or mix)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
144 # since otherwise mh will seize any directory that is under the mh path.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
145 # However, mh needs to be before any sysinbox formats (such as mmdf or unix)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
146 # since otherwise INBOX won't work correctly when mh_allow_inbox is set.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
147 #
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
148 DEFAULTDRIVERS=maildir imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
149 CHUNKSIZE=65536
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
150
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
151 # Normally no need to change any of these
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
152 EXTRACFLAGS=-DQMAIL
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
153 # Next variable controls default maildir when user has no ~/.qmail
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
154 #MAILDIRCFLAGS=-DDEFAULTMAILDIR="maildir" -DQMAILCONTROL="/var/qmail/control"
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
155 MAILDIRCFLAGS=-DQMAILCONTROL="/var/qmail/control"
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
156
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
157 ARCHIVE=c-client.a
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
158 BINARIES=osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
159 dummy.o pseudo.o netmsg.o flstring.o fdstring.o \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
160 rfc822.o nntp.o smtp.o imap4r1.o pop3.o \
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
161 unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o maildir.o
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
162 CFLAGS=-g $(EXTRACFLAGS)
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
163
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
164 CAT=cat
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
165 MAKE=make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
166 MV=mv
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
167 RM=rm -rf
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
168 SH=sh
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
169
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
170
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
171 # Primary build command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
172
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
173 BUILD=$(MAKE) build EXTRACFLAGS='$(EXTRACFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
174 EXTRALDFLAGS='$(EXTRALDFLAGS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
175 EXTRADRIVERS='$(EXTRADRIVERS)' EXTRAAUTHENTICATORS='$(EXTRAAUTHENTICATORS)'\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
176 PASSWDTYPE=$(PASSWDTYPE) SSLTYPE=$(SSLTYPE) IP=$(IP)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
177
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
178
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
179 # Here if no make argument established
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
180
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
181 missing: osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
182 $(MAKE) all `$(CAT) SPECIALS`
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
183
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
184 osdep.h:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
185 @echo You must specify what type of system
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
186 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
187
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
188
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
189 # Current ports
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
190
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
191 a32: # AIX 3.2 for RS/6000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
192 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
193 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
194 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
195 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
196 BASECFLAGS="-g -Dunix=1 -D_BSD" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
197 BASELDFLAGS="-lbsd"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
198
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
199 a41: # AIX 4.1 for RS/6000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
200 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
201 SIGTYPE=psx CHECKPW=a41 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
202 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
203 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
204 BASECFLAGS="-g -Dunix=1 -D_BSD -qro -qroconst" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
205 BASELDFLAGS="-ls"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
206
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
207 aix: # AIX/370
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
208 @echo You are building for AIX on an S/370 class machine
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
209 @echo If you want AIX on an RS/6000 you need to use a32 or a41 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
210 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
211 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
212 BASECFLAGS="-g" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
213 BASELDFLAGS="-lbsd"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
214
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
215 aos: # AOS for RT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
216 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
217 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
218 BASECFLAGS="-g -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
219
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
220 art: # AIX 2.2.1 for RT
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
221 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
222 SIGTYPE=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
223 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
224 ACTIVEFILE=/usr/local/news/control/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
225 RSHPATH=/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
226 BASECFLAGS="-g -Dconst= -Dvoid=char" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
227 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
228
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
229 asv: # Altos SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
230 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
231 SIGTYPE=sv4 LOGINPW=old \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
232 ACTIVEFILE=/usr/spool/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
233 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
234 BASECFLAGS="-Dconst= -DSIGSTOP=SIGKILL" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
235 BASELDFLAGS="-lsocket -lrpc -lgen -lcrypt -lxenix" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
236 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
237
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
238 aux: # A/UX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
239 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
240 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
241 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
242 BASECFLAGS="-g -B/usr/lib/big/ -Dvoid=char -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
243 RANLIB=true ARRC="ar -rc"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
244
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
245 bs3: # BSD/i386 3.0 or higher
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
246 $(BUILD) `$(CAT) SPECIALS` OS=bsi \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
247 CHECKPW=bsi LOGINPW=bsi CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
248 SPOOLDIR=/var NEWSSPOOL=/var/news/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
249 ACTIVEFILE=/var/news/etc/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
250 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
251 BASECFLAGS="$(GCCCFLAGS)" CC=shlicc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
252
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
253 bsd: # BSD UNIX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
254 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
255 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
256 BASECFLAGS="-g -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
257
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
258 bsf: # FreeBSD
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
259 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
260 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
261 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
262 ACTIVEFILE=/usr/local/news/lib/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
263 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
264 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
265 BASELDFLAGS="-lcrypt"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
266
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
267 bsi: # BSD/i386
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
268 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
269 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
270 SPOOLDIR=/var NEWSSPOOL=/var/news/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
271 ACTIVEFILE=/var/news/etc/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
272 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
273 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
274
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
275 bso: # OpenBSD
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
276 $(BUILD) `$(CAT) SPECIALS` OS=bsi \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
277 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
278 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
279 ACTIVEFILE=/usr/local/news/lib/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
280 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
281 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
282
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
283 cvx: # Convex
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
284 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
285 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
286 BASECFLAGS="-O -ext -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
287
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
288 cyg: # Cygwin - note that most local file drivers don't work!!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
289 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
290 DEFAULTDRIVERS="imap nntp pop3 mbx unix phile" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
291 SIGTYPE=psx CHECKPW=cyg LOGINPW=cyg CRXTYPE=std \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
292 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
293 ACTIVEFILE=/usr/local/news/lib/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
294 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
295 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
296 BASELDFLAGS="-lcrypt" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
297 CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
298
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
299 d-g: # Data General DG/UX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
300 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
301 SIGTYPE=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
302 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
303 ACTIVEFILE=/local/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
304 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
305 BASECFLAGS="-g -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
306 BASELDFLAGS="-lnsl -lsocket" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
307 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
308
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
309 d54: # Data General DG/UX 5.4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
310 $(BUILD) `$(CAT) SPECIALS` OS=d-g \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
311 SIGTYPE=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
312 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
313 ACTIVEFILE=/local/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
314 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
315 BASECFLAGS="-g -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
316 BASELDFLAGS="-lnsl -lsocket" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
317 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
318
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
319 dpx: # Bull DPX/2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
320 $(BUILD) `$(CAT) SPECIALS` OS=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
321 SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
322 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
323 BASECFLAGS="-Dconst= -DSYSTEM5 -DSHORT_IDENT" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
324 BASELDFLAGS="-linet" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
325 RANLIB=true LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
326
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
327 drs: # ICL DRS/NX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
328 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
329 SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
330 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
331 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
332 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
333 BASECFLAGS="-O" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
334 BASELDFLAGS="-lsocket -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
335 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
336
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
337 do4: # Apollo Domain/OS sr10.4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
338 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
339 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
340 BASECFLAGS="-A systype,bsd4.3 -D_APOLLO_SOURCE" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
341 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
342
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
343 dyn: # Dynix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
344 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
345 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
346 BASECFLAGS="-g -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
347
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
348 epx: # EP/IX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
349 $(BUILD) `$(CAT) SPECIALS` OS=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
350 SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
351 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
352 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
353 RSHPATH=/usr/net/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
354 BASECFLAGS="-g -systype svr4" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
355 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
356 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
357
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
358 ga4: # GCC AIX 4.1 for RS/6000
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
359 $(BUILD) `$(CAT) SPECIALS` OS=a41 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
360 SIGTYPE=psx CHECKPW=a41 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
361 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
362 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
363 BASECFLAGS="-g -Dunix=1 -D_BSD" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
364 BASELDFLAGS="-ls"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
365
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
366 gas: # GCC Altos SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
367 $(BUILD) `$(CAT) SPECIALS` OS=asv \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
368 SIGTYPE=sv4 LOGINPW=old \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
369 ACTIVEFILE=/usr/spool/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
370 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
371 BASECFLAGS="-g -O -DALTOS_SYSTEM_V -DSIGSTOP=SIGKILL" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
372 BASELDFLAGS="-lsocket -lrpc -lgen -lcrypt -lxenix" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
373 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
374
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
375 gh9: # GCC HP-UX 9.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
376 $(BUILD) `$(CAT) SPECIALS` OS=hpp \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
377 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
378 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
379 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
380 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
381 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
382
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
383 ghp: # GCC HP-UX 10.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
384 $(BUILD) `$(CAT) SPECIALS` OS=hpp \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
385 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
386 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
387 ACTIVEFILE=/var/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
388 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
389 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
390 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
391
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
392 ghs: # GCC HP-UX with Trusted Computer Base
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
393 $(BUILD) `$(CAT) SPECIALS` OS=shp \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
394 SIGTYPE=psx CHECKPW=sec CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
395 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
396 ACTIVEFILE=/var/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
397 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
398 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
399 BASELDFLAGS="-lnet -lV3 -lsec" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
400 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
401
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
402 go5: # GCC 2.7.1 (95q4) SCO Open Server 5.0.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
403 $(BUILD) `$(CAT) SPECIALS` OS=sc5 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
404 SIGTYPE=psx CHECKPW=sec LOGINPW=sec \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
405 CREATEPROTO=mmdfproto EMPTYPROTO=mmdfproto \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
406 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
407 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
408 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
409 BASECFLAGS="$(GCCCFLAGS) -I/usr/include -L/lib" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
410 BASELDFLAGS="-lsocket -lprot -lx -ltinfo -lm" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
411 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
412
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
413 gsc: # Santa Cruz Operation
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
414 $(BUILD) `$(CAT) SPECIALS` OS=sco \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
415 SIGTYPE=sv4 CHECKPW=sec LOGINPW=sec \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
416 CREATEPROTO=mmdfproto EMPTYPROTO=mmdfproto \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
417 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
418 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
419 BASELDFLAGS="-lsocket -lprot -lcrypt_i -lx -los" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
420 RANLIB=true LN=ln CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
421
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
422 gsg: # GCC Silicon Graphics
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
423 $(BUILD) `$(CAT) SPECIALS` OS=sgi \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
424 SIGTYPE=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
425 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
426 RSHPATH=/usr/bsd/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
427 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
428 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
429
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
430 gso: os_sol.h # GCC Solaris
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
431 $(BUILD) `$(CAT) SPECIALS` OS=sol \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
432 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
433 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
434 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
435 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
436 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
437 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
438 RANLIB=true CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
439
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
440 gsu: # GCC SUN-OS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
441 $(BUILD) `$(CAT) SPECIALS` OS=sun \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
442 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
443 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
444 BASELDFLAGS="-ldl" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
445 CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
446
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
447 gul: # GCC Ultrix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
448 $(BUILD) `$(CAT) SPECIALS` OS=ult \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
449 SIGTYPE=psx CHECKPW=ult CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
450 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
451 BASELDFLAGS="-lauth -lc" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
452 CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
453
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
454 h11: # HP-UX 11i
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
455 $(BUILD) `$(CAT) SPECIALS` OS=hpp \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
456 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
457 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
458 ACTIVEFILE=/var/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
459 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
460 BASECFLAGS="-g -Ae" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
461 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
462
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
463 hpp: # HP-UX 9.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
464 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
465 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
466 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
467 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
468 BASECFLAGS="-g -Aa -D_HPUX_SOURCE" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
469 BASELDFLAGS="-lnet -lV3" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
470 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
471
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
472 hpx: # HP-UX 10.x
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
473 $(BUILD) `$(CAT) SPECIALS` OS=hpp \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
474 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
475 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
476 ACTIVEFILE=/var/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
477 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
478 BASECFLAGS="-g -Ae" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
479 BASELDFLAGS="-lnet -lV3" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
480 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
481
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
482 isc: # Interactive
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
483 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
484 SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
485 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
486 ACTIVEFILE=/var/spool/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
487 BASECFLAGS="-Xp -D_SYSV3" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
488 BASELDFLAGS="-linet -lnsl_s -lgen -lx -lsec -liberty" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
489 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
490
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
491 lnp: # Linux Pluggable Authentication modules
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
492 $(BUILD) `$(CAT) SPECIALS` OS=slx \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
493 SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
494 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
495 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
496 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
497 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
498 BASELDFLAGS="$(PAMLDFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
499
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
500 lnx: # Linux non-shadow passwords
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
501 @echo You are building for traditional Linux *without* shadow
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
502 @echo passwords and with the crypt function in the C library.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
503 @echo If your system has shadow passwords, or if crypt is not
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
504 @echo in the C library, you must use slx, sl4, or sl5 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
505 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
506 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
507 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
508 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
509 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
510 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
511
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
512 lyn: # LynxOS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
513 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
514 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
515 RSHPATH=/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
516 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
517 BASELDFLAGS=-lbsd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
518 CC=gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
519
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
520 mct: # MachTen - CRXTYPE=nfs doesn't work (at least not on 2.2)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
521 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
522 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
523 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
524
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
525 mnt: # Mint
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
526 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
527 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
528 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
529 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
530 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
531 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
532
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
533 neb: # NetBSD
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
534 $(BUILD) `$(CAT) SPECIALS` OS=bsi \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
535 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
536 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
537 ACTIVEFILE=/var/db/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
538 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
539 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
540 BASELDFLAGS="-lcrypt"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
541
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
542 nec: # NEC UX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
543 $(BUILD) `$(CAT) SPECIALS` OS=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
544 SIGTYPE=sv4 CHECKPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
545 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
546 ACTIVEFILE=/var/news/lib/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
547 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
548 BASECFLAGS="-g -Kopt=2 -KOlimit=2000" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
549 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
550 RANLIB=true CC=/usr/abiccs/bin/cc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
551
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
552 nto: # QNX Neutrino RTP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
553 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
554 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
555 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
556 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
557 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
558 BASECFLAGS="-g -O"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
559
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
560 nxt: # NEXTSTEP
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
561 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
562 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
563 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
564
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
565 nx3: # NEXTSTEP 3.0 single threaded
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
566 $(BUILD) `$(CAT) SPECIALS` OS=nxt \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
567 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
568 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
569 echo "void malloc_singlethreaded (void);" >> linkage.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
570 echo " malloc_singlethreaded ();" >> linkage.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
571
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
572 osf: # OSF/1
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
573 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
574 SIGTYPE=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
575 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
576 BASECFLAGS="-g3 -w -O2 -Olimit 1500"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
577
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
578 # Note: sia_become_user() used by LOGINPW=os4 doesn't seem to work right. The
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
579 # user doesn't get proper file access, and the process can't be killed.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
580
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
581 os4: # OSF/1 (Digital UNIX) 4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
582 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
583 SIGTYPE=psx CHECKPW=os4 LOGINPW=os4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
584 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
585 BASECFLAGS="-g3 -w -std0 -O2"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
586
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
587 osx: # Mac OS X
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
588 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
589 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
590 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
591 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
592 BASECFLAGS="$(GCC4CFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
593
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
594 ptx: # PTX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
595 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
596 SIGTYPE=psx CHECKPW=svo LOGINPW=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
597 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
598 RSHPATH=/usr/bin/resh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
599 BASECFLAGS="-Wc,-O3 -Wc,-seq -Dprivate=PRIVATE" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
600 BASELDFLAGS="-lseq -lsec -lsocket -linet -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
601 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
602
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
603 pyr: # Pyramid
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
604 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
605 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
606 BASECFLAGS="-g -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
607
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
608 qnx: # QNX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
609 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
610 CHECKPW=psx LOGINPW=old \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
611 RSHPATH=/usr/ucb/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
612 BASECFLAGS="-Otax -g -Dunix=1 -D_POSIX_SOURCE" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
613 BASELDFLAGS="-g -N128k -llogin -lsocket -lunix"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
614
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
615 s40: # SUN-OS 4.0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
616 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
617 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
618 BASECFLAGS="-g -Dconst="
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
619
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
620 sc5: # SCO Open Server 5.0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
621 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
622 SIGTYPE=psx CHECKPW=sec LOGINPW=sec \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
623 CREATEPROTO=mmdfproto EMPTYPROTO=mmdfproto \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
624 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
625 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
626 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
627 BASECFLAGS="-O3 -s -belf" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
628 BASELDFLAGS="-lsocket -lprot -lx -ltinfo -lm" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
629 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
630
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
631 sco: # Santa Cruz Operation
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
632 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
633 SIGTYPE=sv4 CHECKPW=sec LOGINPW=sec \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
634 CREATEPROTO=mmdfproto EMPTYPROTO=mmdfproto \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
635 RSHPATH=/usr/bin/rcmd \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
636 BASECFLAGS="-O3" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
637 BASELDFLAGS="-lsocket -lprot -lcrypt_i -lx -los" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
638 RANLIB=true LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
639
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
640 # Note: setting _POSIX_SOURCE doesn't seem to build it as of SGI IRIX 5.3
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
641
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
642 sgi: # Silicon Graphics
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
643 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
644 SIGTYPE=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
645 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
646 RSHPATH=/usr/bsd/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
647 BASECFLAGS="-g3 -O2 -Olimit 8192" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
648 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
649
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
650 sg6: # Silicon Graphics, IRIX 6.5
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
651 MAKEFLAGS= $(BUILD) `$(CAT) SPECIALS` OS=sgi \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
652 SIGTYPE=sv4 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
653 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
654 RSHPATH=/usr/bsd/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
655 BASECFLAGS="-g3 -O2 -OPT:Olimit=0 -woff 1110,1116" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
656 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
657
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
658 # Note: Mark Kaesling says that setluid() isn't in HP-UX with SecureWare.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
659
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
660 shp: # HP-UX with Trusted Computer Base
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
661 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
662 SIGTYPE=psx CHECKPW=sec CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
663 SPOOLDIR=/var \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
664 ACTIVEFILE=/var/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
665 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
666 BASECFLAGS="-g -Ae" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
667 BASELDFLAGS="-lnet -lV3 -lsec" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
668 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
669
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
670 slx: # Secure Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
671 @echo You are building for libc6/glibc versions of Secure Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
672 @echo If you want libc5 versions you must use sl5 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
673 @echo If you want libc4 versions you must use sl4 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
674 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
675 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
676 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
677 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
678 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
679 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
680 BASELDFLAGS="-lcrypt"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
681
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
682 sl4: # Secure Linux using libc4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
683 @echo You are building for libc4 versions of Secure Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
684 @echo If you want libc6/glibc versions you must use slx instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
685 @echo If you want libc5 versions you must use sl5 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
686 $(BUILD) `$(CAT) SPECIALS` OS=slx \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
687 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
688 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
689 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
690 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
691 BASECFLAGS="$(GCCCFLAGS)" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
692 BASELDFLAGS="-lshadow"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
693
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
694 sl5: # Secure Linux using libc5
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
695 @echo You are building for libc5 versions of Secure Linux
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
696 @echo If you want libc6/glibc versions you must use slx instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
697 @echo If you want libc4 versions you must use sl4 instead!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
698 $(BUILD) `$(CAT) SPECIALS` OS=slx \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
699 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
700 SPOOLDIR=/var/spool \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
701 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
702 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
703 BASECFLAGS="$(GCCCFLAGS)"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
704
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
705 snx: # Siemens Nixdorf SINIX and Reliant UNIX
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
706 $(BUILD) `$(CAT) SPECIALS` OS=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
707 SIGTYPE=psx CHECKPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
708 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
709 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
710 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
711 BASECFLAGS="-g -D_SYS_CLOCK_H -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
712 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
713 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
714
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
715 # Sorry about the -w, but the cretinous SUN Workshop Pro C compiler barfs on
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
716 # implicit casts between char and unsigned char.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
717
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
718 soc: os_sol.h # Solaris with cc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
719 $(BUILD) `$(CAT) SPECIALS` OS=sol \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
720 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
721 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
722 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
723 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
724 BASECFLAGS="-g -O -w" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
725 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
726 RANLIB=true CC=/opt/SUNWspro/bin/cc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
727
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
728
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
729 # Note: It is a long and disgusting story about why cc is set to ucbcc. You
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
730 # need to invoke the C compiler so that it links with the SVR4 libraries and
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
731 # not the BSD libraries, otherwise readdir() will return the wrong information.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
732 # Of all the names in the most common path, ucbcc is the only name to be found
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
733 # (on /usr/ccs/bin) that points to a suitable compiler. cc is likely to be
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
734 # /usr/ucb/cc which is absolutely not the compiler that you want. The real
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
735 # SVR4 cc is probably something like /opt/SUNWspro/bin/cc which is rarely in
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
736 # anyone's path.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
737 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
738 # ucbcc is probably a link to acc, e.g. /opt/SUNWspro/SC4.0/bin/acc, and is
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
739 # the UCB C compiler using the SVR4 libraries.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
740 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
741 # If ucbcc isn't on your system, then punt on the SUN C compiler and use gcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
742 # instead (the gso port instead of the sol port).
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
743 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
744 # If, in spite of all the above warnings, you choose to use the "soc" port
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
745 # instead of the "sol" port, be sure to check the behavior of the LIST command
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
746 # in imapd. Also, note that the "soc" port uses -O. If you want to use the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
747 # real SVR4 compiler, you must use -O. If it works to compile with -O2, then
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
748 # cc is probably using the UCB compiler with BSD libraries, and will not build
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
749 # a good binary
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
750 #
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
751 # To recap:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
752 # 1) The sol port is designed to be built using the UCB compiler using the
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
753 # SVR4 libraries. This compiler is "ucbcc", which is lunk to acc. You
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
754 # use -O2 as one of the CFLAGS.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
755 # 2) If you build the sol port with the UCB compiler using the BSD libraries,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
756 # you will get no error messages but you will get bad binaries (the most
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
757 # obvious symptom is dropping the first two characters return filenames
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
758 # from the imapd LIST command. This compiler also uses -O2, and is very
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
759 # often what the user gets from "cc". BEWARE!!!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
760 # 3) If you build the sol port with the real SVR4 compiler, which is often
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
761 # hidden away or unavailable on many systems, then you will get errors
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
762 # from -O2 and you need to change that to -O. But you will get a good
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
763 # binary. However, you should try it with -O2 first, to make sure that
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
764 # you got this compiler and not the UCB compiler using BSD libraries.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
765
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
766 sol: os_sol.h # Solaris
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
767 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
768 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
769 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
770 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
771 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
772 BASECFLAGS="-g -O2" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
773 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
774 RANLIB=true CC=ucbcc
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
775
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
776 sos: # Secure OSF/1
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
777 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
778 SIGTYPE=psx CHECKPW=sce LOGINPW=sec CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
779 BASECFLAGS="-g3 -w -O2 -Olimit 1500" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
780 BASELDFLAGS="-lsecurity -laud"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
781
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
782 ssn: # Secure SUN-OS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
783 $(BUILD) `$(CAT) SPECIALS` OS=sun \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
784 CHECKPW=ssn CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
785 BASECFLAGS="-g -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
786 BASELDFLAGS="-ldl"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
787
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
788 sua: # Windows Vista Subsystem for UNIX Applications
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
789 $(BUILD) `$(CAT) SPECIALS` OS=sua \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
790 SIGTYPE=psx CRXTYPE=nfs LOGINPW=old \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
791 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
792 ACTIVEFILE=/var/lib/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
793 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
794 BASECFLAGS="-g -O2" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
795 BASELDFLAGS="-lcrypt"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
796
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
797 sun: # SUN-OS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
798 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
799 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
800 BASECFLAGS="-g -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
801 BASELDFLAGS="-ldl"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
802
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
803 sv2: # SVR2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
804 @echo You are being *very* optimistic!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
805 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
806 SIGTYPE=sv4 LOGINPW=old \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
807 MAILSPOOL=/usr/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
808 RSHPATH=/usr/bin/remsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
809 BASECFLAGS="-Dconst= -DSYSTEM5 -DSHORT_IDENT -I/usr/ethernet/include" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
810 BASELDFLAGS="-lnet" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
811 RANLIB=true LN=ln
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
812
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
813 sv4: # SVR4
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
814 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
815 SIGTYPE=sv4 CHECKPW=sv4 LOGINPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
816 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
817 ACTIVEFILE=/usr/share/news/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
818 RSHPATH=/usr/bin/resh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
819 BASECFLAGS="-g -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
820 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
821 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
822
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
823 ult: # Ultrix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
824 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
825 SIGTYPE=psx CHECKPW=ult CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
826 BASECFLAGS="-g3 -O2 -Olimit 1500 -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
827 BASELDFLAGS="-lauth -lc"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
828
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
829 uw2: # UnixWare SVR4.2
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
830 $(BUILD) `$(CAT) SPECIALS` OS=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
831 SIGTYPE=sv4 CHECKPW=sv4 \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
832 SPOOLDIR=/var/spool MAILSPOOL=/var/mail \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
833 ACTIVEFILE=/var/news/lib/active \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
834 RSHPATH=/usr/bin/rsh \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
835 BASECFLAGS="-g" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
836 BASELDFLAGS="-lsocket -lnsl -lgen" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
837 RANLIB=true
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
838
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
839 vul: # VAX Ultrix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
840 $(BUILD) `$(CAT) SPECIALS` OS=ult \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
841 SIGTYPE=psx CHECKPW=ult CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
842 BASECFLAGS="-O2 -Dconst=" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
843 BASELDFLAGS="-lauth -lc"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
844
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
845 vu2: # VAX Ultrix 2.3, etc.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
846 $(BUILD) `$(CAT) SPECIALS` OS=$@ \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
847 CRXTYPE=nfs \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
848 BASECFLAGS="-O2 -Dconst= -Dvoid=char"
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
849
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
850
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
851 # Build it!
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
852
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
853 build: clean once $(ARCHIVE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
854
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
855 all: $(ARCHIVE)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
856
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
857 $(ARCHIVE): $(BINARIES)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
858 sh -c '$(RM) $(ARCHIVE) || true'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
859 @$(CAT) ARCHIVE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
860 @$(SH) ARCHIVE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
861
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
862 .c.o:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
863 `$(CAT) CCTYPE` -c `$(CAT) CFLAGS` $*.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
864
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
865
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
866 # Cleanup
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
867
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
868 clean:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
869 sh -c '$(RM) auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE $(ARCHIVE) || true'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
870
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
871
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
872 # Dependencies
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
873
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
874 dummy.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
875 fdstring.o: mail.h misc.h osdep.h fdstring.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
876 flstring.o: mail.h misc.h osdep.h flstring.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
877 imap4r1.o: mail.h misc.h osdep.h imap4r1.h rfc822.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
878 mail.o: mail.h misc.h osdep.h rfc822.h linkage.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
879 mbx.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
880 mh.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
881 mix.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
882 mx.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
883 misc.o: mail.h misc.h osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
884 mmdf.o: mail.h misc.h osdep.h pseudo.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
885 mtx.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
886 netmsg.o: mail.h misc.h osdep.h netmsg.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
887 news.o: mail.h misc.h osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
888 newsrc.o: mail.h misc.h osdep.h newsrc.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
889 nntp.o: mail.h misc.h osdep.h netmsg.h smtp.h nntp.h rfc822.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
890 phile.o: mail.h misc.h osdep.h rfc822.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
891 pseudo.o: pseudo.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
892 pop3.o: mail.h misc.h osdep.h rfc822.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
893 smanager.o: mail.h misc.h osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
894 smtp.o: mail.h misc.h osdep.h smtp.h rfc822.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
895 rfc822.o: mail.h misc.h osdep.h rfc822.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
896 tenex.o: mail.h misc.h osdep.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
897 unix.o: mail.h misc.h osdep.h unix.h pseudo.h dummy.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
898 utf8.o: mail.h misc.h osdep.h utf8.h tmap.c widths.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
899 utf8aux.o: mail.h misc.h osdep.h utf8.h
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
900 maildir.o: mail.h misc.h osdep.h maildir.h dummy.h
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
901
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
902
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
903 # OS-dependent
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
904
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
905 osdep.o:mail.h misc.h env.h fs.h ftl.h nl.h tcp.h \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
906 osdep.h env_unix.h tcp_unix.h \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
907 osdep.c env_unix.c fs_unix.c ftl_unix.c nl_unix.c tcp_unix.c ip_unix.c\
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
908 auths.c crexcl.c flockcyg.c flocklnx.c flocksim.c fsync.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
909 gethstid.c getspnam.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
910 gr_wait.c gr_wait4.c gr_waitp.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
911 kerb_mit.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
912 auth_ext.c auth_gss.c auth_log.c auth_md5.c auth_pla.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
913 pmatch.c scandir.c setpgrp.c strerror.c truncate.c write.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
914 memmove.c memmove2.c memset.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
915 tz_bsd.c tz_nul.c tz_sv4.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
916 write.c sslstdio.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
917 strerror.c strpbrk.c strstr.c strtok.c strtoul.c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
918 OSCFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
919 @echo Building OS-dependent module
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
920 @echo If you get No such file error messages for files x509.h, ssl.h,
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
921 @echo pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
922 @echo is not installed on your system. Either install OpenSSL first
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
923 @echo or build with command: make `$(CAT) OSTYPE` SSLTYPE=none
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
924 `$(CAT) CCTYPE` -c `$(CAT) CFLAGS` `$(CAT) OSCFLAGS` -c osdep.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
925
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
926 osdep.c: osdepbas.c osdepckp.c osdeplog.c osdepssl.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
927 $(CAT) osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
928
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
929 osdepbas.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
930 @echo osdepbas.c not found...try make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
931 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
932
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
933 osdepckp.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
934 @echo osdepckp.c not found...try make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
935 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
936
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
937 osdeplog.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
938 @echo osdeplog.c not found...try make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
939 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
940
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
941 osdepssl.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
942 @echo osdepssl.c not found...try make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
943 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
944
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
945 siglocal.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
946 @echo siglocal.c not found...try make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
947 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
948
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
949 crexcl.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
950 @echo crexcl.c not found...do make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
951 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
952
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
953 ip_unix.c:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
954 @echo ip_unix.c not found...do make clean and new make
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
955 @false
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
956
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
957 os_sol.h:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
958 sh -c 'if [ -f /lib/libc.a ]; then (strings /lib/libc.a | grep getpassphrase > /dev/null) && $(LN) os_soln.h os_sol.h || $(LN) os_solo.h os_sol.h ; else $(LN) os_soln.h os_sol.h ; fi'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
959
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
960
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
961 # Once-only environment setup
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
962
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
963 once: onceenv ckp$(PASSWDTYPE) ssl$(SSLTYPE) osdep.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
964
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
965 onceenv:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
966 @echo Once-only environment setup...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
967 echo $(CC) > CCTYPE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
968 echo $(BASECFLAGS) '$(EXTRACFLAGS)' -DCHUNKSIZE=$(CHUNKSIZE) > CFLAGS
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
969 echo '$(MAILDIRCFLAGS)' >> CFLAGS
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
970 echo -DCREATEPROTO=$(CREATEPROTO) -DEMPTYPROTO=$(EMPTYPROTO) \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
971 -DMD5ENABLE=\"$(MD5PWD)\" -DMAILSPOOL=\"$(MAILSPOOL)\" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
972 -DANONYMOUSHOME=\"$(MAILSPOOL)/anonymous\" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
973 -DACTIVEFILE=\"$(ACTIVEFILE)\" -DNEWSSPOOL=\"$(NEWSSPOOL)\" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
974 -DRSHPATH=\"$(RSHPATH)\" -DLOCKPGM=\"$(LOCKPGM)\" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
975 -DLOCKPGM1=\"$(LOCKPGM1)\" -DLOCKPGM2=\"$(LOCKPGM2)\" \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
976 -DLOCKPGM3=\"$(LOCKPGM3)\" > OSCFLAGS
1
28a55bc1110c [mq]: imapext
yuuji@gentei.org
parents: 0
diff changeset
977 echo $(MD5CFLAGS) >> OSCFLAGS
0
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
978 echo $(BASELDFLAGS) $(EXTRALDFLAGS) > LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
979 echo "$(ARRC) $(ARCHIVE) $(BINARIES);$(RANLIB) $(ARCHIVE)" > ARCHIVE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
980 echo $(OS) > OSTYPE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
981 ./drivers $(EXTRADRIVERS) $(DEFAULTDRIVERS) dummy
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
982 ./mkauths $(EXTRAAUTHENTICATORS) $(DEFAULTAUTHENTICATORS)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
983 echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
984 $(LN) os_$(OS).h osdep.h
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
985 $(LN) os_$(OS).c osdepbas.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
986 $(LN) log_$(LOGINPW).c osdeplog.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
987 $(LN) sig_$(SIGTYPE).c siglocal.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
988 $(LN) crx_$(CRXTYPE).c crexcl.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
989 $(LN) ip$(IP)_unix.c ip_unix.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
990 sh -c '(test $(OS) = sc5 -o $(OS) = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
991
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
992
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
993 # Password checkers
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
994
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
995 ckpafs: # AFS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
996 @echo AFS password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
997 echo $(AFSCFLAGS) >> OSCFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
998 # echo $(AFSLDFLAGS) >> LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
999 # Note: Steve Roseman says that AFS libraries have to be lunk before SSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1000 echo $(AFSLDFLAGS) `$(CAT) LDFLAGS` > LDFLAGS.tmp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1001 mv LDFLAGS.tmp LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1002 $(LN) ckp_afs.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1003
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1004 ckpdce: # DCE
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1005 @echo DCE password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1006 echo $(DCECFLAGS) >> OSCFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1007 echo $(DCELDFLAGS) >> LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1008 $(LN) ckp_dce.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1009
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1010 ckpgss: # Kerberos V (must have gss EXTRAAUTHENTICATOR as well)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1011 @echo Kerberos V password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1012 $(LN) ckp_gss.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1013
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1014 ckpnul: # NUL authenticator (disables all plaintext authentication)
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1015 @echo Plaintext authentication prohibited
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1016 echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 1);" >> linkage.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1017 $(LN) ckp_nul.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1018
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1019 ckppam: # Pluggable Authentication Modules authenticator
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1020 @echo PAM password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1021 echo $(PAMLDFLAGS) >> LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1022 $(LN) ckp_pam.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1023
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1024 ckppmb: # Broken (e.g. SUN) Pluggable Authentication Modules authenticator
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1025 @echo Broken PAM password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1026 echo $(PAMLDFLAGS) >> LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1027 $(LN) ckp_pmb.c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1028
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1029 ckpstd: # Port standard
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1030 @echo Standard password authentication
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1031 $(LN) ckp_$(CHECKPW).c osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1032
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1033 ckptwo: # Something plus standard
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1034 @echo $(CHECKPWALT) password authentication first, then standard
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1035 $(CAT) ckp_1st.c ckp_$(CHECKPWALT).c ckp_2nd.c ckp_$(CHECKPW).c \
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1036 ckp_3rd.c > osdepckp.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1037
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1038
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1039 # SSL support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1040
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1041 sslnone:# No SSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1042 @echo Building without SSL support
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1043 $(LN) ssl_none.c osdepssl.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1044
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1045 sslnopwd: sslunix snopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1046
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1047 sslunix.nopwd: sslnopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1048
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1049 sslsco.nopwd: sslsco snopwd
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1050
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1051 sslunix: sbasic sldunix
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1052
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1053 sslsco: sbasic sldsco
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1054
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1055 sbasic: # UNIX OpenSSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1056 @echo Building with SSL
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1057 $(LN) ssl_unix.c osdepssl.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1058 echo $(SSLCFLAGS) >> OSCFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1059 echo " ssl_onceonlyinit ();" >> linkage.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1060
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1061 snopwd: # Plaintext disable
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1062 @echo Building with SSL and plaintext passwords disabled unless SSL/TLS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1063 echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1064
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1065 sldunix:# Normal UNIX SSL load flags
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1066 echo $(SSLLDFLAGS) >> LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1067
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1068
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1069 sldsco: # SCO SSL load flags
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1070 # Note: Tim Rice says that SSL has to be lunk before other libraries on SCO.
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1071 echo $(SSLLDFLAGS) `cat LDFLAGS` > LDFLAGS.tmp
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1072 mv LDFLAGS.tmp LDFLAGS
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1073
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1074
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1075 # A monument to a hack of long ago and far away...
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1076
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1077 love:
ada5e610ab86 imap-2007e
yuuji@gentei.org
parents:
diff changeset
1078 @echo not war?

yatex.org