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