158091fd8Ssetje# 258091fd8Ssetje# CDDL HEADER START 358091fd8Ssetje# 458091fd8Ssetje# The contents of this file are subject to the terms of the 558091fd8Ssetje# Common Development and Distribution License (the "License"). 658091fd8Ssetje# You may not use this file except in compliance with the License. 758091fd8Ssetje# 858091fd8Ssetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 958091fd8Ssetje# or http://www.opensolaris.org/os/licensing. 1058091fd8Ssetje# See the License for the specific language governing permissions 1158091fd8Ssetje# and limitations under the License. 1258091fd8Ssetje# 1358091fd8Ssetje# When distributing Covered Code, include this CDDL HEADER in each 1458091fd8Ssetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1558091fd8Ssetje# If applicable, add the following below this CDDL HEADER, with the 1658091fd8Ssetje# fields enclosed by brackets "[]" replaced with your own identifying 1758091fd8Ssetje# information: Portions Copyright [yyyy] [name of copyright owner] 1858091fd8Ssetje# 1958091fd8Ssetje# CDDL HEADER END 2058091fd8Ssetje# 2158091fd8Ssetje# 22ae115bc7Smrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2358091fd8Ssetje# Use is subject to license terms. 2458091fd8Ssetje# 2558091fd8Ssetje# ident "%Z%%M% %I% %E% SMI" 2658091fd8Ssetje# 2758091fd8Ssetje 2858091fd8Ssetje.SUFFIXES: .ksh 2958091fd8Ssetje 3058091fd8SsetjeMANIFEST= boot-archive-update.xml 3158091fd8SsetjeSVCMETHOD= boot-archive-update 3258091fd8Ssetje 33*986fd29aSsetjesparc_BOOTPROG= 3458091fd8Ssetje 35*986fd29aSsetjei386_BOOTPROG= \ 36*986fd29aSsetje create_diskmap \ 37*986fd29aSsetje update_grub 38*986fd29aSsetje 39*986fd29aSsetjeCOMMON_BOOTPROG= \ 40*986fd29aSsetje create_ramdisk \ 41*986fd29aSsetje extract_boot_filelist 42*986fd29aSsetje 43*986fd29aSsetje 44*986fd29aSsetjeBOOTPROG= $(COMMON_BOOTPROG) $($(MACH)_BOOTPROG) 45*986fd29aSsetjeMETHODPROG= boot-archive-update 46*986fd29aSsetjePROG= root_archive 4758091fd8Ssetje 4858091fd8Ssetjeinclude ../Makefile.com 4958091fd8Ssetje 5058091fd8SsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM) 5158091fd8Ssetje$(ROOTMANIFEST) := FILEMODE= 444 5258091fd8Ssetje 53*986fd29aSsetjeROOTBOOTSOLARISUSRSBINLINKS= $(PROG:%=$(ROOTBOOTSOLARISBIN)/%) 5458091fd8Ssetje 5558091fd8Ssetje.KEEP_STATE: 5658091fd8Ssetje 57*986fd29aSsetjeall: $(BOOTPROG) $(METHODPROG) $(PROG) 5858091fd8Ssetje 5958091fd8Ssetjecheck: $(CHKMANIFEST) 6058091fd8Ssetje 6158091fd8Ssetjeclean: 62*986fd29aSsetje $(RM) $(BOOTPROG) $(METHODPROG) $(PROG) 6358091fd8Ssetje 64*986fd29aSsetjelint _msg: 6558091fd8Ssetje 66*986fd29aSsetje$(ROOTBOOTSOLARISUSRSBINLINKS): 67*986fd29aSsetje $(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@ 6858091fd8Ssetje 6958091fd8Ssetje# Default rule for building ksh scripts. 7058091fd8Ssetje.ksh: 7158091fd8Ssetje $(RM) $@ 7258091fd8Ssetje $(CAT) $< > $@ 7358091fd8Ssetje $(CHMOD) +x $@ 7458091fd8Ssetje 7558091fd8Ssetjeinclude ../Makefile.targ 76