]> diplodocus.org Git - nmh/blob - docs/historical/mh-6.8.5/mts/sendmail/Makefile
Update XOAUTH2 documentation.
[nmh] / docs / historical / mh-6.8.5 / mts / sendmail / Makefile
1 ##############################################################################
2 # Instructions to Make, for compilation of SendMail/SMTP-MTS library
3 #
4 # This file is automatically generated. Do not edit!
5 # @(#)$Id: sendmail,v 1.10 1992/11/20 17:14:07 jromine Exp $
6 ##############################################################################
7
8 # The following entries were inserted during MH configuration
9 OPTIONS = -DSYS5 -DSVR4 -DFCNTL -DRENAME -DVSPRINTF -DATTVIBUG -DDBMPWD -DDUMB -DMORE='"/usr/bin/more"' -DMSGPROT='"0600"' -DMSGID -DRPATHS -DSOCKETS -DFOLDPROT='"0711"' -DSHADOW -DSYS5DIR -DMHRC -DMHE -DMIME -DSENDMTS -DSMTP -DSPRINTFTYPE=int -DTYPESIG=void -O -g -I..
10
11 CC = cc
12 CFLAGS = $(OPTIONS)
13 LFLAGS = -bhu $(OPTIONS)
14 CP = cp
15 LN = ln
16
17 LIB = sendmts.a
18
19 CFILES = hosts.c smail.c
20 OFILES = hosts.o smail.o
21
22
23 ##############################################################################
24 # Generation Rules
25 ##############################################################################
26
27 .c.o:; $(CC) $(CFLAGS) -c $*.c
28
29
30 ##############################################################################
31 # Here it is...
32 ##############################################################################
33
34 all: $(LIB)
35 depend:;
36 lint: l-sendmts
37
38 $(LIB): $(OFILES)
39 -mv $@ z$@
40 ar r $@ `lorder $(OFILES) | tsort`
41 -rm -f ../libmts.a
42 -cd ..; $(LN) sendmail/$@ libmts.a
43 -rm -f ../llib-lmts
44 -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts
45 -@ls -l $@
46 -@echo "SendMail/SMTP-MTS library built normally"
47
48 l-sendmts:; lint $(LFLAGS) $(CFILES) $(LLIBS)
49
50 hosts.o: Makefile
51 smail.o: Makefile smail.h
52
53
54 ##############################################################################
55 # Miscellaneous tasks
56 ##############################################################################
57
58 unconfig: distribution
59 -rm -f Makefile
60
61 distribution: clean
62 -rm -f bboardsMH.m4 popMH.m4
63
64 clean: unclean
65 -rm -f *.o $(LIB) z$(LIB)
66
67 unclean:; -rm -f _* :* core