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# 22*ae115bc7Smrj# 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*ae115bc7SmrjPROG= create_ramdisk create_diskmap update_grub 3458091fd8SsetjeMETHODPROG= boot-archive-update 3558091fd8SsetjeSBINPROG= root_archive 3658091fd8Ssetje 3758091fd8SsetjeSBINLINKS= $(SBINPROG) 3858091fd8Ssetje 3958091fd8Ssetjeinclude ../Makefile.com 4058091fd8Ssetje 4158091fd8SsetjeROOTSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%) 4258091fd8Ssetje 4358091fd8SsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM) 4458091fd8Ssetje$(ROOTMANIFEST) := FILEMODE= 444 4558091fd8Ssetje 4658091fd8SsetjeROOTBOOTSOLARISBINLINKS= $(SBINLINKS:%=$(ROOTBOOTSOLARISBIN)/%) 4758091fd8Ssetje 4858091fd8Ssetje.KEEP_STATE: 4958091fd8Ssetje 5058091fd8Ssetjeall: $(PROG) $(METHODPROG) $(SBINPROG) 5158091fd8Ssetje 5258091fd8Ssetje$(ROOTBOOTSOLARISBINLINKS): 5358091fd8Ssetje -$(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@ 5458091fd8Ssetje 5558091fd8Ssetjecheck: $(CHKMANIFEST) 5658091fd8Ssetje 5758091fd8Ssetjeclean: 5858091fd8Ssetje $(RM) $(PROG) $(METHODPROG) $(SBINPROG) 5958091fd8Ssetje 6058091fd8Ssetje _msg: 6158091fd8Ssetje 6258091fd8Ssetjelint: 6358091fd8Ssetje 6458091fd8Ssetje# Default rule for building ksh scripts. 6558091fd8Ssetje.ksh: 6658091fd8Ssetje $(RM) $@ 6758091fd8Ssetje $(CAT) $< > $@ 6858091fd8Ssetje $(CHMOD) +x $@ 6958091fd8Ssetje 7058091fd8Ssetjeinclude ../Makefile.targ 71