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# Makefile for configuration files. 23# 24# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 25# Use is subject to license terms. 26# 27# @(#)Makefile 8.15 (Berkeley) 3/29/98 28# %W% (Sun) %G% 29# ident "%Z%%M% %I% %E% SMI" 30# 31 32# 33# Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf" 34# of "/usr/ccs/bin/make file.cf"; these may be easier than tweaking the 35# Makefile. Also, updates will over-write any changes to the Makefile. 36# You do need to have a fairly modern M4 available (GNU m4 works). On 37# Solaris, use /usr/ccs/bin/m4. 38# 39 40M4= /usr/ccs/bin/m4 41CFDIR= .. 42MV= /usr/bin/mv 43RM= /usr/bin/rm -f 44 45.SUFFIXES: .mc .cf 46 47.mc.cf: 48 test ! -f $@ || $(MV) $@ $@.prev 49 $(M4) ${CFDIR}/m4/cf.m4 $*.mc > $@ 50 51ALL= sendmail.cf submit.cf 52 53all: $(ALL) 54 55clean cleandir: 56 $(RM) $(ALL) core 57 58depend install: 59 60# this is overkill, but.... 61M4FILES=\ 62 ${CFDIR}/domain/generic.m4 \ 63 ${CFDIR}/domain/solaris-antispam.m4 \ 64 ${CFDIR}/domain/solaris-generic.m4 \ 65 ${CFDIR}/feature/accept_unqualified_senders.m4 \ 66 ${CFDIR}/feature/accept_unresolvable_domains.m4 \ 67 ${CFDIR}/feature/access_db.m4 \ 68 ${CFDIR}/feature/allmasquerade.m4 \ 69 ${CFDIR}/feature/always_add_domain.m4 \ 70 ${CFDIR}/feature/bestmx_is_local.m4 \ 71 ${CFDIR}/feature/bitdomain.m4 \ 72 ${CFDIR}/feature/blacklist_recipients.m4 \ 73 ${CFDIR}/feature/compat_check.m4 \ 74 ${CFDIR}/feature/conncontrol.m4 \ 75 ${CFDIR}/feature/delay_checks.m4 \ 76 ${CFDIR}/feature/dnsbl.m4 \ 77 ${CFDIR}/feature/domaintable.m4 \ 78 ${CFDIR}/feature/enhdnsbl.m4 \ 79 ${CFDIR}/feature/generics_entire_domain.m4 \ 80 ${CFDIR}/feature/genericstable.m4 \ 81 ${CFDIR}/feature/greet_pause.m4 \ 82 ${CFDIR}/feature/ldap_routing.m4 \ 83 ${CFDIR}/feature/limited_masquerade.m4 \ 84 ${CFDIR}/feature/local_lmtp.m4 \ 85 ${CFDIR}/feature/local_no_masquerade.m4 \ 86 ${CFDIR}/feature/local_procmail.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/preserve_local_plus_detail.m4 \ 99 ${CFDIR}/feature/preserve_luser_host.m4 \ 100 ${CFDIR}/feature/promiscuous_relay.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