Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
3544N/A#
3544N/A# CDDL HEADER START
3544N/A#
3544N/A# The contents of this file are subject to the terms of the
3544N/A# Common Development and Distribution License, Version 1.0 only
3544N/A# (the "License"). You may not use this file except in compliance
3544N/A# with the License.
3544N/A#
3544N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3544N/A# or http://www.opensolaris.org/os/licensing.
3544N/A# See the License for the specific language governing permissions
3544N/A# and limitations under the License.
3544N/A#
3544N/A# When distributing Covered Code, include this CDDL HEADER in each
3544N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3544N/A# If applicable, add the following below this CDDL HEADER, with the
3544N/A# fields enclosed by brackets "[]" replaced with your own identifying
3544N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3544N/A#
3544N/A# CDDL HEADER END
3544N/A#
3544N/A#
5185N/A# Copyright 1990, 2002 Sun Microsystems, Inc. All rights reserved.
5804N/A# Use is subject to license terms.
5185N/A#
5185N/A# ident "%Z%%M% %I% %E% SMI"
5185N/A#
3544N/A
3544N/APROG= passmgmt
3544N/AFILE= datemsk
3544N/ATXTS= $(FILE)
3544N/A
3544N/Ainclude ../Makefile.cmd
5185N/A
3544N/AFILEMODE= 0555
3544N/AOWNER= root
3544N/AGROUP= sys
3544N/ARELSBIN= ../sbin
3544N/AROOTFILE= $(ROOTETC)/$(FILE)
3544N/AROOTSYMLINK= $(ROOTBIN)/$(PROG)
3544N/A
3544N/A# conditional assignment
3544N/A$(ROOTFILE):= FILEMODE= $(LIBFILEMODE)
3544N/A
3544N/A.KEEP_STATE:
3544N/A
3544N/ALDLIBS += -lsecdb
3544N/A
3544N/Aall: $(PROG) $(TXTS)
3544N/A
3544N/AXGETFLAGS= -a -x $(PROG).xcl
3544N/A
3544N/Ainstall: all $(ROOTUSRSBINPROG) $(ROOTFILE) $(ROOTSYMLINK)
4305N/A
3544N/A$(ROOTSYMLINK):
4495N/A -$(RM) $@; $(SYMLINK) $(RELSBIN)/$(PROG) $@
4770N/A
3544N/A# datemsk is generated from datemsk.template because of a side-effect of
3544N/A# SCCS. Some of the datemsk format strings include "%<letter>%", which
4495N/A# SCCS confuses for ID keywords. datemsk.template should quote the "%"
3544N/A# with "\" and code below will filter out the "\". Only datemsk format
3544N/A# strings next to each other need to be quoted.
3544N/A
3544N/Adatemsk: datemsk.template
3544N/A @while read i; do echo $$i; done < datemsk.template > $@
3544N/A
3544N/Aclean:
3544N/A $(RM) datemsk
4495N/A
4770N/Alint: lint_PROG
5185N/A
5185N/Ainclude ../Makefile.targ
3544N/A