12334Ssetje# 22334Ssetje# CDDL HEADER START 32334Ssetje# 42334Ssetje# The contents of this file are subject to the terms of the 52334Ssetje# Common Development and Distribution License (the "License"). 62334Ssetje# You may not use this file except in compliance with the License. 72334Ssetje# 82334Ssetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92334Ssetje# or http://www.opensolaris.org/os/licensing. 102334Ssetje# See the License for the specific language governing permissions 112334Ssetje# and limitations under the License. 122334Ssetje# 132334Ssetje# When distributing Covered Code, include this CDDL HEADER in each 142334Ssetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152334Ssetje# If applicable, add the following below this CDDL HEADER, with the 162334Ssetje# fields enclosed by brackets "[]" replaced with your own identifying 172334Ssetje# information: Portions Copyright [yyyy] [name of copyright owner] 182334Ssetje# 192334Ssetje# CDDL HEADER END 202334Ssetje# 212334Ssetje# 223446Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 232334Ssetje# Use is subject to license terms. 242334Ssetje# 252334Ssetje# ident "%Z%%M% %I% %E% SMI" 262334Ssetje# 272334Ssetje 282334Ssetje.SUFFIXES: .ksh 292334Ssetje 302334SsetjeMANIFEST= boot-archive-update.xml 312334SsetjeSVCMETHOD= boot-archive-update 322334Ssetje 33*5648Ssetjesparc_BOOTPROG= 34*5648Ssetje 35*5648Ssetjei386_BOOTPROG= \ 36*5648Ssetje create_diskmap \ 37*5648Ssetje update_grub 38*5648Ssetje 39*5648SsetjeCOMMON_BOOTPROG= \ 40*5648Ssetje create_ramdisk \ 41*5648Ssetje extract_boot_filelist 42*5648Ssetje 43*5648Ssetje 44*5648SsetjeBOOTPROG= $(COMMON_BOOTPROG) $($(MACH)_BOOTPROG) 452334SsetjeMETHODPROG= boot-archive-update 46*5648SsetjePROG= root_archive 472334Ssetje 482334Ssetjeinclude ../Makefile.com 492334Ssetje 502334SsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM) 512334Ssetje$(ROOTMANIFEST) := FILEMODE= 444 522334Ssetje 53*5648SsetjeROOTBOOTSOLARISUSRSBINLINKS= $(PROG:%=$(ROOTBOOTSOLARISBIN)/%) 542334Ssetje 552334Ssetje.KEEP_STATE: 562334Ssetje 57*5648Ssetjeall: $(BOOTPROG) $(METHODPROG) $(PROG) 582334Ssetje 592334Ssetjecheck: $(CHKMANIFEST) 602334Ssetje 612334Ssetjeclean: 62*5648Ssetje $(RM) $(BOOTPROG) $(METHODPROG) $(PROG) 632334Ssetje 64*5648Ssetjelint _msg: 652334Ssetje 66*5648Ssetje$(ROOTBOOTSOLARISUSRSBINLINKS): 67*5648Ssetje $(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@ 682334Ssetje 692334Ssetje# Default rule for building ksh scripts. 702334Ssetje.ksh: 712334Ssetje $(RM) $@ 722334Ssetje $(CAT) $< > $@ 732334Ssetje $(CHMOD) +x $@ 742334Ssetje 752334Ssetjeinclude ../Makefile.targ 76