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]
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # psm/stand/bootblks/Makefile.1275
29 # Sources and objects used to build the Forth-based bootblock
30 # for all Sun OpenFirmware machines (IEEE Std. 1275)
34 BOOT_SRC = util.fth boot.fth
40 MKBB_SH = $(BASEDIR)/common/mkbb.sh
41 MKBB.fcode = ./$(MKBB) $(MKBBFLAGS)
43 %.fcode: $(BASEDIR)/common/%.fth
56 $(FS_BB): $(MKBB) $(FS_FCODE) $(RD_FCODE)
57 $(MKBB.fcode) $(FS_FCODE) $(RD_FCODE) $(FS_BB)
64 -$(RM) $(FS_FCODE) $(RD_FCODE) $(EX_FCODE) $(MKBB)
67 -$(RM) $(PROG) $(FS_BB)