Makefile.com revision 58091fd8689db902780a10667e0e8118a9454b8f
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#
58091fd8689db902780a10667e0e8118a9454b8fsetje# Copyright 2006 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
58091fd8689db902780a10667e0e8118a9454b8fsetjePROG= create_ramdisk create_diskmap
58091fd8689db902780a10667e0e8118a9454b8fsetjeMETHODPROG= boot-archive-update
58091fd8689db902780a10667e0e8118a9454b8fsetjeSBINPROG= root_archive
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeSBINLINKS= $(SBINPROG)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeinclude ../Makefile.com
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeROOTSBINPROG= $(SBINPROG:%=$(ROOTUSRSBIN)/%)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
58091fd8689db902780a10667e0e8118a9454b8fsetje$(ROOTMANIFEST) := FILEMODE= 444
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeROOTBOOTSOLARISBINLINKS= $(SBINLINKS:%=$(ROOTBOOTSOLARISBIN)/%)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje.KEEP_STATE:
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeall: $(PROG) $(METHODPROG) $(SBINPROG)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje$(ROOTBOOTSOLARISBINLINKS):
58091fd8689db902780a10667e0e8118a9454b8fsetje -$(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjecheck: $(CHKMANIFEST)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeclean:
58091fd8689db902780a10667e0e8118a9454b8fsetje $(RM) $(PROG) $(METHODPROG) $(SBINPROG)
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje _msg:
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjelint:
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetje# Default rule for building ksh scripts.
58091fd8689db902780a10667e0e8118a9454b8fsetje.ksh:
58091fd8689db902780a10667e0e8118a9454b8fsetje $(RM) $@
58091fd8689db902780a10667e0e8118a9454b8fsetje $(CAT) $< > $@
58091fd8689db902780a10667e0e8118a9454b8fsetje $(CHMOD) +x $@
58091fd8689db902780a10667e0e8118a9454b8fsetje
58091fd8689db902780a10667e0e8118a9454b8fsetjeinclude ../Makefile.targ