0
|
1 ##############################################################################
|
|
2 # Instructions to Make, for compilation of SendMail/SMTP-MTS library
|
|
3 #
|
|
4 # This file is automatically generated. Do not edit!
|
|
5 # @(#)$Id$
|
|
6 ##############################################################################
|
|
7
|
|
8 # The following entries were inserted during MH configuration
|
|
9 OPTIONS = -DATHENA -DDUMB -DFOLDPROT='"0700"' -DGCOS_HACK -DISI -DMHE -DMHRC -DMSGPROT='"0600"' -DOVERHEAD -DRPATHS -DSBACKUP='"\043"' -DWHATNOW -DBIND -DBSD42 -DBSD43 -DBSD44 -DDBMPWD -DNORUSERPASS -DPOSIX -DSETMG -DSYS5DIR -DUNISTD -DVSPRINTF -DWAITINT -DZONEINFO -DPOPSERVICE='"pop"' -DAPOP -DJAPAN -DMH_PLUS -DMIME -DMIME_HEADERS -DMORE='"/usr/local/bin/jless"' -DNNTP -DMAILGROUP -DSENDMTS -DSMTP -DPOP -DSPRINTFTYPE=int -DTYPESIG=void -O -I..
|
|
10
|
|
11 CC = gcc
|
|
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 -ld -x -r $@
|
|
29 mv a.out $@
|
|
30
|
|
31
|
|
32 ##############################################################################
|
|
33 # Here it is...
|
|
34 ##############################################################################
|
|
35
|
|
36 all: $(LIB)
|
|
37 depend:;
|
|
38 lint: l-sendmts
|
|
39
|
|
40 $(LIB): $(OFILES)
|
|
41 -if [ -f $@ ]; then \
|
|
42 mv $@ z$@; \
|
|
43 fi
|
|
44 ar r $@ $(OFILES); ranlib $@
|
|
45 -rm -f ../libmts.a
|
|
46 -cd ..; $(LN) sendmail/$@ libmts.a
|
|
47 -rm -f ../llib-lmts
|
|
48 -cd .. ; $(LN) sendmail/llib-lsendmail llib-lmts
|
|
49 -@ls -l $@
|
|
50 -@echo "SendMail/SMTP-MTS library built normally"
|
|
51
|
|
52 l-sendmts:; lint $(LFLAGS) $(CFILES) $(LLIBS)
|
|
53
|
|
54 hosts.o: Makefile
|
|
55 smail.o: Makefile smail.h
|
|
56
|
|
57
|
|
58 ##############################################################################
|
|
59 # Miscellaneous tasks
|
|
60 ##############################################################################
|
|
61
|
|
62 unconfig: distribution
|
|
63 -rm -f Makefile
|
|
64
|
|
65 distribution: clean
|
|
66 -rm -f bboardsMH.m4 popMH.m4
|
|
67
|
|
68 clean: unclean
|
|
69 -rm -f *.o $(LIB) z$(LIB)
|
|
70
|
|
71 unclean:; -rm -f _* :* core *.core
|