Commit | Line | Data |
---|---|---|
95f51977 C |
1 | # |
2 | # Sendmail | |
3 | # Copyright (c) 1983 Eric P. Allman | |
4 | # Berkeley, California | |
5 | # | |
6 | # Copyright (c) 1983 Regents of the University of California. | |
7 | # All rights reserved. The Berkeley software License Agreement | |
8 | # specifies the terms and conditions for redistribution. | |
9 | # | |
10 | # @(#)Makefile 5.5 (Berkeley) 2/14/86 | |
11 | # | |
e804469b C |
12 | ###################################################################### |
13 | # | |
14 | # Makefile for Sendmail UCB configuration files | |
15 | # | |
e804469b C |
16 | ###################################################################### |
17 | ||
18 | ||
19 | CSSRCS= csbase.m4 \ | |
20 | arpa.mc \ | |
e804469b | 21 | calder.mc \ |
95f51977 | 22 | cogsci.mc \ |
e804469b | 23 | dali.mc \ |
95f51977 | 24 | degas.mc \ |
e804469b | 25 | ernie.mc \ |
95f51977 | 26 | ji.mc \ |
e804469b C |
27 | kim.mc \ |
28 | matisse.mc \ | |
e804469b C |
29 | miro.mc \ |
30 | monet.mc \ | |
95f51977 C |
31 | okeeffe.mc \ |
32 | renoir.mc \ | |
e804469b C |
33 | ucbvax.mc |
34 | CCSRCS= ccbase.m4 \ | |
e804469b C |
35 | GENSRCS=arpaproto.mc \ |
36 | base.m4 \ | |
37 | berkhosts.m4 \ | |
38 | berkm.m4 \ | |
39 | cchosts.m4 \ | |
40 | compat.m4 \ | |
41 | ether.m4 \ | |
42 | etherm.m4 \ | |
43 | fudge.m4 \ | |
44 | ibmm.m4 \ | |
95f51977 C |
45 | lanleaf.m4 \ |
46 | lanroot.m4 \ | |
e804469b C |
47 | localm.m4 \ |
48 | mmdfm.m4 \ | |
e804469b | 49 | ncpm.m4 \ |
0f4556f1 | 50 | suucpm.m4 \ |
e804469b C |
51 | tcpm.m4 \ |
52 | uucpm.m4 \ | |
53 | uucpproto.mc \ | |
54 | version.m4 \ | |
55 | zerobase.m4 | |
95f51977 | 56 | SRCS= $(GENSRCS) $(CSSRCS) $(CCSRCS) |
e804469b C |
57 | |
58 | CSNALL= arpa.cf \ | |
e804469b | 59 | calder.cf \ |
95f51977 | 60 | cogsci.cf \ |
e804469b | 61 | dali.cf \ |
95f51977 | 62 | degas.cf \ |
0f4556f1 | 63 | ernie.cf \ |
95f51977 | 64 | ji.cf \ |
0f4556f1 | 65 | kim.cf \ |
e804469b C |
66 | matisse.cf \ |
67 | miro.cf \ | |
68 | monet.cf \ | |
95f51977 C |
69 | okeeffe.cf \ |
70 | renoir.cf \ | |
e804469b | 71 | ucbvax.cf |
95f51977 | 72 | CSALL= $(CSNALL) |
e804469b | 73 | PROTOS= arpaproto.cf uucpproto.cf |
95f51977 | 74 | ALL= $(CSALL) $(PROTOS) |
e804469b C |
75 | |
76 | GET= sccs get | |
77 | ||
78 | .SUFFIXES: .mc .cf | |
79 | ||
80 | .mc.cf: | |
81 | m4 $*.mc > $*.cf | |
82 | ||
83 | all: $(ALL) | |
84 | ||
95f51977 | 85 | cs: $(CSALL) |
e804469b C |
86 | ############################ |
87 | # special dependencies # | |
88 | ############################ | |
89 | ||
95f51977 C |
90 | # computer science department hosts.... |
91 | $(CSALL): csbase.m4 | |
e804469b C |
92 | |
93 | # pessimize -- basic dependencies | |
94 | $(ALL): ether.m4 etherm.m4 base.m4 localm.m4 tcpm.m4 version.m4 zerobase.m4 | |
95 | ||
96 | # hosts using UUCP | |
95f51977 | 97 | ucbvax.cf uucpproto.cf: uucpm.m4 compat.m4 berkhosts.m4 |
0f4556f1 | 98 | arpa.cf: suucpm.m4 |
e804469b C |
99 | |
100 | # hosts using MMDF | |
101 | arpa.cf: mmdfm.m4 | |
102 | ||
e804469b | 103 | # hosts knowing about berknet |
95f51977 | 104 | ucbvax.cf: cchosts.m4 berkm.m4 compat.m4 berkhosts.m4 |
e804469b C |
105 | |
106 | ##################### | |
107 | # administrivia # | |
108 | ##################### | |
109 | ||
110 | sources: $(SRCS) | |
111 | ||
112 | $(SRCS): | |
113 | $(GET) $(REL) SCCS/s.$@ | |
114 | ||
115 | clean: | |
116 | rm -f $(ALL) a.out core make.out | |
117 | rm -f ,* |