29949e866e40b95795203f3ee46f44a197c946e4stevel# CDDL HEADER START
29949e866e40b95795203f3ee46f44a197c946e4stevel# The contents of this file are subject to the terms of the
29949e866e40b95795203f3ee46f44a197c946e4stevel# Common Development and Distribution License (the "License").
29949e866e40b95795203f3ee46f44a197c946e4stevel# You may not use this file except in compliance with the License.
29949e866e40b95795203f3ee46f44a197c946e4stevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
29949e866e40b95795203f3ee46f44a197c946e4stevel# See the License for the specific language governing permissions
29949e866e40b95795203f3ee46f44a197c946e4stevel# and limitations under the License.
29949e866e40b95795203f3ee46f44a197c946e4stevel# When distributing Covered Code, include this CDDL HEADER in each
29949e866e40b95795203f3ee46f44a197c946e4stevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
29949e866e40b95795203f3ee46f44a197c946e4stevel# If applicable, add the following below this CDDL HEADER, with the
29949e866e40b95795203f3ee46f44a197c946e4stevel# fields enclosed by brackets "[]" replaced with your own identifying
29949e866e40b95795203f3ee46f44a197c946e4stevel# information: Portions Copyright [yyyy] [name of copyright owner]
29949e866e40b95795203f3ee46f44a197c946e4stevel# CDDL HEADER END
29949e866e40b95795203f3ee46f44a197c946e4stevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
29949e866e40b95795203f3ee46f44a197c946e4stevel# Use is subject to license terms.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Global definitions for sun4u implementation specific modules.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Define the name of this implementation.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Define directories.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_DIR = $(ROOT_PLAT_DIR)/SUNW,Ultra-Enterprise
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_MOD_DIR = $(ROOT_SUNFIRE_DIR)/kernel
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR_32 = $(ROOT_SUNFIRE_MOD_DIR)/drv
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR_64 = $(ROOT_SUNFIRE_MOD_DIR)/drv/$(SUBDIR64)
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR = $(ROOT_SUNFIRE_DRV_DIR_$(CLASS))
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_PLAT_DRV_DIRS = $(ROOT_SUNFIRE_DRV_DIR)
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR_32 = $(ROOT_SUNFIRE_MOD_DIR)/misc
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR_64 = $(ROOT_SUNFIRE_MOD_DIR)/misc/$(SUBDIR64)
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR = $(ROOT_SUNFIRE_MISC_DIR_$(CLASS))
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekUSR_SUNFIRE_DIR = $(USR_PLAT_DIR)/SUNW,Ultra-Enterprise
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekUSR_SUNFIRE_INC_DIR = $(USR_SUNFIRE_DIR)/include
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekUSR_SUNFIRE_ISYS_DIR = $(USR_SUNFIRE_INC_DIR)/sys
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekUSR_SUNFIRE_SBIN_DIR = $(USR_SUNFIRE_DIR)/sbin
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekUSR_SUNFIRE_LIB_DIR = $(USR_SUNFIRE_DIR)/lib
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekSUNFIRE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/sunfire/lint-libs/$(OBJS_DIR)
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Define objects.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/sunfire/Makefile.files
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Include common rules.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Define modules (must come after Makefile.sun4u).
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekSUNFIRE_KMODS = ac central environ fhc simmstat sysctrl sram
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# For now, disable these lint checks; maintainers should endeavor
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# to investigate and remove these for maximum lint coverage.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' Sipek# Please do not carry these forward to new Makefiles.
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_STATIC_UNUSED
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
2063d9c01c4a721994a3cb528444d7f328135869Josef 'Jeff' SipekLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV