10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 510207SJames.McPherson@Sun.COM# Common Development and Distribution License (the "License"). 610207SJames.McPherson@Sun.COM# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*11838SLiane.Praza@Sun.COM# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 230Sstevel@tonic-gate# Use is subject to license terms. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate 260Sstevel@tonic-gateCRON_ENT= adm root sys 270Sstevel@tonic-gateCRON_LIB= .proto at.deny cron.deny queuedefs 28*11838SLiane.Praza@Sun.COMETC_SCRIPT= group project ttysrch mailcap mime.types 290Sstevel@tonic-gateZI_SPECIAL= zones-index 300Sstevel@tonic-gateSUBDIRS= sun 310Sstevel@tonic-gate 320Sstevel@tonic-gateinclude ../Makefile.cmd 330Sstevel@tonic-gate 340Sstevel@tonic-gateall:= TARGET= all 350Sstevel@tonic-gateinstall:= TARGET= install 360Sstevel@tonic-gateclean:= TARGET= clean 370Sstevel@tonic-gateclobber:= TARGET= clobber 380Sstevel@tonic-gatelint:= TARGET= lint 390Sstevel@tonic-gate 400Sstevel@tonic-gateCROND= $(ROOT)/var/spool/cron 410Sstevel@tonic-gateCRONTABD= $(ROOT)/var/spool/cron/crontabs 420Sstevel@tonic-gateCRONLIBD= $(ROOT)/etc/cron.d 430Sstevel@tonic-gateETCZONESD= $(ROOT)/etc/zones 440Sstevel@tonic-gateDIRS= $(CROND) $(CRONTABD) $(CRONLIBD) 450Sstevel@tonic-gate 460Sstevel@tonic-gateCRONTABS= $(CRON_ENT:%=$(CRONTABD)/%) 470Sstevel@tonic-gateCRONLIBS= $(CRON_LIB:%=$(CRONLIBD)/%) 480Sstevel@tonic-gateETCSCRIPTS= $(ETC_SCRIPT:%=$(ROOTETC)/%) 490Sstevel@tonic-gateZISPECIALS= $(ETCZONESD)/index 500Sstevel@tonic-gate 510Sstevel@tonic-gateFILEMODE= 0644 520Sstevel@tonic-gate 530Sstevel@tonic-gate$(CRONLIBD)/.proto := FILEMODE = 0744 540Sstevel@tonic-gate$(CRONTABD)/adm := FILEMODE = 0600 550Sstevel@tonic-gate$(CRONTABD)/sys := FILEMODE = 0600 560Sstevel@tonic-gate$(CRONTABD)/root := FILEMODE = 0600 570Sstevel@tonic-gate 580Sstevel@tonic-gate.KEEP_STATE: 590Sstevel@tonic-gate 600Sstevel@tonic-gateall: $(CRON_ENT) $(CRON_LIB) $(ETC_SCRIPT) $(SUBDIRS) 610Sstevel@tonic-gate 620Sstevel@tonic-gateinstall: all $(DIRS) $(CRONTABS) $(CRONLIBS) $(ETCSCRIPTS) $(ETCZONESD) \ 630Sstevel@tonic-gate $(SUBDIRS) 640Sstevel@tonic-gate 650Sstevel@tonic-gate$(CRONTABD)/% : % 660Sstevel@tonic-gate $(INS.file) 670Sstevel@tonic-gate 680Sstevel@tonic-gate$(CRONLIBD)/% : % 690Sstevel@tonic-gate $(INS.file) 700Sstevel@tonic-gate 710Sstevel@tonic-gate$(ETCZONESD): $(ZI_SPECIAL) 720Sstevel@tonic-gate $(CP) -f $(ZI_SPECIAL) $(ZISPECIALS) 730Sstevel@tonic-gate $(CHMOD) $(FILEMODE) $(ZISPECIALS) 740Sstevel@tonic-gate 750Sstevel@tonic-gate$(SUBDIRS): FRC 760Sstevel@tonic-gate @cd $@; pwd; $(MAKE) $(MFLAGS) $(TARGET) 770Sstevel@tonic-gate 780Sstevel@tonic-gate$(DIRS): 790Sstevel@tonic-gate $(INS.dir) 800Sstevel@tonic-gate 810Sstevel@tonic-gateFRC: 820Sstevel@tonic-gate 830Sstevel@tonic-gateclean: 840Sstevel@tonic-gate 850Sstevel@tonic-gatelint: 860Sstevel@tonic-gate 870Sstevel@tonic-gateclobber: 88