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 5986fd29aSsetje# Common Development and Distribution License (the "License"). 6986fd29aSsetje# 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# 22d24234c2SJerry Gilliam# Copyright 2010 Sun Microsystems, Inc. All rights reserved. 237c478bd9Sstevel@tonic-gate# Use is subject to license terms. 247c478bd9Sstevel@tonic-gate# 257c478bd9Sstevel@tonic-gate# psm/stand/boot/Makefile.boot 267c478bd9Sstevel@tonic-gate 277c478bd9Sstevel@tonic-gate# 287c478bd9Sstevel@tonic-gate# Hack until stand makefiles are fixed 297c478bd9Sstevel@tonic-gate# 307c478bd9Sstevel@tonic-gateCLASS = 32 317c478bd9Sstevel@tonic-gate 327c478bd9Sstevel@tonic-gateinclude $(TOPDIR)/Makefile.master 337c478bd9Sstevel@tonic-gateinclude $(TOPDIR)/Makefile.psm 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gateSTANDDIR = $(TOPDIR)/stand 367c478bd9Sstevel@tonic-gatePSMSTANDDIR = $(TOPDIR)/psm/stand 377c478bd9Sstevel@tonic-gate 387c478bd9Sstevel@tonic-gateSYSHDRDIR = $(STANDDIR) 397c478bd9Sstevel@tonic-gateSYSLIBDIR = $(ROOT)/stand/lib 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gatePSMSYSHDRDIR = $(PSMSTANDDIR) 427c478bd9Sstevel@tonic-gatePSMNAMELIBDIR = $(PSMSTANDDIR)/lib/names/$(MACH) 437c478bd9Sstevel@tonic-gatePSMNAMELIBDIR64 = $(PSMSTANDDIR)/lib/names/$(MACH64) 447c478bd9Sstevel@tonic-gatePSMPROMLIBDIR = $(PSMSTANDDIR)/lib/promif/$(MACH) 457c478bd9Sstevel@tonic-gatePSMPROMLIBDIR64 = $(PSMSTANDDIR)/lib/promif/$(MACH64) 467c478bd9Sstevel@tonic-gate 477c478bd9Sstevel@tonic-gate# 487c478bd9Sstevel@tonic-gate# Common install modes and owners 497c478bd9Sstevel@tonic-gate# 507c478bd9Sstevel@tonic-gateFILEMODE = 644 517c478bd9Sstevel@tonic-gateDIRMODE = 755 527c478bd9Sstevel@tonic-gate 537c478bd9Sstevel@tonic-gate# 547c478bd9Sstevel@tonic-gate# While things are pretty much 32-bit lint-clean, there are a ton of 557c478bd9Sstevel@tonic-gate# suspect pointer casts. Since these may be serious problems (especially 567c478bd9Sstevel@tonic-gate# on SPARC), this really needs to be investigated thoroughly one day. 577c478bd9Sstevel@tonic-gate# However, we shouldn't feel too bad: the whole kernel is linted with this 587c478bd9Sstevel@tonic-gate# turned off as well (along with a dozen other disabled warnings). 597c478bd9Sstevel@tonic-gate# 607c478bd9Sstevel@tonic-gate# The other two -erroff's are needed only because lint's -u flag is lame 617c478bd9Sstevel@tonic-gate# and also turns off "name used but not defined" checks (so we instead 627c478bd9Sstevel@tonic-gate# just enumerate the errors that -u turns off that we want turned off). 637c478bd9Sstevel@tonic-gate# 647c478bd9Sstevel@tonic-gateLINTFLAGS = -nmsF -erroff=E_BAD_PTR_CAST_ALIGN \ 657c478bd9Sstevel@tonic-gate -erroff=E_NAME_DECL_NOT_USED_DEF2 -erroff=E_NAME_DEF_NOT_USED2 66*7014882cSRichard Lowe 67*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-parentheses 68*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized 69*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts 70