head 1.10; access; symbols; locks; strict; comment @# @; 1.10 date 92.11.20.17.14.07; author jromine; state Exp; branches; next 1.9; 1.9 date 92.11.18.16.51.59; author jromine; state Exp; branches; next 1.8; 1.8 date 92.11.05.19.13.31; author jromine; state Exp; branches; next 1.7; 1.7 date 92.02.04.17.42.12; author jromine; state Exp; branches; next 1.6; 1.6 date 90.04.05.15.15.48; author sources; state Exp; branches; next 1.5; 1.5 date 90.03.12.11.26.38; author sources; state Exp; branches; next 1.4; 1.4 date 90.03.12.10.27.24; author sources; state Exp; branches; next 1.3; 1.3 date 90.02.21.16.54.16; author sources; state Exp; branches; next 1.2; 1.2 date 90.02.06.12.53.45; author sources; state Exp; branches; next 1.1; 1.1 date 90.02.06.12.53.08; author sources; state Exp; branches; next ; desc @@ 1.10 log @try to use LN instead of hard link @ text @############################################################################## # Instructions to Make, for compilation of SendMail/SMTP-MTS library # # @@(MHWARNING) # @@(#)$Id: sendmail,v 1.9 1992/11/18 16:51:59 jromine Exp jromine $ ############################################################################## # The following entries were inserted during MH configuration OPTIONS = @@(MHOPTIONS) -I.. CC = @@(MHCOMPILER) @@BEGIN: OPTIM CFLAGS = $(OPTIONS) @@END: OPTIM @@BEGIN: DEBUG CFLAGS = $(OPTIONS) @@END: DEBUG LFLAGS = -bhu $(OPTIONS) CP = @@(CP) LN = @@(LN) LIB = sendmts.a CFILES = hosts.c smail.c OFILES = hosts.o smail.o @@BEGIN: OPTIM ############################################################################## # Generation Rules ############################################################################## .c.o:; $(CC) $(CFLAGS) -c $*.c @@BEGIN: NEWLOAD -ld -x -r $@@ mv a.out $@@ @@END: NEWLOAD @@BEGIN: OLDLOAD ${CC} -s -o $@@ @@END: OLDLOAD @@END: OPTIM ############################################################################## # Here it is... ############################################################################## all: $(LIB) depend:; lint: l-sendmts $(LIB): $(OFILES) -mv $@@ z$@@ @@BEGIN: RANLIB ar r $@@ $(OFILES); ranlib $@@ @@END: RANLIB @@BEGIN: LORDER ar r $@@ `lorder $(OFILES) | tsort` @@END: LORDER -rm -f ../libmts.a -cd ..; $(LN) sendmail/$@@ libmts.a -rm -f ../llib-lmts -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts -@@ls -l $@@ -@@echo "SendMail/SMTP-MTS library built normally" l-sendmts:; lint $(LFLAGS) $(CFILES) $(LLIBS) hosts.o: Makefile smail.o: Makefile smail.h ############################################################################## # Miscellaneous tasks ############################################################################## unconfig: distribution -rm -f Makefile distribution: clean -rm -f bboardsMH.m4 popMH.m4 clean: unclean -rm -f *.o $(LIB) z$(LIB) unclean:; -rm -f _* :* core @ 1.9 log @fixup the way @@(LN) works @ text @d5 1 a5 1 # @@(#)$Id: sendmail,v 1.8 1992/11/05 19:13:31 jromine Exp jromine $ d61 1 a61 1 ln $@@ ../libmts.a @ 1.8 log @use LN for llib files @ text @d5 1 a5 1 # @@(#)$Id: sendmail,v 1.7 1992/02/04 17:42:12 jromine Exp jromine $ d63 1 a63 1 -$(LN) llib-lsendmail ../llib-lmts @ 1.7 log @use CP instead of ld for llib in case of cross-device link Stephen Gildea @ text @d5 1 a5 1 # @@(#)$Id: sendmail,v 1.6 1990/04/05 15:15:48 sources Exp jromine $ d20 1 d63 1 a63 1 -$(CP) llib-lsendmail ../llib-lmts @ 1.6 log @add ID @ text @d5 1 a5 1 # @@(#)$Id:$ d19 1 d62 1 a62 1 -ln llib-lsendmail ../llib-lmts @ 1.5 log @remove -O (put in mhconfig) @ text @d5 1 @ 1.4 log @llib ln command failure shouldn't abort make /. @ text @d12 1 a12 1 CFLAGS = -O $(OPTIONS) @ 1.3 log @make unconfig changes @ text @d60 1 a60 1 ln llib-lsendmail ../llib-lmts @ 1.2 log @ANSI Compilance @ text @d74 3 @ 1.1 log @Initial revision @ text @d10 1 a10 1 CC = cc d36 1 a36 1 cc -s -o $@@ @