1#
2#  Makefile for configuration files.
3#
4#	@(#)Makefile.dist	8.6 (Berkeley) 05/29/95
5#
6
7#
8#  Configuration files are created using "m4 file.mc > file.cf";
9#  this may be easier than tweaking the Makefile.  You do need to
10#  have a fairly modern M4 available (GNU m4 works).  On SunOS, use
11#  /usr/5bin/m4.
12#
13
14M4=	m4
15#M4=	/usr/src/usr.bin/m4/obj/m4
16CHMOD=	chmod
17ROMODE=	444
18RM=	rm -f
19
20.SUFFIXES:  .mc .cf
21
22.mc.cf:
23	$(RM) $@
24	$(M4) $*.mc > $@
25	$(CHMOD) $(ROMODE) $@
26
27ALL=	generic-hpux9.cf generic-osf1.cf generic-solaris2.cf \
28		generic-sunos4.1.cf generic-ultrix4.cf \
29	cs-hpux9.cf cs-osf1.cf cs-solaris2.cf \
30		cs-sunos4.1.cf cs-ultrix4.cf \
31	s2k-osf1.cf s2k-ultrix4.cf \
32	chez.cs.cf huginn.cs.cf mail.cs.cf mail.eecs.cf mailspool.cs.cf \
33		python.cs.cf ucbarpa.cf ucbvax.cf vangogh.cs.cf
34
35all: $(ALL)
36
37clean cleandir:
38	$(RM) $(ALL) core
39
40depend install:
41
42# this is overkill, but....
43M4FILES=\
44	../domain/Berkeley.EDU.m4 \
45	../domain/CS.Berkeley.EDU.m4 \
46	../domain/EECS.Berkeley.EDU.m4 \
47	../domain/S2K.Berkeley.EDU.m4 \
48	../feature/allmasquerade.m4 \
49	../feature/always_add_domain.m4 \
50	../feature/bestmx_is_local.m4 \
51	../feature/bitdomain.m4 \
52	../feature/domaintable.m4 \
53	../feature/local_procmail.m4 \
54	../feature/mailertable.m4 \
55	../feature/nocanonify.m4 \
56	../feature/nodns.m4 \
57	../feature/notsticky.m4 \
58	../feature/nouucp.m4 \
59	../feature/nullclient.m4 \
60	../feature/redirect.m4 \
61	../feature/smrsh.m4 \
62	../feature/stickyhost.m4 \
63	../feature/use_cw_file.m4 \
64	../feature/uucpdomain.m4 \
65	../hack/cssubdomain.m4 \
66	../m4/cf.m4 \
67	../m4/nullrelay.m4 \
68	../m4/proto.m4 \
69	../m4/version.m4 \
70	../mailer/fax.m4 \
71	../mailer/local.m4 \
72	../mailer/mail11.m4 \
73	../mailer/pop.m4 \
74	../mailer/procmail.m4 \
75	../mailer/smtp.m4 \
76	../mailer/usenet.m4 \
77	../mailer/uucp.m4 \
78	../ostype/aix3.m4 \
79	../ostype/amdahl-uts.m4 \
80	../ostype/aux.m4 \
81	../ostype/bsd4.3.m4 \
82	../ostype/bsd4.4.m4 \
83	../ostype/bsdi1.0.m4 \
84	../ostype/dgux.m4 \
85	../ostype/domainos.m4 \
86	../ostype/dynix3.2.m4 \
87	../ostype/hpux9.m4 \
88	../ostype/irix.m4 \
89	../ostype/linux.m4 \
90	../ostype/nextstep.m4 \
91	../ostype/osf1.m4 \
92	../ostype/ptx2.m4 \
93	../ostype/riscos4.5.m4 \
94	../ostype/sco3.2.m4 \
95	../ostype/solaris2.m4 \
96	../ostype/sunos3.5.m4 \
97	../ostype/sunos4.1.m4 \
98	../ostype/svr4.m4 \
99	../ostype/ultrix4.m4 \
100	../siteconfig/uucp.cogsci.m4 \
101	../siteconfig/uucp.old.arpa.m4 \
102	../siteconfig/uucp.ucbarpa.m4 \
103	../siteconfig/uucp.ucbvax.m4 \
104
105$(ALL):  $(M4FILES)
106