9 date 92.11.20.17.14.07; author jromine; state Exp;
14 date 92.11.18.16.51.59; author jromine; state Exp;
19 date 92.11.05.19.13.31; author jromine; state Exp;
24 date 92.02.04.17.42.12; author jromine; state Exp;
29 date 90.04.05.15.15.48; author sources; state Exp;
34 date 90.03.12.11.26.38; author sources; state Exp;
39 date 90.03.12.10.27.24; author sources; state Exp;
44 date 90.02.21.16.54.16; author sources; state Exp;
49 date 90.02.06.12.53.45; author sources; state Exp;
54 date 90.02.06.12.53.08; author sources; state Exp;
65 @try to use LN instead of hard link
68 @##############################################################################
69 # Instructions to Make, for compilation of SendMail/SMTP-MTS library
72 # @@(#)$Id: sendmail,v 1.9 1992/11/18 16:51:59 jromine Exp jromine $
73 ##############################################################################
75 # The following entries were inserted during MH configuration
76 OPTIONS = @@(MHOPTIONS) -I..
85 LFLAGS = -bhu $(OPTIONS)
91 CFILES = hosts.c smail.c
92 OFILES = hosts.o smail.o
96 ##############################################################################
98 ##############################################################################
100 .c.o:; $(CC) $(CFLAGS) -c $*.c
111 ##############################################################################
113 ##############################################################################
122 ar r $@@ $(OFILES); ranlib $@@
125 ar r $@@ `lorder $(OFILES) | tsort`
128 -cd ..; $(LN) sendmail/$@@ libmts.a
130 -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts
132 -@@echo "SendMail/SMTP-MTS library built normally"
134 l-sendmts:; lint $(LFLAGS) $(CFILES) $(LLIBS)
137 smail.o: Makefile smail.h
140 ##############################################################################
141 # Miscellaneous tasks
142 ##############################################################################
144 unconfig: distribution
148 -rm -f bboardsMH.m4 popMH.m4
151 -rm -f *.o $(LIB) z$(LIB)
153 unclean:; -rm -f _* :* core
159 @fixup the way @@(LN) works
164 # @@(#)$Id: sendmail,v 1.8 1992/11/05 19:13:31 jromine Exp jromine $
173 @use LN for llib files
178 # @@(#)$Id: sendmail,v 1.7 1992/02/04 17:42:12 jromine Exp jromine $
181 -$(LN) llib-lsendmail ../llib-lmts
187 @use CP instead of ld for llib in case of cross-device link
188 Stephen Gildea <gildea@@expo.lcs.mit.EDU>
193 # @@(#)$Id: sendmail,v 1.6 1990/04/05 15:15:48 sources Exp jromine $
197 -$(CP) llib-lsendmail ../llib-lmts
212 -ln llib-lsendmail ../llib-lmts
218 @remove -O (put in mhconfig)
227 @llib ln command failure shouldn't abort make
233 CFLAGS = -O $(OPTIONS)
239 @make unconfig changes
244 ln llib-lsendmail ../llib-lmts