1*7c478bd9Sstevel@tonic-gate# 2*7c478bd9Sstevel@tonic-gate# CDDL HEADER START 3*7c478bd9Sstevel@tonic-gate# 4*7c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*7c478bd9Sstevel@tonic-gate# Common Development and Distribution License, Version 1.0 only 6*7c478bd9Sstevel@tonic-gate# (the "License"). You may not use this file except in compliance 7*7c478bd9Sstevel@tonic-gate# with the License. 8*7c478bd9Sstevel@tonic-gate# 9*7c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*7c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 11*7c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 12*7c478bd9Sstevel@tonic-gate# and limitations under the License. 13*7c478bd9Sstevel@tonic-gate# 14*7c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 15*7c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*7c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 17*7c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 18*7c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 19*7c478bd9Sstevel@tonic-gate# 20*7c478bd9Sstevel@tonic-gate# CDDL HEADER END 21*7c478bd9Sstevel@tonic-gate# 22*7c478bd9Sstevel@tonic-gate# 23*7c478bd9Sstevel@tonic-gate# Copyright 2005 Sun Microsystems, Inc. All rights reserved. 24*7c478bd9Sstevel@tonic-gate# Use is subject to license terms. 25*7c478bd9Sstevel@tonic-gate# 26*7c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 27*7c478bd9Sstevel@tonic-gate# 28*7c478bd9Sstevel@tonic-gate 29*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd 30*7c478bd9Sstevel@tonic-gate 31*7c478bd9Sstevel@tonic-gatesparc_PROG= 32*7c478bd9Sstevel@tonic-gatei386_PROG= 33*7c478bd9Sstevel@tonic-gate 34*7c478bd9Sstevel@tonic-gatePROG= \ 35*7c478bd9Sstevel@tonic-gate README \ 36*7c478bd9Sstevel@tonic-gate acctadm \ 37*7c478bd9Sstevel@tonic-gate boot.server \ 38*7c478bd9Sstevel@tonic-gate cachefs.daemon \ 39*7c478bd9Sstevel@tonic-gate deallocate \ 40*7c478bd9Sstevel@tonic-gate devlinks \ 41*7c478bd9Sstevel@tonic-gate dhcp \ 42*7c478bd9Sstevel@tonic-gate drvconfig \ 43*7c478bd9Sstevel@tonic-gate init.dmi \ 44*7c478bd9Sstevel@tonic-gate init.snmpdx \ 45*7c478bd9Sstevel@tonic-gate ldap.client \ 46*7c478bd9Sstevel@tonic-gate mkdtab \ 47*7c478bd9Sstevel@tonic-gate nfs.server \ 48*7c478bd9Sstevel@tonic-gate nscd \ 49*7c478bd9Sstevel@tonic-gate pcmcia \ 50*7c478bd9Sstevel@tonic-gate sendmail \ 51*7c478bd9Sstevel@tonic-gate slpd \ 52*7c478bd9Sstevel@tonic-gate sysetup \ 53*7c478bd9Sstevel@tonic-gate uucp \ 54*7c478bd9Sstevel@tonic-gate volmgt \ 55*7c478bd9Sstevel@tonic-gate $($(MACH)_PROG) 56*7c478bd9Sstevel@tonic-gate 57*7c478bd9Sstevel@tonic-gate 58*7c478bd9Sstevel@tonic-gateOTHERPROG= README.rcS README.rc2 README.rc3 59*7c478bd9Sstevel@tonic-gate 60*7c478bd9Sstevel@tonic-gateROOTETCINITD= $(ROOTETC)/init.d 61*7c478bd9Sstevel@tonic-gateROOTETCRCSD= $(ROOTETC)/rcS.d 62*7c478bd9Sstevel@tonic-gateROOTETCRC0D= $(ROOTETC)/rc0.d 63*7c478bd9Sstevel@tonic-gateROOTETCRC1D= $(ROOTETC)/rc1.d 64*7c478bd9Sstevel@tonic-gateROOTETCRC2D= $(ROOTETC)/rc2.d 65*7c478bd9Sstevel@tonic-gateROOTETCRC3D= $(ROOTETC)/rc3.d 66*7c478bd9Sstevel@tonic-gate 67*7c478bd9Sstevel@tonic-gateDIRS= $(ROOTETCINITD) \ 68*7c478bd9Sstevel@tonic-gate $(ROOTETCRCSD) \ 69*7c478bd9Sstevel@tonic-gate $(ROOTETCRC0D) \ 70*7c478bd9Sstevel@tonic-gate $(ROOTETCRC1D) \ 71*7c478bd9Sstevel@tonic-gate $(ROOTETCRC2D) \ 72*7c478bd9Sstevel@tonic-gate $(ROOTETCRC3D) 73*7c478bd9Sstevel@tonic-gate 74*7c478bd9Sstevel@tonic-gateROOTETCINITDPROG= $(PROG:%=$(ROOTETCINITD)/%) 75*7c478bd9Sstevel@tonic-gate 76*7c478bd9Sstevel@tonic-gateDIRMODE = 0755 77*7c478bd9Sstevel@tonic-gateFILEMODE = 0744 78*7c478bd9Sstevel@tonic-gate$(ROOTETCINITD)/README := FILEMODE = 0644 79*7c478bd9Sstevel@tonic-gate$(ROOTETCRCSD)/README := FILEMODE = 0644 80*7c478bd9Sstevel@tonic-gate$(ROOTETCRC2D)/README := FILEMODE = 0644 81*7c478bd9Sstevel@tonic-gate$(ROOTETCRC3D)/README := FILEMODE = 0644 82*7c478bd9Sstevel@tonic-gateOWNER = root 83*7c478bd9Sstevel@tonic-gateGROUP = sys 84*7c478bd9Sstevel@tonic-gate 85*7c478bd9Sstevel@tonic-gate.KEEP_STATE: 86*7c478bd9Sstevel@tonic-gate 87*7c478bd9Sstevel@tonic-gateall: $(PROG) 88*7c478bd9Sstevel@tonic-gate 89*7c478bd9Sstevel@tonic-gate# Don't re-install directories already installed by Targetdirs 90*7c478bd9Sstevel@tonic-gate#$(DIRS): 91*7c478bd9Sstevel@tonic-gate# $(INS.dir) 92*7c478bd9Sstevel@tonic-gate 93*7c478bd9Sstevel@tonic-gate$(ROOTETCINITD)/%: % 94*7c478bd9Sstevel@tonic-gate $(INS.file) 95*7c478bd9Sstevel@tonic-gate 96*7c478bd9Sstevel@tonic-gate$(ROOTETCRCSD)/%: %.rcS 97*7c478bd9Sstevel@tonic-gate $(INS.rename) 98*7c478bd9Sstevel@tonic-gate 99*7c478bd9Sstevel@tonic-gate$(ROOTETCRC2D)/%: %.rc2 100*7c478bd9Sstevel@tonic-gate $(INS.rename) 101*7c478bd9Sstevel@tonic-gate 102*7c478bd9Sstevel@tonic-gate$(ROOTETCRC3D)/%: %.rc3 103*7c478bd9Sstevel@tonic-gate $(INS.rename) 104*7c478bd9Sstevel@tonic-gate 105*7c478bd9Sstevel@tonic-gateinstall: all $(ROOTETCINITDPROG) \ 106*7c478bd9Sstevel@tonic-gate $(ROOTETCRCSD)/README \ 107*7c478bd9Sstevel@tonic-gate $(ROOTETCRC2D)/README \ 108*7c478bd9Sstevel@tonic-gate $(ROOTETCRC3D)/README 109*7c478bd9Sstevel@tonic-gate 110*7c478bd9Sstevel@tonic-gatelint: 111*7c478bd9Sstevel@tonic-gate 112*7c478bd9Sstevel@tonic-gateclean: 113*7c478bd9Sstevel@tonic-gate 114*7c478bd9Sstevel@tonic-gateclobber: 115