Makefile revision c5c4113dfcabb1eed3d4bdf7609de5170027a794
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License, Version 1.0 only
0N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A# ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A
0N/ACRON_ENT= adm root sys
481N/ACRON_LIB= .proto at.deny cron.deny queuedefs
481N/AETC_SCRIPT= group project ttysrch
0N/AZI_SPECIAL= zones-index
SUBDIRS= sun
include ../Makefile.cmd
all:= TARGET= all
install:= TARGET= install
clean:= TARGET= clean
clobber:= TARGET= clobber
lint:= TARGET= lint
CROND= $(ROOT)/var/spool/cron
CRONTABD= $(ROOT)/var/spool/cron/crontabs
CRONLIBD= $(ROOT)/etc/cron.d
ETCZONESD= $(ROOT)/etc/zones
DIRS= $(CROND) $(CRONTABD) $(CRONLIBD)
CRONTABS= $(CRON_ENT:%=$(CRONTABD)/%)
CRONLIBS= $(CRON_LIB:%=$(CRONLIBD)/%)
ETCSCRIPTS= $(ETC_SCRIPT:%=$(ROOTETC)/%)
ZISPECIALS= $(ETCZONESD)/index
FILEMODE= 0644
GROUP= sys
$(CRONLIBD)/.proto := FILEMODE = 0744
$(CRONTABD)/adm := FILEMODE = 0600
$(CRONTABD)/sys := FILEMODE = 0600
$(CRONTABD)/root := FILEMODE = 0600
.KEEP_STATE:
all: $(CRON_ENT) $(CRON_LIB) $(ETC_SCRIPT) $(SUBDIRS)
install: all $(DIRS) $(CRONTABS) $(CRONLIBS) $(ETCSCRIPTS) $(ETCZONESD) \
$(SUBDIRS)
$(CRONTABD)/% : %
$(INS.file)
$(CRONLIBD)/% : %
$(INS.file)
$(ETCZONESD): $(ZI_SPECIAL)
$(CP) -f $(ZI_SPECIAL) $(ZISPECIALS)
$(CHMOD) $(FILEMODE) $(ZISPECIALS)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET)
$(DIRS):
$(INS.dir)
FRC:
clean:
lint:
clobber: