xref: /titanic_44/usr/src/cmd/sendmail/cf/cf/Makefile (revision 95efa359b507db290a2484b8f615822b1e06096f)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23#  Makefile for configuration files.
24#
25#  Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
26#  Use is subject to license terms.
27#
28#	@(#)Makefile	8.15 (Berkeley) 3/29/98
29#	%W% (Sun) %G%
30#	ident	"%Z%%M%	%I%	%E% SMI"
31#
32
33#
34#  Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf"
35#  of "/usr/ccs/bin/make file.cf"; these may be easier than tweaking the
36#  Makefile.  Also, updates will over-write any changes to the Makefile.
37#  You do need to have a fairly modern M4 available (GNU m4 works).  On
38#  Solaris, use /usr/ccs/bin/m4.
39#
40
41M4=	/usr/ccs/bin/m4
42CFDIR=	..
43MV=	/usr/bin/mv
44RM=	/usr/bin/rm -f
45
46.SUFFIXES:  .mc .cf
47
48.mc.cf:
49	test ! -f $@ || $(MV) $@ $@.prev
50	$(M4) ${CFDIR}/m4/cf.m4 $*.mc > $@
51
52ALL=	sendmail.cf submit.cf
53
54all: $(ALL)
55
56clean cleandir:
57	$(RM) $(ALL) core
58
59depend install:
60
61# this is overkill, but....
62M4FILES=\
63	${CFDIR}/domain/generic.m4 \
64	${CFDIR}/domain/solaris-antispam.m4 \
65	${CFDIR}/domain/solaris-generic.m4 \
66	${CFDIR}/feature/accept_unqualified_senders.m4 \
67	${CFDIR}/feature/accept_unresolvable_domains.m4 \
68	${CFDIR}/feature/access_db.m4 \
69	${CFDIR}/feature/allmasquerade.m4 \
70	${CFDIR}/feature/always_add_domain.m4 \
71	${CFDIR}/feature/badmx.m4 \
72	${CFDIR}/feature/bestmx_is_local.m4 \
73	${CFDIR}/feature/bitdomain.m4 \
74	${CFDIR}/feature/blacklist_recipients.m4 \
75	${CFDIR}/feature/block_bad_helo.m4 \
76	${CFDIR}/feature/compat_check.m4 \
77	${CFDIR}/feature/conncontrol.m4 \
78	${CFDIR}/feature/delay_checks.m4 \
79	${CFDIR}/feature/dnsbl.m4 \
80	${CFDIR}/feature/domaintable.m4 \
81	${CFDIR}/feature/enhdnsbl.m4 \
82	${CFDIR}/feature/generics_entire_domain.m4 \
83	${CFDIR}/feature/genericstable.m4 \
84	${CFDIR}/feature/greet_pause.m4 \
85	${CFDIR}/feature/ldap_routing.m4 \
86	${CFDIR}/feature/limited_masquerade.m4 \
87	${CFDIR}/feature/local_lmtp.m4 \
88	${CFDIR}/feature/local_no_masquerade.m4 \
89	${CFDIR}/feature/local_procmail.m4 \
90	${CFDIR}/feature/lookupdotdomain.m4 \
91	${CFDIR}/feature/loose_relay_check.m4 \
92	${CFDIR}/feature/mailertable.m4 \
93	${CFDIR}/feature/masquerade_entire_domain.m4 \
94	${CFDIR}/feature/masquerade_envelope.m4 \
95	${CFDIR}/feature/msp.m4 \
96	${CFDIR}/feature/mtamark.m4 \
97	${CFDIR}/feature/no_default_msa.m4 \
98	${CFDIR}/feature/nocanonify.m4 \
99	${CFDIR}/feature/notsticky.m4 \
100	${CFDIR}/feature/nouucp.m4 \
101	${CFDIR}/feature/preserve_local_plus_detail.m4 \
102	${CFDIR}/feature/preserve_luser_host.m4 \
103	${CFDIR}/feature/promiscuous_relay.m4 \
104	${CFDIR}/feature/queuegroup.m4 \
105	${CFDIR}/feature/ratecontrol.m4 \
106	${CFDIR}/feature/redirect.m4 \
107	${CFDIR}/feature/relay_based_on_MX.m4 \
108	${CFDIR}/feature/relay_entire_domain.m4 \
109	${CFDIR}/feature/relay_hosts_only.m4 \
110	${CFDIR}/feature/relay_local_from.m4 \
111	${CFDIR}/feature/relay_mail_from.m4 \
112	${CFDIR}/feature/require_rdns.m4 \
113	${CFDIR}/feature/smrsh.m4 \
114	${CFDIR}/feature/stickyhost.m4 \
115	${CFDIR}/feature/use_client_ptr.m4 \
116	${CFDIR}/feature/use_ct_file.m4 \
117	${CFDIR}/feature/use_cw_file.m4 \
118	${CFDIR}/feature/uucpdomain.m4 \
119	${CFDIR}/feature/virtuser_entire_domain.m4 \
120	${CFDIR}/feature/virtusertable.m4 \
121	${CFDIR}/m4/cf.m4 \
122	${CFDIR}/m4/cfhead.m4 \
123	${CFDIR}/m4/proto.m4 \
124	${CFDIR}/m4/version.m4 \
125	${CFDIR}/mailer/local.m4 \
126	${CFDIR}/mailer/smtp.m4 \
127	${CFDIR}/mailer/uucp.m4 \
128	${CFDIR}/ostype/solaris2.m4 \
129	${CFDIR}/ostype/solaris2.ml.m4 \
130	${CFDIR}/ostype/solaris2.pre5.m4 \
131	${CFDIR}/ostype/solaris8.m4
132
133$(ALL):  $(M4FILES)
134