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]
21 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
24 # psm/stand/bootblks/hsfs/Makefile.hsfs
27 include $(BASEDIR)/Makefile.com
30 # Define FS dependent targets
33 HSFS_DIR = $(BASEDIR)/hsfs/common
35 FS_FCODE = boot-hsfs.fcode
38 HSFSBOOT_FTH = $(HSFS_DIR)/boot-hsfs.fth
39 HSFS_FTH = $(HSFS_DIR)/hsfs.fth
42 # This program is used to install the boot block
44 INSTALLBOOT = installboot
47 # Where and how stuff gets installed
49 ROOT_PSM_BOOTBLOCK = $(ROOT_PSM_LIB_HSFS_DIR)/$(PROG)
50 USR_PSM_BOOTBLOCK = $(USR_PSM_LIB_HSFS_DIR)/$(PROG)
51 BOOTBLK_LINK = $(BOOTBLK_LINK_PREFIX)/hsfs/$(PROG)
54 USR_SBIN = $(USR)/sbin
55 USR_SBIN_INSTALLBOOT = $(USR_SBIN)/$(INSTALLBOOT)
58 # Overrides for installing installboot.
60 INS.file.555 = $(INS) -m 555 $< $@
65 %.fcode: $(HSFS_DIR)/%.fth
68 $(FS_FCODE): $(UTIL_FTH) $(HSFS_FTH) $(BOOT_FTH)
69 $(TOKENIZE) $(HSFSBOOT_FTH)
74 $(USR_SBIN)/%: % $(USR_SBIN)