Reamove grub support.
[unleashed.git] / usr / src / cmd / boot / scripts / Makefile.com
blob7a55d61946533ed9507673079837898231763608
2 # CDDL HEADER START
4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
19 # CDDL HEADER END
22 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23 # Use is subject to license terms.
25 # ident "%Z%%M% %I%     %E% SMI"
26
28 .SUFFIXES: .ksh
30 MANIFEST= boot-archive-update.xml
31 SVCMETHOD= boot-archive-update
33 sparc_BOOTPROG=
35 i386_BOOTPROG=
37 COMMON_BOOTPROG=                \
38         create_ramdisk          \
39         extract_boot_filelist
42 BOOTPROG= $(COMMON_BOOTPROG) $($(MACH)_BOOTPROG)
43 METHODPROG= boot-archive-update
44 PROG= root_archive
46 include ../Makefile.com
48 ROOTMANIFESTDIR= $(ROOTSVCSYSTEM)
49 $(ROOTMANIFEST) := FILEMODE= 444
51 ROOTBOOTSOLARISUSRSBINLINKS= $(PROG:%=$(ROOTBOOTSOLARISBIN)/%)
53 .KEEP_STATE:
55 all: $(BOOTPROG) $(METHODPROG) $(PROG)
57 check:  $(CHKMANIFEST)
59 clean:
60         $(RM) $(BOOTPROG) $(METHODPROG) $(PROG)
62 _msg:
64 $(ROOTBOOTSOLARISUSRSBINLINKS):
65         $(RM) $@; $(SYMLINK) ../../../usr/sbin/$(@F) $@
67 # Default rule for building ksh scripts.
68 .ksh:
69         $(RM) $@
70         $(CAT) $< > $@
71         $(CHMOD) +x $@
73 include ../Makefile.targ