Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
1487N/A#
1487N/A# CDDL HEADER START
1487N/A#
1487N/A# The contents of this file are subject to the terms of the
1487N/A# Common Development and Distribution License, Version 1.0 only
1487N/A# (the "License"). You may not use this file except in compliance
1487N/A# with the License.
1487N/A#
1487N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1487N/A# or http://www.opensolaris.org/os/licensing.
1487N/A# See the License for the specific language governing permissions
1487N/A# and limitations under the License.
1487N/A#
1487N/A# When distributing Covered Code, include this CDDL HEADER in each
1487N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1487N/A# If applicable, add the following below this CDDL HEADER, with the
1487N/A# fields enclosed by brackets "[]" replaced with your own identifying
1487N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1487N/A#
1487N/A# CDDL HEADER END
5353N/A#
1487N/A#
5441N/A# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5441N/A# Use is subject to license terms.
5441N/A#
5441N/A# ident "%Z%%M% %I% %E% SMI"
5441N/A#
5441N/A
5441N/Ainclude ../../Makefile.cmd
1487N/A
5441N/ASRCS= aliases helpfile local-host-names trusted-users
5441N/A
5441N/AMANIFEST= smtp-sendmail.xml
5441N/AROOTMANIFESTDIR= $(ROOTSVCNETWORK)
5441N/AROOTMETHOD= $(ROOTLIBSVCMETHOD)/smtp-sendmail
5441N/A
5441N/AROOTETCMAIL = $(ROOTETC)/mail
5441N/AROOTETCMAILF = $(ROOTETCMAIL)/aliases $(ROOTETCMAIL)/helpfile \
1487N/A $(ROOTETCMAIL)/local-host-names \
1487N/A $(ROOTETCMAIL)/trusted-users
3160N/AROOTETCSYMLINKS = $(ROOTETC)/aliases
2899N/AROOTETCMAILSYMLINKS = $(ROOTETCMAIL)/sendmail.hf
3817N/A
5441N/A# conditional assignments
3817N/A$(ROOTETCMAILF) := FILEMODE = 644
1487N/A$(ROOTETCMAILF) := OWNER = root
1487N/A
5441N/A$(ROOTSVCNETWORK)/smtp-sendmail.xml := OWNER = root
1487N/A$(ROOTSVCNETWORK)/smtp-sendmail.xml := GROUP = sys
1938N/A$(ROOTSVCNETWORK)/smtp-sendmail.xml := FILEMODE = 0444
1938N/A
5463N/A$(ROOT)/lib/svc/method/smtp-sendmail := OWNER = root
5463N/A$(ROOT)/lib/svc/method/smtp-sendmail := GROUP = bin
5441N/A$(ROOT)/lib/svc/method/smtp-sendmail := FILEMODE = 0555
5441N/A
5441N/A.KEEP_STATE:
5441N/A
5441N/Aall: $(SRCS)
1487N/A
5441N/Ainstall: all $(ROOTETCMAILF) $(ROOTETCSYMLINKS) \
5441N/A $(ROOTETCMAILSYMLINKS) $(ROOTMANIFEST) $(ROOTMETHOD)
1888N/A
5441N/Acheck: $(CHKMANIFEST)
5441N/A
1487N/Aclean:
1487N/A
4337N/Aclobber:
4337N/A
5441N/Alint:
5441N/A
$(ROOTETCMAIL)/%: %
$(INS.file)
$(ROOTETCSYMLINKS):
$(RM) $@; $(SYMLINK) mail/aliases $@
$(ROOTETCMAILSYMLINKS):
$(RM) $@; $(SYMLINK) helpfile $@