Makefile revision 9ba7e32f37631a29f011e29a926eab05899802ca
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# CDDL HEADER START
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# The contents of this file are subject to the terms of the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Common Development and Distribution License (the "License").
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# You may not use this file except in compliance with the License.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# See the License for the specific language governing permissions
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# and limitations under the License.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# When distributing Covered Code, include this CDDL HEADER in each
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If applicable, add the following below this CDDL HEADER, with the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# fields enclosed by brackets "[]" replaced with your own identifying
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# CDDL HEADER END
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Use is subject to license terms.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#pragma ident "%Z%%M% %I% %E% SMI"
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Executables produced
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Source files
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Set of target install directories
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Set of target install files
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Performance monitoring should not be enabled by default. Hence, these
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# entries are comments. Note the difficulty of inserting a literal #
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# in a makefile.... Wonderful parser here....
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesENTRY1= '$(COMMENT_CHAR) 0 * * * 0-6 /usr/lib/sa/sa1'
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesENTRY2= '$(COMMENT_CHAR) 20,40 8-17 * * 1-5 /usr/lib/sa/sa1'
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesENTRY3= '$(COMMENT_CHAR) 5 18 * * 1-5 /usr/lib/sa/sa2 -s 8:00 -e 18:01 -i 1200 -A'
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Conditionals
f8fc4173f3b9715e5945b668ba511b77573dc1d1minfrin# $(ROOTUSRSBIN)/$(SADP) := FILEMODE = 2555
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# $(ROOTUSRSBIN)/$(SADP) := GROUP = sys
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# The edit of SYSCRONTAB must be done unconditionally because of the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# creation of this file by a different component (Adm) and the possible
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# backdating.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(ROOTINITSHELL) $(ROOTLIBSHELL) $(ROOTSYMLINKS) \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes @if [ -f $(SYSCRONTAB) ]; \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes if $(GREP) "sa1" $(SYSCRONTAB) >/dev/null 2>&1 ; then :; \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes if $(GREP) "sa2" $(SYSCRONTAB) >/dev/null 2>&1 ; then :; \
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes $(RM) $(SAG_OBJECTS) $(SADC_OBJECTS) $(PROGS) $(SHELLS) $(SADP)