1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A# cmd/sendmail/cf/Makefile
1N/A#
1N/A
1N/Ainclude ../../Makefile.cmd
1N/A
1N/ACFS= sendmail.cf submit.cf
1N/A
1N/ASUBCFS= cf/sendmail.cf cf/submit.cf
1N/A
1N/ACOMMONM4FILES= m4/version.m4 m4/cf.m4 m4/cfhead.m4 m4/proto.m4 \
1N/A ostype/solaris11.m4 domain/solaris-generic.m4 \
1N/A mailer/local.m4 mailer/smtp.m4
1N/A
1N/AROOTETCMAIL = $(ROOTETC)/mail
1N/A
1N/AROOTETCMAILFILES=$(CFS:%=$(ROOTETCMAIL)/%)
1N/A
1N/AROOTETCMAILCF = $(ROOTETCMAIL)/cf
1N/A
1N/ABUILDPARTS = $(ROOTETCMAILCF)/README \
1N/A $(ROOTETCMAILCF)/cf/Makefile \
1N/A $(ROOTETCMAILCF)/cf/sendmail.cf \
1N/A $(ROOTETCMAILCF)/cf/sendmail.mc \
1N/A $(ROOTETCMAILCF)/cf/submit.cf \
1N/A $(ROOTETCMAILCF)/cf/submit.mc \
1N/A $(ROOTETCMAILCF)/domain/generic.m4 \
1N/A $(ROOTETCMAILCF)/domain/solaris-antispam.m4 \
1N/A $(ROOTETCMAILCF)/domain/solaris-generic.m4 \
1N/A $(ROOTETCMAILCF)/feature/accept_unqualified_senders.m4 \
1N/A $(ROOTETCMAILCF)/feature/accept_unresolvable_domains.m4 \
1N/A $(ROOTETCMAILCF)/feature/access_db.m4 \
1N/A $(ROOTETCMAILCF)/feature/allmasquerade.m4 \
1N/A $(ROOTETCMAILCF)/feature/always_add_domain.m4 \
1N/A $(ROOTETCMAILCF)/feature/badmx.m4 \
1N/A $(ROOTETCMAILCF)/feature/bestmx_is_local.m4 \
1N/A $(ROOTETCMAILCF)/feature/bitdomain.m4 \
1N/A $(ROOTETCMAILCF)/feature/blacklist_recipients.m4 \
1N/A $(ROOTETCMAILCF)/feature/block_bad_helo.m4 \
1N/A $(ROOTETCMAILCF)/feature/compat_check.m4 \
1N/A $(ROOTETCMAILCF)/feature/conncontrol.m4 \
1N/A $(ROOTETCMAILCF)/feature/delay_checks.m4 \
1N/A $(ROOTETCMAILCF)/feature/dnsbl.m4 \
1N/A $(ROOTETCMAILCF)/feature/domaintable.m4 \
1N/A $(ROOTETCMAILCF)/feature/enhdnsbl.m4 \
1N/A $(ROOTETCMAILCF)/feature/generics_entire_domain.m4 \
1N/A $(ROOTETCMAILCF)/feature/genericstable.m4 \
1N/A $(ROOTETCMAILCF)/feature/greet_pause.m4 \
1N/A $(ROOTETCMAILCF)/feature/ldap_routing.m4 \
1N/A $(ROOTETCMAILCF)/feature/limited_masquerade.m4 \
1N/A $(ROOTETCMAILCF)/feature/local_lmtp.m4 \
1N/A $(ROOTETCMAILCF)/feature/local_no_masquerade.m4 \
1N/A $(ROOTETCMAILCF)/feature/local_procmail.m4 \
1N/A $(ROOTETCMAILCF)/feature/lookupdotdomain.m4 \
1N/A $(ROOTETCMAILCF)/feature/loose_relay_check.m4 \
1N/A $(ROOTETCMAILCF)/feature/mailertable.m4 \
1N/A $(ROOTETCMAILCF)/feature/masquerade_entire_domain.m4 \
1N/A $(ROOTETCMAILCF)/feature/masquerade_envelope.m4 \
1N/A $(ROOTETCMAILCF)/feature/msp.m4 \
1N/A $(ROOTETCMAILCF)/feature/mtamark.m4 \
1N/A $(ROOTETCMAILCF)/feature/no_default_msa.m4 \
1N/A $(ROOTETCMAILCF)/feature/nocanonify.m4 \
1N/A $(ROOTETCMAILCF)/feature/notsticky.m4 \
1N/A $(ROOTETCMAILCF)/feature/nouucp.m4 \
1N/A $(ROOTETCMAILCF)/feature/nullclient.m4 \
1N/A $(ROOTETCMAILCF)/feature/preserve_local_plus_detail.m4 \
1N/A $(ROOTETCMAILCF)/feature/preserve_luser_host.m4 \
1N/A $(ROOTETCMAILCF)/feature/promiscuous_relay.m4 \
1N/A $(ROOTETCMAILCF)/feature/queuegroup.m4 \
1N/A $(ROOTETCMAILCF)/feature/ratecontrol.m4 \
1N/A $(ROOTETCMAILCF)/feature/redirect.m4 \
1N/A $(ROOTETCMAILCF)/feature/relay_based_on_MX.m4 \
1N/A $(ROOTETCMAILCF)/feature/relay_entire_domain.m4 \
1N/A $(ROOTETCMAILCF)/feature/relay_hosts_only.m4 \
1N/A $(ROOTETCMAILCF)/feature/relay_local_from.m4 \
1N/A $(ROOTETCMAILCF)/feature/relay_mail_from.m4 \
1N/A $(ROOTETCMAILCF)/feature/require_rdns.m4 \
1N/A $(ROOTETCMAILCF)/feature/smrsh.m4 \
1N/A $(ROOTETCMAILCF)/feature/stickyhost.m4 \
1N/A $(ROOTETCMAILCF)/feature/use_client_ptr.m4 \
1N/A $(ROOTETCMAILCF)/feature/use_ct_file.m4 \
1N/A $(ROOTETCMAILCF)/feature/use_cw_file.m4 \
1N/A $(ROOTETCMAILCF)/feature/uucpdomain.m4 \
1N/A $(ROOTETCMAILCF)/feature/virtuser_entire_domain.m4 \
1N/A $(ROOTETCMAILCF)/feature/virtusertable.m4 \
1N/A $(ROOTETCMAILCF)/m4/cf.m4 \
1N/A $(ROOTETCMAILCF)/m4/cfhead.m4 \
1N/A $(ROOTETCMAILCF)/m4/proto.m4 \
1N/A $(ROOTETCMAILCF)/m4/version.m4 \
1N/A $(ROOTETCMAILCF)/mailer/local.m4 \
1N/A $(ROOTETCMAILCF)/mailer/procmail.m4 \
1N/A $(ROOTETCMAILCF)/mailer/smtp.m4 \
1N/A $(ROOTETCMAILCF)/mailer/uucp.m4 \
1N/A $(ROOTETCMAILCF)/ostype/solaris2.m4 \
1N/A $(ROOTETCMAILCF)/ostype/solaris2.ml.m4 \
1N/A $(ROOTETCMAILCF)/ostype/solaris2.pre5.m4 \
1N/A $(ROOTETCMAILCF)/ostype/solaris8.m4 \
1N/A $(ROOTETCMAILCF)/ostype/solaris11.m4 \
1N/A $(ROOTETCMAILCF)/sh/makeinfo.sh
1N/A
1N/ASCRIPTS= $(ROOTUSRSBIN)/check-hostname \
1N/A $(ROOTUSRSBIN)/check-permissions
1N/A
1N/A.PARALLEL: $(BUILDPARTS) $(CFS)
1N/A
1N/AFILEMODE= 444
1N/AM4FLAGS= -DSUN_HIDE_INTERNAL_DETAILS
1N/A
1N/A.KEEP_STATE:
1N/A
1N/Aall: $(CFS)
1N/A
1N/A%.cf: cf/%.cf
1N/A $(CP) $< $@
1N/A
1N/Acf/%.cf: cf/%.mc $(COMMONM4FILES)
1N/A cd cf; pwd; $(M4) $(M4FLAGS) ../m4/cf.m4 $(<F) > $(@F)
1N/A
1N/Ainstall: all $(ROOTETCMAILFILES) $(BUILDPARTS) $(SCRIPTS) .WAIT links
1N/A
1N/Aclean:
1N/A $(RM) $(CFS) $(SUBCFS)
1N/A
1N/Aclobber: clean
1N/A
1N/Alint:
1N/A
1N/A$(ROOTETCMAIL)/%.cf: %.cf
1N/A $(INS.file)
1N/A
1N/A$(ROOTETCMAILCF)/%: %
1N/A $(INS.file)
1N/A
1N/A$(ROOTUSRSBIN)/check-%: sh/check-%.sh
1N/A $(INS.rename)
1N/A $(CHMOD) +x $@
1N/A
1N/Alinks:
1N/A $(RM) $(ROOTLIB)/mail
1N/A $(SYMLINK) ../../etc/mail/cf $(ROOTLIB)/mail
1N/A $(RM) $(ROOTETCMAILCF)/sh/check-hostname
1N/A $(SYMLINK) ../../../../usr/sbin/check-hostname $(ROOTETCMAILCF)/sh/check-hostname
1N/A $(RM) $(ROOTETCMAILCF)/sh/check-permissions
1N/A $(SYMLINK) ../../../../usr/sbin/check-permissions $(ROOTETCMAILCF)/sh/check-permissions
1N/A $(RM) $(ROOTETCMAIL)/main.cf
1N/A $(SYMLINK) sendmail.cf $(ROOTETCMAIL)/main.cf
1N/A $(RM) $(ROOTETCMAIL)/subsidiary.cf
1N/A $(SYMLINK) sendmail.cf $(ROOTETCMAIL)/subsidiary.cf
1N/A $(RM) $(ROOTETCMAILCF)/cf/main.cf
1N/A $(SYMLINK) sendmail.cf $(ROOTETCMAILCF)/cf/main.cf
1N/A $(RM) $(ROOTETCMAILCF)/cf/main.mc
1N/A $(SYMLINK) sendmail.mc $(ROOTETCMAILCF)/cf/main.mc
1N/A $(RM) $(ROOTETCMAILCF)/cf/subsidiary.cf
1N/A $(SYMLINK) sendmail.cf $(ROOTETCMAILCF)/cf/subsidiary.cf
1N/A $(RM) $(ROOTETCMAILCF)/cf/subsidiary.mc
1N/A $(SYMLINK) sendmail.mc $(ROOTETCMAILCF)/cf/subsidiary.mc