17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*0ea5e3a5Sjjj# Common Development and Distribution License (the "License"). 6445f2479Sjbeck# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 227c478bd9Sstevel@tonic-gate# Makefile for configuration files. 237c478bd9Sstevel@tonic-gate# 24445f2479Sjbeck# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 257c478bd9Sstevel@tonic-gate# Use is subject to license terms. 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# @(#)Makefile 8.15 (Berkeley) 3/29/98 287c478bd9Sstevel@tonic-gate# %W% (Sun) %G% 297c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 307c478bd9Sstevel@tonic-gate# 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gate# 337c478bd9Sstevel@tonic-gate# Create configuration files using "m4 ../m4/cf.m4 file.mc > file.cf" 347c478bd9Sstevel@tonic-gate# of "/usr/ccs/bin/make file.cf"; these may be easier than tweaking the 357c478bd9Sstevel@tonic-gate# Makefile. Also, updates will over-write any changes to the Makefile. 367c478bd9Sstevel@tonic-gate# You do need to have a fairly modern M4 available (GNU m4 works). On 377c478bd9Sstevel@tonic-gate# Solaris, use /usr/ccs/bin/m4. 387c478bd9Sstevel@tonic-gate# 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gateM4= /usr/ccs/bin/m4 417c478bd9Sstevel@tonic-gateCFDIR= .. 427c478bd9Sstevel@tonic-gateMV= /usr/bin/mv 437c478bd9Sstevel@tonic-gateRM= /usr/bin/rm -f 447c478bd9Sstevel@tonic-gate 457c478bd9Sstevel@tonic-gate.SUFFIXES: .mc .cf 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gate.mc.cf: 487c478bd9Sstevel@tonic-gate test ! -f $@ || $(MV) $@ $@.prev 497c478bd9Sstevel@tonic-gate $(M4) ${CFDIR}/m4/cf.m4 $*.mc > $@ 507c478bd9Sstevel@tonic-gate 51*0ea5e3a5SjjjALL= sendmail.cf submit.cf local.cf 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gateall: $(ALL) 547c478bd9Sstevel@tonic-gate 557c478bd9Sstevel@tonic-gateclean cleandir: 567c478bd9Sstevel@tonic-gate $(RM) $(ALL) core 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gatedepend install: 597c478bd9Sstevel@tonic-gate 607c478bd9Sstevel@tonic-gate# this is overkill, but.... 617c478bd9Sstevel@tonic-gateM4FILES=\ 627c478bd9Sstevel@tonic-gate ${CFDIR}/domain/generic.m4 \ 637c478bd9Sstevel@tonic-gate ${CFDIR}/domain/solaris-antispam.m4 \ 647c478bd9Sstevel@tonic-gate ${CFDIR}/domain/solaris-generic.m4 \ 657c478bd9Sstevel@tonic-gate ${CFDIR}/feature/accept_unqualified_senders.m4 \ 667c478bd9Sstevel@tonic-gate ${CFDIR}/feature/accept_unresolvable_domains.m4 \ 677c478bd9Sstevel@tonic-gate ${CFDIR}/feature/access_db.m4 \ 687c478bd9Sstevel@tonic-gate ${CFDIR}/feature/allmasquerade.m4 \ 697c478bd9Sstevel@tonic-gate ${CFDIR}/feature/always_add_domain.m4 \ 707c478bd9Sstevel@tonic-gate ${CFDIR}/feature/bestmx_is_local.m4 \ 717c478bd9Sstevel@tonic-gate ${CFDIR}/feature/bitdomain.m4 \ 727c478bd9Sstevel@tonic-gate ${CFDIR}/feature/blacklist_recipients.m4 \ 737c478bd9Sstevel@tonic-gate ${CFDIR}/feature/compat_check.m4 \ 747c478bd9Sstevel@tonic-gate ${CFDIR}/feature/conncontrol.m4 \ 757c478bd9Sstevel@tonic-gate ${CFDIR}/feature/delay_checks.m4 \ 767c478bd9Sstevel@tonic-gate ${CFDIR}/feature/dnsbl.m4 \ 777c478bd9Sstevel@tonic-gate ${CFDIR}/feature/domaintable.m4 \ 787c478bd9Sstevel@tonic-gate ${CFDIR}/feature/enhdnsbl.m4 \ 797c478bd9Sstevel@tonic-gate ${CFDIR}/feature/generics_entire_domain.m4 \ 807c478bd9Sstevel@tonic-gate ${CFDIR}/feature/genericstable.m4 \ 817c478bd9Sstevel@tonic-gate ${CFDIR}/feature/greet_pause.m4 \ 827c478bd9Sstevel@tonic-gate ${CFDIR}/feature/ldap_routing.m4 \ 837c478bd9Sstevel@tonic-gate ${CFDIR}/feature/limited_masquerade.m4 \ 847c478bd9Sstevel@tonic-gate ${CFDIR}/feature/local_lmtp.m4 \ 857c478bd9Sstevel@tonic-gate ${CFDIR}/feature/local_no_masquerade.m4 \ 86445f2479Sjbeck ${CFDIR}/feature/local_procmail.m4 \ 877c478bd9Sstevel@tonic-gate ${CFDIR}/feature/lookupdotdomain.m4 \ 887c478bd9Sstevel@tonic-gate ${CFDIR}/feature/loose_relay_check.m4 \ 897c478bd9Sstevel@tonic-gate ${CFDIR}/feature/mailertable.m4 \ 907c478bd9Sstevel@tonic-gate ${CFDIR}/feature/masquerade_entire_domain.m4 \ 917c478bd9Sstevel@tonic-gate ${CFDIR}/feature/masquerade_envelope.m4 \ 927c478bd9Sstevel@tonic-gate ${CFDIR}/feature/msp.m4 \ 937c478bd9Sstevel@tonic-gate ${CFDIR}/feature/mtamark.m4 \ 947c478bd9Sstevel@tonic-gate ${CFDIR}/feature/no_default_msa.m4 \ 957c478bd9Sstevel@tonic-gate ${CFDIR}/feature/nocanonify.m4 \ 967c478bd9Sstevel@tonic-gate ${CFDIR}/feature/notsticky.m4 \ 977c478bd9Sstevel@tonic-gate ${CFDIR}/feature/nouucp.m4 \ 987c478bd9Sstevel@tonic-gate ${CFDIR}/feature/preserve_local_plus_detail.m4 \ 997c478bd9Sstevel@tonic-gate ${CFDIR}/feature/preserve_luser_host.m4 \ 100445f2479Sjbeck ${CFDIR}/feature/promiscuous_relay.m4 \ 1017c478bd9Sstevel@tonic-gate ${CFDIR}/feature/queuegroup.m4 \ 1027c478bd9Sstevel@tonic-gate ${CFDIR}/feature/ratecontrol.m4 \ 1037c478bd9Sstevel@tonic-gate ${CFDIR}/feature/redirect.m4 \ 1047c478bd9Sstevel@tonic-gate ${CFDIR}/feature/relay_based_on_MX.m4 \ 1057c478bd9Sstevel@tonic-gate ${CFDIR}/feature/relay_entire_domain.m4 \ 1067c478bd9Sstevel@tonic-gate ${CFDIR}/feature/relay_hosts_only.m4 \ 1077c478bd9Sstevel@tonic-gate ${CFDIR}/feature/relay_local_from.m4 \ 1087c478bd9Sstevel@tonic-gate ${CFDIR}/feature/relay_mail_from.m4 \ 1097c478bd9Sstevel@tonic-gate ${CFDIR}/feature/smrsh.m4 \ 1107c478bd9Sstevel@tonic-gate ${CFDIR}/feature/stickyhost.m4 \ 1117c478bd9Sstevel@tonic-gate ${CFDIR}/feature/use_client_ptr.m4 \ 1127c478bd9Sstevel@tonic-gate ${CFDIR}/feature/use_ct_file.m4 \ 1137c478bd9Sstevel@tonic-gate ${CFDIR}/feature/use_cw_file.m4 \ 1147c478bd9Sstevel@tonic-gate ${CFDIR}/feature/uucpdomain.m4 \ 1157c478bd9Sstevel@tonic-gate ${CFDIR}/feature/virtuser_entire_domain.m4 \ 1167c478bd9Sstevel@tonic-gate ${CFDIR}/feature/virtusertable.m4 \ 1177c478bd9Sstevel@tonic-gate ${CFDIR}/m4/cf.m4 \ 1187c478bd9Sstevel@tonic-gate ${CFDIR}/m4/cfhead.m4 \ 1197c478bd9Sstevel@tonic-gate ${CFDIR}/m4/proto.m4 \ 1207c478bd9Sstevel@tonic-gate ${CFDIR}/m4/version.m4 \ 1217c478bd9Sstevel@tonic-gate ${CFDIR}/mailer/local.m4 \ 1227c478bd9Sstevel@tonic-gate ${CFDIR}/mailer/smtp.m4 \ 1237c478bd9Sstevel@tonic-gate ${CFDIR}/mailer/uucp.m4 \ 1247c478bd9Sstevel@tonic-gate ${CFDIR}/ostype/solaris2.m4 \ 1257c478bd9Sstevel@tonic-gate ${CFDIR}/ostype/solaris2.ml.m4 \ 1267c478bd9Sstevel@tonic-gate ${CFDIR}/ostype/solaris2.pre5.m4 \ 1277c478bd9Sstevel@tonic-gate ${CFDIR}/ostype/solaris8.m4 1287c478bd9Sstevel@tonic-gate 1297c478bd9Sstevel@tonic-gate$(ALL): $(M4FILES) 130