Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / mts / mmdf / Makefile
1 ##############################################################################
2 #    Instructions to Make, for compilation of MMDF-MTS library 
3 #
4 #       This file is automatically generated.  Do not edit!
5 # @(#)$Id: mmdf,v 1.11 1993/12/06 18:11:49 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 LINT    =       lint
14 LFLAGS  =       -bhu $(OPTIONS)
15 LLIBS   =
16 CP      =       cp
17 LN      =       ln
18
19 LIB     =       mmdfmts.a
20
21 CFILES  =       hosts.c
22 OFILES  =       hosts.o
23
24
25 ##############################################################################
26 #       Generation Rules
27 ##############################################################################
28
29 .c.o:;          $(CC) $(CFLAGS) -c $*.c
30
31
32 ##############################################################################
33 #       Here it is...
34 ##############################################################################
35
36 all:            $(LIB)
37 depend:;
38 lint:           l-mmdf
39
40
41
42 l-mmdf:;        $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)
43
44 hosts.o:        Makefile
45
46
47 ##############################################################################
48 #       Miscellaneous tasks
49 ##############################################################################
50
51 unconfig:       distribution
52                 -rm -f Makefile
53
54 distribution:   clean
55
56 clean:          unclean
57                 -rm -f *.o $(LIB) z$(LIB)
58
59 unclean:;       -rm -f _* :* core