58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# CDDL HEADER START
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# The contents of this file are subject to the terms of the
58091fd8689db902780a10667e0e8118a9454b8fsetje# Common Development and Distribution License (the "License").
58091fd8689db902780a10667e0e8118a9454b8fsetje# You may not use this file except in compliance with the License.
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
58091fd8689db902780a10667e0e8118a9454b8fsetje# or http://www.opensolaris.org/os/licensing.
58091fd8689db902780a10667e0e8118a9454b8fsetje# See the License for the specific language governing permissions
58091fd8689db902780a10667e0e8118a9454b8fsetje# and limitations under the License.
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# When distributing Covered Code, include this CDDL HEADER in each
58091fd8689db902780a10667e0e8118a9454b8fsetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
58091fd8689db902780a10667e0e8118a9454b8fsetje# If applicable, add the following below this CDDL HEADER, with the
58091fd8689db902780a10667e0e8118a9454b8fsetje# fields enclosed by brackets "[]" replaced with your own identifying
58091fd8689db902780a10667e0e8118a9454b8fsetje# information: Portions Copyright [yyyy] [name of copyright owner]
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# CDDL HEADER END
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje#
ae115bc77f6fcde83175c75b4206dc2e50747966mrj# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
58091fd8689db902780a10667e0e8118a9454b8fsetje# Use is subject to license terms.
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje# ident "%Z%%M% %I% %E% SMI"
58091fd8689db902780a10667e0e8118a9454b8fsetje#
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje.SUFFIXES: .ksh
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeMANIFEST= boot-archive-update.xml
58091fd8689db902780a10667e0e8118a9454b8fsetjeSVCMETHOD= boot-archive-update
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjesparc_BOOTPROG=
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjei386_BOOTPROG= \
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje create_diskmap \
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje update_grub
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeCOMMON_BOOTPROG= \
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje create_ramdisk \
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje extract_boot_filelist
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeBOOTPROG= $(COMMON_BOOTPROG) $($(MACH)_BOOTPROG)
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeMETHODPROG= boot-archive-update
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjePROG= root_archive
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeinclude ../Makefile.com
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
58091fd8689db902780a10667e0e8118a9454b8fsetje$(ROOTMANIFEST) := FILEMODE= 444
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeROOTBOOTSOLARISUSRSBINLINKS= $(PROG:%=$(ROOTBOOTSOLARISBIN)/%)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje.KEEP_STATE:
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeall: $(BOOTPROG) $(METHODPROG) $(PROG)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjecheck: $(CHKMANIFEST)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeclean:
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje $(RM) $(BOOTPROG) $(METHODPROG) $(PROG)
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjelint _msg:
58091fd8689db902780a10667e0e8118a9454b8fsetje
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje$(ROOTBOOTSOLARISUSRSBINLINKS):
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje $(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje# Default rule for building ksh scripts.
58091fd8689db902780a10667e0e8118a9454b8fsetje.ksh:
58091fd8689db902780a10667e0e8118a9454b8fsetje $(RM) $@
58091fd8689db902780a10667e0e8118a9454b8fsetje $(CAT) $< > $@
58091fd8689db902780a10667e0e8118a9454b8fsetje $(CHMOD) +x $@
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeinclude ../Makefile.targ