17c478bd9Sstevel@tonic-gate# 27c478bd9Sstevel@tonic-gate# CDDL HEADER START 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 5*986fd29aSsetje# Common Development and Distribution License (the "License"). 6*986fd29aSsetje# You may not use this file except in compliance with the License. 77c478bd9Sstevel@tonic-gate# 87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 117c478bd9Sstevel@tonic-gate# and limitations under the License. 127c478bd9Sstevel@tonic-gate# 137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 187c478bd9Sstevel@tonic-gate# 197c478bd9Sstevel@tonic-gate# CDDL HEADER END 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# 22*986fd29aSsetje# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# ident "%Z%%M% %I% %E% SMI" 267c478bd9Sstevel@tonic-gate# 277c478bd9Sstevel@tonic-gate# psm/stand/boot/Makefile.boot 287c478bd9Sstevel@tonic-gate 297c478bd9Sstevel@tonic-gate# 307c478bd9Sstevel@tonic-gate# Hack until stand makefiles are fixed 317c478bd9Sstevel@tonic-gate# 327c478bd9Sstevel@tonic-gateCLASS = 32 337c478bd9Sstevel@tonic-gate 347c478bd9Sstevel@tonic-gateinclude $(TOPDIR)/Makefile.master 357c478bd9Sstevel@tonic-gateinclude $(TOPDIR)/Makefile.psm 367c478bd9Sstevel@tonic-gate 377c478bd9Sstevel@tonic-gateSTANDDIR = $(TOPDIR)/stand 387c478bd9Sstevel@tonic-gatePSMSTANDDIR = $(TOPDIR)/psm/stand 397c478bd9Sstevel@tonic-gate 407c478bd9Sstevel@tonic-gateSYSHDRDIR = $(STANDDIR) 417c478bd9Sstevel@tonic-gateSYSLIBDIR = $(ROOT)/stand/lib 427c478bd9Sstevel@tonic-gate 437c478bd9Sstevel@tonic-gatePSMSYSHDRDIR = $(PSMSTANDDIR) 447c478bd9Sstevel@tonic-gatePSMNAMELIBDIR = $(PSMSTANDDIR)/lib/names/$(MACH) 457c478bd9Sstevel@tonic-gatePSMNAMELIBDIR64 = $(PSMSTANDDIR)/lib/names/$(MACH64) 467c478bd9Sstevel@tonic-gatePSMPROMLIBDIR = $(PSMSTANDDIR)/lib/promif/$(MACH) 477c478bd9Sstevel@tonic-gatePSMPROMLIBDIR64 = $(PSMSTANDDIR)/lib/promif/$(MACH64) 487c478bd9Sstevel@tonic-gate 497c478bd9Sstevel@tonic-gate# 507c478bd9Sstevel@tonic-gate# XXX one day we should just be able to set PROG to 'cfsboot'.. 517c478bd9Sstevel@tonic-gate# and everything will become a lot easier. 527c478bd9Sstevel@tonic-gate# 537c478bd9Sstevel@tonic-gateUNIBOOT = multiboot 547c478bd9Sstevel@tonic-gateWANBOOT = wanboot 557c478bd9Sstevel@tonic-gateNFSBOOT = inetboot 567c478bd9Sstevel@tonic-gate 577c478bd9Sstevel@tonic-gate# 587c478bd9Sstevel@tonic-gate# Common install modes and owners 597c478bd9Sstevel@tonic-gate# 607c478bd9Sstevel@tonic-gateFILEMODE = 644 617c478bd9Sstevel@tonic-gateDIRMODE = 755 627c478bd9Sstevel@tonic-gateOWNER = root 637c478bd9Sstevel@tonic-gateGROUP = sys 647c478bd9Sstevel@tonic-gate 657c478bd9Sstevel@tonic-gate# 667c478bd9Sstevel@tonic-gate# Install locations 677c478bd9Sstevel@tonic-gate# 687c478bd9Sstevel@tonic-gateROOT_PSM_UNIBOOT= $(ROOT_PSM_DIR)/$(UNIBOOT) 697c478bd9Sstevel@tonic-gateROOT_PSM_WANBOOT= $(ROOT_PSM_DIR)/$(WANBOOT) 707c478bd9Sstevel@tonic-gateUSR_PSM_NFSBOOT = $(USR_PSM_LIB_NFS_DIR)/$(NFSBOOT) 717c478bd9Sstevel@tonic-gate 727c478bd9Sstevel@tonic-gate# 737c478bd9Sstevel@tonic-gate# While things are pretty much 32-bit lint-clean, there are a ton of 747c478bd9Sstevel@tonic-gate# suspect pointer casts. Since these may be serious problems (especially 757c478bd9Sstevel@tonic-gate# on SPARC), this really needs to be investigated thoroughly one day. 767c478bd9Sstevel@tonic-gate# However, we shouldn't feel too bad: the whole kernel is linted with this 777c478bd9Sstevel@tonic-gate# turned off as well (along with a dozen other disabled warnings). 787c478bd9Sstevel@tonic-gate# 797c478bd9Sstevel@tonic-gate# The other two -erroff's are needed only because lint's -u flag is lame 807c478bd9Sstevel@tonic-gate# and also turns off "name used but not defined" checks (so we instead 817c478bd9Sstevel@tonic-gate# just enumerate the errors that -u turns off that we want turned off). 827c478bd9Sstevel@tonic-gate# 837c478bd9Sstevel@tonic-gateLINTFLAGS = -nmsF -erroff=E_BAD_PTR_CAST_ALIGN \ 847c478bd9Sstevel@tonic-gate -erroff=E_NAME_DECL_NOT_USED_DEF2 -erroff=E_NAME_DEF_NOT_USED2 85