xref: /titanic_44/usr/src/cmd/sendmail/cf/cf/Makefile (revision 749f21d359d8fbd020c974a1a5227316221bfc9c)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23#  Makefile for configuration files.
24#
25#  Copyright 2004 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=	main.cf subsidiary.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/bestmx_is_local.m4 \
72	${CFDIR}/feature/bitdomain.m4 \
73	${CFDIR}/feature/blacklist_recipients.m4 \
74	${CFDIR}/feature/compat_check.m4 \
75	${CFDIR}/feature/conncontrol.m4 \
76	${CFDIR}/feature/delay_checks.m4 \
77	${CFDIR}/feature/dnsbl.m4 \
78	${CFDIR}/feature/domaintable.m4 \
79	${CFDIR}/feature/enhdnsbl.m4 \
80	${CFDIR}/feature/generics_entire_domain.m4 \
81	${CFDIR}/feature/genericstable.m4 \
82	${CFDIR}/feature/greet_pause.m4 \
83	${CFDIR}/feature/ldap_routing.m4 \
84	${CFDIR}/feature/limited_masquerade.m4 \
85	${CFDIR}/feature/local_lmtp.m4 \
86	${CFDIR}/feature/local_no_masquerade.m4 \
87	${CFDIR}/feature/lookupdotdomain.m4 \
88	${CFDIR}/feature/loose_relay_check.m4 \
89	${CFDIR}/feature/mailertable.m4 \
90	${CFDIR}/feature/masquerade_entire_domain.m4 \
91	${CFDIR}/feature/masquerade_envelope.m4 \
92	${CFDIR}/feature/msp.m4 \
93	${CFDIR}/feature/mtamark.m4 \
94	${CFDIR}/feature/no_default_msa.m4 \
95	${CFDIR}/feature/nocanonify.m4 \
96	${CFDIR}/feature/notsticky.m4 \
97	${CFDIR}/feature/nouucp.m4 \
98	${CFDIR}/feature/promiscuous_relay.m4 \
99	${CFDIR}/feature/preserve_local_plus_detail.m4 \
100	${CFDIR}/feature/preserve_luser_host.m4 \
101	${CFDIR}/feature/queuegroup.m4 \
102	${CFDIR}/feature/ratecontrol.m4 \
103	${CFDIR}/feature/redirect.m4 \
104	${CFDIR}/feature/relay_based_on_MX.m4 \
105	${CFDIR}/feature/relay_entire_domain.m4 \
106	${CFDIR}/feature/relay_hosts_only.m4 \
107	${CFDIR}/feature/relay_local_from.m4 \
108	${CFDIR}/feature/relay_mail_from.m4 \
109	${CFDIR}/feature/smrsh.m4 \
110	${CFDIR}/feature/stickyhost.m4 \
111	${CFDIR}/feature/use_client_ptr.m4 \
112	${CFDIR}/feature/use_ct_file.m4 \
113	${CFDIR}/feature/use_cw_file.m4 \
114	${CFDIR}/feature/uucpdomain.m4 \
115	${CFDIR}/feature/virtuser_entire_domain.m4 \
116	${CFDIR}/feature/virtusertable.m4 \
117	${CFDIR}/m4/cf.m4 \
118	${CFDIR}/m4/cfhead.m4 \
119	${CFDIR}/m4/proto.m4 \
120	${CFDIR}/m4/version.m4 \
121	${CFDIR}/mailer/local.m4 \
122	${CFDIR}/mailer/smtp.m4 \
123	${CFDIR}/mailer/uucp.m4 \
124	${CFDIR}/ostype/solaris2.m4 \
125	${CFDIR}/ostype/solaris2.ml.m4 \
126	${CFDIR}/ostype/solaris2.pre5.m4 \
127	${CFDIR}/ostype/solaris8.m4
128
129$(ALL):  $(M4FILES)
130