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 51706Swesolows# Common Development and Distribution License (the "License"). 61706Swesolows# 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# 211706Swesolows 220Sstevel@tonic-gate# 23*13059SThuy.Fettig@oracle.COM# Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved. 240Sstevel@tonic-gate# 250Sstevel@tonic-gate 260Sstevel@tonic-gateinclude ../../Makefile.cmd 270Sstevel@tonic-gate 280Sstevel@tonic-gatesparc_PROG= 290Sstevel@tonic-gatei386_PROG= 300Sstevel@tonic-gate 310Sstevel@tonic-gatePROG= \ 320Sstevel@tonic-gate README \ 330Sstevel@tonic-gate cachefs.daemon \ 340Sstevel@tonic-gate devlinks \ 350Sstevel@tonic-gate dhcp \ 360Sstevel@tonic-gate drvconfig \ 370Sstevel@tonic-gate init.snmpdx \ 380Sstevel@tonic-gate ldap.client \ 390Sstevel@tonic-gate mkdtab \ 400Sstevel@tonic-gate nfs.server \ 410Sstevel@tonic-gate nscd \ 420Sstevel@tonic-gate sendmail \ 430Sstevel@tonic-gate slpd \ 440Sstevel@tonic-gate sysetup \ 450Sstevel@tonic-gate uucp \ 460Sstevel@tonic-gate $($(MACH)_PROG) 470Sstevel@tonic-gate 480Sstevel@tonic-gate 490Sstevel@tonic-gateOTHERPROG= README.rcS README.rc2 README.rc3 500Sstevel@tonic-gate 510Sstevel@tonic-gateROOTETCINITD= $(ROOTETC)/init.d 520Sstevel@tonic-gateROOTETCRCSD= $(ROOTETC)/rcS.d 530Sstevel@tonic-gateROOTETCRC0D= $(ROOTETC)/rc0.d 540Sstevel@tonic-gateROOTETCRC1D= $(ROOTETC)/rc1.d 550Sstevel@tonic-gateROOTETCRC2D= $(ROOTETC)/rc2.d 560Sstevel@tonic-gateROOTETCRC3D= $(ROOTETC)/rc3.d 570Sstevel@tonic-gate 580Sstevel@tonic-gateDIRS= $(ROOTETCINITD) \ 590Sstevel@tonic-gate $(ROOTETCRCSD) \ 600Sstevel@tonic-gate $(ROOTETCRC0D) \ 610Sstevel@tonic-gate $(ROOTETCRC1D) \ 620Sstevel@tonic-gate $(ROOTETCRC2D) \ 630Sstevel@tonic-gate $(ROOTETCRC3D) 640Sstevel@tonic-gate 650Sstevel@tonic-gateROOTETCINITDPROG= $(PROG:%=$(ROOTETCINITD)/%) 660Sstevel@tonic-gate 670Sstevel@tonic-gateDIRMODE = 0755 680Sstevel@tonic-gateFILEMODE = 0744 690Sstevel@tonic-gate$(ROOTETCINITD)/README := FILEMODE = 0644 700Sstevel@tonic-gate$(ROOTETCRCSD)/README := FILEMODE = 0644 710Sstevel@tonic-gate$(ROOTETCRC2D)/README := FILEMODE = 0644 720Sstevel@tonic-gate$(ROOTETCRC3D)/README := FILEMODE = 0644 730Sstevel@tonic-gate 740Sstevel@tonic-gate.KEEP_STATE: 750Sstevel@tonic-gate 760Sstevel@tonic-gateall: $(PROG) 770Sstevel@tonic-gate 780Sstevel@tonic-gate# Don't re-install directories already installed by Targetdirs 790Sstevel@tonic-gate#$(DIRS): 800Sstevel@tonic-gate# $(INS.dir) 810Sstevel@tonic-gate 820Sstevel@tonic-gate$(ROOTETCINITD)/%: % 830Sstevel@tonic-gate $(INS.file) 840Sstevel@tonic-gate 850Sstevel@tonic-gate$(ROOTETCRCSD)/%: %.rcS 860Sstevel@tonic-gate $(INS.rename) 870Sstevel@tonic-gate 880Sstevel@tonic-gate$(ROOTETCRC2D)/%: %.rc2 890Sstevel@tonic-gate $(INS.rename) 900Sstevel@tonic-gate 910Sstevel@tonic-gate$(ROOTETCRC3D)/%: %.rc3 920Sstevel@tonic-gate $(INS.rename) 930Sstevel@tonic-gate 940Sstevel@tonic-gateinstall: all $(ROOTETCINITDPROG) \ 950Sstevel@tonic-gate $(ROOTETCRCSD)/README \ 960Sstevel@tonic-gate $(ROOTETCRC2D)/README \ 970Sstevel@tonic-gate $(ROOTETCRC3D)/README 980Sstevel@tonic-gate 990Sstevel@tonic-gatelint: 1000Sstevel@tonic-gate 1010Sstevel@tonic-gateclean: 1020Sstevel@tonic-gate 1030Sstevel@tonic-gateclobber: 104