1 ##############################################################################
2 # Instructions to Make, for compilation of SendMail/SMTP-MTS library
5 # @(#)$Id: sendmail,v 1.10 1992/11/20 17:14:07 jromine Exp $
6 ##############################################################################
8 # The following entries were inserted during MH configuration
9 OPTIONS = @(MHOPTIONS) -I..
18 LFLAGS = -bhu $(OPTIONS)
24 CFILES = hosts.c smail.c
25 OFILES = hosts.o smail.o
29 ##############################################################################
31 ##############################################################################
33 .c.o:; $(CC) $(CFLAGS) -c $*.c
44 ##############################################################################
46 ##############################################################################
55 ar r $@ $(OFILES); ranlib $@
58 ar r $@ `lorder $(OFILES) | tsort`
61 -cd ..; $(LN) sendmail/$@ libmts.a
63 -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts
65 -@echo "SendMail/SMTP-MTS library built normally"
67 l-sendmts:; lint $(LFLAGS) $(CFILES) $(LLIBS)
70 smail.o: Makefile smail.h
73 ##############################################################################
75 ##############################################################################
77 unconfig: distribution
81 -rm -f bboardsMH.m4 popMH.m4
84 -rm -f *.o $(LIB) z$(LIB)
86 unclean:; -rm -f _* :* core