1986fd29aSsetje# 2986fd29aSsetje# CDDL HEADER START 3986fd29aSsetje# 4986fd29aSsetje# The contents of this file are subject to the terms of the 5986fd29aSsetje# Common Development and Distribution License (the "License"). 6986fd29aSsetje# You may not use this file except in compliance with the License. 7986fd29aSsetje# 8986fd29aSsetje# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9986fd29aSsetje# or http://www.opensolaris.org/os/licensing. 10986fd29aSsetje# See the License for the specific language governing permissions 11986fd29aSsetje# and limitations under the License. 12986fd29aSsetje# 13986fd29aSsetje# When distributing Covered Code, include this CDDL HEADER in each 14986fd29aSsetje# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15986fd29aSsetje# If applicable, add the following below this CDDL HEADER, with the 16986fd29aSsetje# fields enclosed by brackets "[]" replaced with your own identifying 17986fd29aSsetje# information: Portions Copyright [yyyy] [name of copyright owner] 18986fd29aSsetje# 19986fd29aSsetje# CDDL HEADER END 20986fd29aSsetje# 21986fd29aSsetje# 22d876c67dSjg# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23986fd29aSsetje# Use is subject to license terms. 24986fd29aSsetje# 25986fd29aSsetje#ident "%Z%%M% %I% %E% SMI" 26986fd29aSsetje# 27986fd29aSsetje# psm/stand/bootblks/zfs/Makefile.zfs 28986fd29aSsetje# 29986fd29aSsetje 30986fd29aSsetjeinclude $(BASEDIR)/Makefile.com 31986fd29aSsetje 32986fd29aSsetje# 33986fd29aSsetje# Define FS dependent targets 34986fd29aSsetje# 35986fd29aSsetje 36986fd29aSsetjeZFS_DIR = $(BASEDIR)/zfs/common 37986fd29aSsetje 38986fd29aSsetjeFS_FCODE = boot-zfs.fcode 39*e7cbe64fSgw25295EX_FCODE = fs-zfs.fcode 40986fd29aSsetjeFS_BB = zfs.bb 41986fd29aSsetje 42*e7cbe64fSgw25295ZFSBOOT_FTH = $(ZFS_DIR)/boot-zfs.fth 43*e7cbe64fSgw25295ZFSFS_FTH = $(ZFS_DIR)/fs-zfs.fth 44*e7cbe64fSgw25295ZFS_FTH = $(ZFS_DIR)/zfs.fth 45986fd29aSsetje 46*e7cbe64fSgw25295MKBBFLAGS = -e $(EX_FCODE) 47986fd29aSsetje 48986fd29aSsetje# 49986fd29aSsetje# Where and how stuff gets installed 50986fd29aSsetje# 51d876c67dSjgROOT_PSM_BOOTBLOCK = $(ROOT_PSM_LIB_ZFS_DIR)/$(PROG) 52986fd29aSsetjeUSR_PSM_BOOTBLOCK = $(USR_PSM_LIB_ZFS_DIR)/$(PROG) 53d876c67dSjgBOOTBLK_LINK = $(BOOTBLK_LINK_PREFIX)/zfs/$(PROG) 54986fd29aSsetje 55986fd29aSsetje%.fcode: $(BASEDIR)/zfs/common/%.fth 56986fd29aSsetje $(TOKENIZE) $< 57986fd29aSsetje 58986fd29aSsetje# make doesn't know fload 59*e7cbe64fSgw25295$(FS_FCODE): $(UTIL_FTH) $(BOOT_FTH) 60986fd29aSsetje $(TOKENIZE) $(ZFSBOOT_FTH) 61986fd29aSsetje 62*e7cbe64fSgw25295$(EX_FCODE): $(UTIL_FTH) $(ZFS_FTH) 63*e7cbe64fSgw25295 $(TOKENIZE) $(ZFSFS_FTH) 64986fd29aSsetje 65*e7cbe64fSgw25295$(FS_BB): $(EX_FCODE) 66