Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / conf / makefiles / mts / RCS / sendmail,v
1 head    1.10;
2 access;
3 symbols;
4 locks; strict;
5 comment @# @;
6
7
8 1.10
9 date    92.11.20.17.14.07;      author jromine; state Exp;
10 branches;
11 next    1.9;
12
13 1.9
14 date    92.11.18.16.51.59;      author jromine; state Exp;
15 branches;
16 next    1.8;
17
18 1.8
19 date    92.11.05.19.13.31;      author jromine; state Exp;
20 branches;
21 next    1.7;
22
23 1.7
24 date    92.02.04.17.42.12;      author jromine; state Exp;
25 branches;
26 next    1.6;
27
28 1.6
29 date    90.04.05.15.15.48;      author sources; state Exp;
30 branches;
31 next    1.5;
32
33 1.5
34 date    90.03.12.11.26.38;      author sources; state Exp;
35 branches;
36 next    1.4;
37
38 1.4
39 date    90.03.12.10.27.24;      author sources; state Exp;
40 branches;
41 next    1.3;
42
43 1.3
44 date    90.02.21.16.54.16;      author sources; state Exp;
45 branches;
46 next    1.2;
47
48 1.2
49 date    90.02.06.12.53.45;      author sources; state Exp;
50 branches;
51 next    1.1;
52
53 1.1
54 date    90.02.06.12.53.08;      author sources; state Exp;
55 branches;
56 next    ;
57
58
59 desc
60 @@
61
62
63 1.10
64 log
65 @try to use LN instead of hard link
66 @
67 text
68 @##############################################################################
69 #    Instructions to Make, for compilation of SendMail/SMTP-MTS library
70 #
71 #       @@(MHWARNING)
72 # @@(#)$Id: sendmail,v 1.9 1992/11/18 16:51:59 jromine Exp jromine $
73 ##############################################################################
74
75 # The following entries were inserted during MH configuration
76 OPTIONS =       @@(MHOPTIONS) -I..
77
78 CC      =       @@(MHCOMPILER)
79 @@BEGIN: OPTIM
80 CFLAGS  =       $(OPTIONS)
81 @@END: OPTIM
82 @@BEGIN: DEBUG
83 CFLAGS  =             $(OPTIONS)
84 @@END: DEBUG
85 LFLAGS  =       -bhu $(OPTIONS)
86 CP      =       @@(CP)
87 LN      =       @@(LN)
88
89 LIB     =       sendmts.a
90
91 CFILES  =       hosts.c smail.c
92 OFILES  =       hosts.o smail.o
93
94
95 @@BEGIN: OPTIM
96 ##############################################################################
97 #       Generation Rules
98 ##############################################################################
99
100 .c.o:;          $(CC) $(CFLAGS) -c $*.c
101 @@BEGIN: NEWLOAD
102                 -ld -x -r $@@
103                 mv a.out $@@
104 @@END: NEWLOAD
105 @@BEGIN: OLDLOAD
106                 ${CC} -s -o $@@
107 @@END: OLDLOAD
108
109
110 @@END: OPTIM
111 ##############################################################################
112 #       Here it is...
113 ##############################################################################
114
115 all:            $(LIB)
116 depend:;
117 lint:           l-sendmts
118
119 $(LIB):         $(OFILES)
120                 -mv $@@ z$@@
121 @@BEGIN: RANLIB
122                 ar r $@@ $(OFILES); ranlib $@@
123 @@END: RANLIB
124 @@BEGIN: LORDER
125                 ar r $@@ `lorder $(OFILES) | tsort`
126 @@END: LORDER
127                 -rm -f ../libmts.a
128                 -cd ..; $(LN) sendmail/$@@ libmts.a
129                 -rm -f ../llib-lmts
130                 -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts
131                 -@@ls -l $@@
132                 -@@echo "SendMail/SMTP-MTS library built normally"
133
134 l-sendmts:;     lint $(LFLAGS) $(CFILES) $(LLIBS)
135
136 hosts.o:        Makefile
137 smail.o:        Makefile smail.h
138
139
140 ##############################################################################
141 #       Miscellaneous tasks
142 ##############################################################################
143
144 unconfig:       distribution
145                 -rm -f Makefile
146
147 distribution:   clean
148                 -rm -f bboardsMH.m4 popMH.m4
149
150 clean:          unclean
151                 -rm -f *.o $(LIB) z$(LIB)
152
153 unclean:;       -rm -f _* :* core
154 @
155
156
157 1.9
158 log
159 @fixup the way @@(LN) works
160 @
161 text
162 @d5 1
163 a5 1
164 # @@(#)$Id: sendmail,v 1.8 1992/11/05 19:13:31 jromine Exp jromine $
165 d61 1
166 a61 1
167                 ln $@@ ../libmts.a
168 @
169
170
171 1.8
172 log
173 @use LN for llib files
174 @
175 text
176 @d5 1
177 a5 1
178 # @@(#)$Id: sendmail,v 1.7 1992/02/04 17:42:12 jromine Exp jromine $
179 d63 1
180 a63 1
181                 -$(LN) llib-lsendmail ../llib-lmts
182 @
183
184
185 1.7
186 log
187 @use CP instead of ld for llib in case of cross-device link
188 Stephen Gildea <gildea@@expo.lcs.mit.EDU>
189 @
190 text
191 @d5 1
192 a5 1
193 # @@(#)$Id: sendmail,v 1.6 1990/04/05 15:15:48 sources Exp jromine $
194 d20 1
195 d63 1
196 a63 1
197                 -$(CP) llib-lsendmail ../llib-lmts
198 @
199
200
201 1.6
202 log
203 @add ID
204 @
205 text
206 @d5 1
207 a5 1
208 # @@(#)$Id:$
209 d19 1
210 d62 1
211 a62 1
212                 -ln llib-lsendmail ../llib-lmts
213 @
214
215
216 1.5
217 log
218 @remove -O (put in mhconfig)
219 @
220 text
221 @d5 1
222 @
223
224
225 1.4
226 log
227 @llib ln command failure shouldn't abort make
228 /.
229 @
230 text
231 @d12 1
232 a12 1
233 CFLAGS  =       -O    $(OPTIONS)
234 @
235
236
237 1.3
238 log
239 @make unconfig changes
240 @
241 text
242 @d60 1
243 a60 1
244                 ln llib-lsendmail ../llib-lmts
245 @
246
247
248 1.2
249 log
250 @ANSI Compilance
251 @
252 text
253 @d74 3
254 @
255
256
257 1.1
258 log
259 @Initial revision
260 @
261 text
262 @d10 1
263 a10 1
264 CC      =       cc
265 d36 1
266 a36 1
267                 cc -s -o $@@
268 @