1*58091fd8Ssetje# 2*58091fd8Ssetje# CDDL HEADER START 3*58091fd8Ssetje# 4*58091fd8Ssetje# The contents of this file are subject to the terms of the 5*58091fd8Ssetje# Common Development and Distribution License (the "License"). 6*58091fd8Ssetje# You may not use this file except in compliance with the License. 7*58091fd8Ssetje# 8*58091fd8Ssetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*58091fd8Ssetje# or http://www.opensolaris.org/os/licensing. 10*58091fd8Ssetje# See the License for the specific language governing permissions 11*58091fd8Ssetje# and limitations under the License. 12*58091fd8Ssetje# 13*58091fd8Ssetje# When distributing Covered Code, include this CDDL HEADER in each 14*58091fd8Ssetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*58091fd8Ssetje# If applicable, add the following below this CDDL HEADER, with the 16*58091fd8Ssetje# fields enclosed by brackets "[]" replaced with your own identifying 17*58091fd8Ssetje# information: Portions Copyright [yyyy] [name of copyright owner] 18*58091fd8Ssetje# 19*58091fd8Ssetje# CDDL HEADER END 20*58091fd8Ssetje# 21*58091fd8Ssetje# 22*58091fd8Ssetje# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 23*58091fd8Ssetje# Use is subject to license terms. 24*58091fd8Ssetje# 25*58091fd8Ssetje# ident "%Z%%M% %I% %E% SMI" 26*58091fd8Ssetje# 27*58091fd8Ssetje 28*58091fd8Ssetje.SUFFIXES: .ksh 29*58091fd8Ssetje 30*58091fd8SsetjeMANIFEST= boot-archive-update.xml 31*58091fd8SsetjeSVCMETHOD= boot-archive-update 32*58091fd8Ssetje 33*58091fd8SsetjePROG= create_ramdisk create_diskmap 34*58091fd8SsetjeMETHODPROG= boot-archive-update 35*58091fd8SsetjeSBINPROG= root_archive 36*58091fd8Ssetje 37*58091fd8SsetjeSBINLINKS= $(SBINPROG) 38*58091fd8Ssetje 39*58091fd8Ssetjeinclude ../Makefile.com 40*58091fd8Ssetje 41*58091fd8SsetjeROOTSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%) 42*58091fd8Ssetje 43*58091fd8SsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM) 44*58091fd8Ssetje$(ROOTMANIFEST) := FILEMODE= 444 45*58091fd8Ssetje 46*58091fd8SsetjeROOTBOOTSOLARISBINLINKS= $(SBINLINKS:%=$(ROOTBOOTSOLARISBIN)/%) 47*58091fd8Ssetje 48*58091fd8Ssetje.KEEP_STATE: 49*58091fd8Ssetje 50*58091fd8Ssetjeall: $(PROG) $(METHODPROG) $(SBINPROG) 51*58091fd8Ssetje 52*58091fd8Ssetje$(ROOTBOOTSOLARISBINLINKS): 53*58091fd8Ssetje -$(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@ 54*58091fd8Ssetje 55*58091fd8Ssetjecheck: $(CHKMANIFEST) 56*58091fd8Ssetje 57*58091fd8Ssetjeclean: 58*58091fd8Ssetje $(RM) $(PROG) $(METHODPROG) $(SBINPROG) 59*58091fd8Ssetje 60*58091fd8Ssetje _msg: 61*58091fd8Ssetje 62*58091fd8Ssetjelint: 63*58091fd8Ssetje 64*58091fd8Ssetje# Default rule for building ksh scripts. 65*58091fd8Ssetje.ksh: 66*58091fd8Ssetje $(RM) $@ 67*58091fd8Ssetje $(CAT) $< > $@ 68*58091fd8Ssetje $(CHMOD) +x $@ 69*58091fd8Ssetje 70*58091fd8Ssetjeinclude ../Makefile.targ 71