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# 30 31# 32# Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf" 33# of "/usr/ccs/bin/make file.cf"; these may be easier than tweaking the 34# Makefile. Also, updates will over-write any changes to the Makefile. 35# You do need to have a fairly modern M4 available (GNU m4 works). On 36# Solaris, use /usr/ccs/bin/m4. 37# 38 39M4= /usr/ccs/bin/m4 40CFDIR= .. 41MV= /usr/bin/mv 42RM= /usr/bin/rm -f 43 44.SUFFIXES: .mc .cf 45 46.mc.cf: 47 test ! -f $@ || $(MV) $@ $@.prev 48 $(M4) ${CFDIR}/m4/cf.m4 $*.mc > $@ 49 50ALL= sendmail.cf submit.cf 51 52all: $(ALL) 53 54clean cleandir: 55 $(RM) $(ALL) 56 57depend install: 58 59# this is overkill, but.... 60M4FILES=\ 61 ${CFDIR}/domain/generic.m4 \ 62 ${CFDIR}/domain/solaris-antispam.m4 \ 63 ${CFDIR}/domain/solaris-generic.m4 \ 64 ${CFDIR}/feature/accept_unqualified_senders.m4 \ 65 ${CFDIR}/feature/accept_unresolvable_domains.m4 \ 66 ${CFDIR}/feature/access_db.m4 \ 67 ${CFDIR}/feature/allmasquerade.m4 \ 68 ${CFDIR}/feature/always_add_domain.m4 \ 69 ${CFDIR}/feature/badmx.m4 \ 70 ${CFDIR}/feature/bestmx_is_local.m4 \ 71 ${CFDIR}/feature/bitdomain.m4 \ 72 ${CFDIR}/feature/blacklist_recipients.m4 \ 73 ${CFDIR}/feature/block_bad_helo.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/local_procmail.m4 \ 88 ${CFDIR}/feature/lookupdotdomain.m4 \ 89 ${CFDIR}/feature/loose_relay_check.m4 \ 90 ${CFDIR}/feature/mailertable.m4 \ 91 ${CFDIR}/feature/masquerade_entire_domain.m4 \ 92 ${CFDIR}/feature/masquerade_envelope.m4 \ 93 ${CFDIR}/feature/msp.m4 \ 94 ${CFDIR}/feature/mtamark.m4 \ 95 ${CFDIR}/feature/no_default_msa.m4 \ 96 ${CFDIR}/feature/nocanonify.m4 \ 97 ${CFDIR}/feature/notsticky.m4 \ 98 ${CFDIR}/feature/nouucp.m4 \ 99 ${CFDIR}/feature/preserve_local_plus_detail.m4 \ 100 ${CFDIR}/feature/preserve_luser_host.m4 \ 101 ${CFDIR}/feature/promiscuous_relay.m4 \ 102 ${CFDIR}/feature/queuegroup.m4 \ 103 ${CFDIR}/feature/ratecontrol.m4 \ 104 ${CFDIR}/feature/redirect.m4 \ 105 ${CFDIR}/feature/relay_based_on_MX.m4 \ 106 ${CFDIR}/feature/relay_entire_domain.m4 \ 107 ${CFDIR}/feature/relay_hosts_only.m4 \ 108 ${CFDIR}/feature/relay_local_from.m4 \ 109 ${CFDIR}/feature/relay_mail_from.m4 \ 110 ${CFDIR}/feature/require_rdns.m4 \ 111 ${CFDIR}/feature/smrsh.m4 \ 112 ${CFDIR}/feature/stickyhost.m4 \ 113 ${CFDIR}/feature/use_client_ptr.m4 \ 114 ${CFDIR}/feature/use_ct_file.m4 \ 115 ${CFDIR}/feature/use_cw_file.m4 \ 116 ${CFDIR}/feature/uucpdomain.m4 \ 117 ${CFDIR}/feature/virtuser_entire_domain.m4 \ 118 ${CFDIR}/feature/virtusertable.m4 \ 119 ${CFDIR}/m4/cf.m4 \ 120 ${CFDIR}/m4/cfhead.m4 \ 121 ${CFDIR}/m4/proto.m4 \ 122 ${CFDIR}/m4/version.m4 \ 123 ${CFDIR}/mailer/local.m4 \ 124 ${CFDIR}/mailer/smtp.m4 \ 125 ${CFDIR}/mailer/uucp.m4 \ 126 ${CFDIR}/ostype/solaris2.m4 \ 127 ${CFDIR}/ostype/solaris2.ml.m4 \ 128 ${CFDIR}/ostype/solaris2.pre5.m4 \ 129 ${CFDIR}/ostype/solaris8.m4 130 131$(ALL): $(M4FILES) 132