Makefile.grover.shared revision 3066:2a2af34f0642
1107178Snjl# 2107178Snjl# CDDL HEADER START 3107178Snjl# 4107178Snjl# The contents of this file are subject to the terms of the 5107178Snjl# Common Development and Distribution License (the "License"). 6107178Snjl# You may not use this file except in compliance with the License. 7107178Snjl# 8107178Snjl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9107178Snjl# or http://www.opensolaris.org/os/licensing. 10107178Snjl# See the License for the specific language governing permissions 11107178Snjl# and limitations under the License. 12107178Snjl# 13107178Snjl# When distributing Covered Code, include this CDDL HEADER in each 14107178Snjl# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15107178Snjl# If applicable, add the following below this CDDL HEADER, with the 16107178Snjl# fields enclosed by brackets "[]" replaced with your own identifying 17107178Snjl# information: Portions Copyright [yyyy] [name of copyright owner] 18107178Snjl# 19107178Snjl# CDDL HEADER END 20107178Snjl# 21107178Snjl# 22107178Snjl# uts/sun4u/grover/Makefile.grover 23107178Snjl# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24107178Snjl# Use is subject to license terms. 25107178Snjl# 26107178Snjl#ident "%Z%%M% %I% %E% SMI" 27107178Snjl# 28107178Snjl# Global definitions for sun4u implementation specific modules. 29107178Snjl# 30107178Snjl 31107178Snjl# 32107178Snjl# Define directories. 33107178Snjl# 34107178SnjlROOT_GROVER_DIR = $(ROOT_PLAT_DIR)/SUNW,Sun-Blade-100 35107178SnjlROOT_GROVER_MOD_DIR = $(ROOT_GROVER_DIR)/kernel 36107178Snjl 37107178SnjlROOT_GROVER_MISC_DIR_32 = $(ROOT_GROVER_MOD_DIR)/misc 38107178SnjlROOT_GROVER_MISC_DIR_64 = $(ROOT_GROVER_MISC_DIR_32)/$(SUBDIR64) 39107178SnjlROOT_GROVER_DRV_DIR_32 = $(ROOT_GROVER_MOD_DIR)/drv 40107178SnjlROOT_GROVER_DRV_DIR_64 = $(ROOT_GROVER_DRV_DIR_32)/$(SUBDIR64) 41107178Snjl 42107178SnjlROOT_GROVER_MISC_DIR = $(ROOT_GROVER_MISC_DIR_$(CLASS)) 43107781SruROOT_GROVER_DRV_DIR = $(ROOT_GROVER_DRV_DIR_$(CLASS)) 44107178Snjl 45107178SnjlROOT_PLAT_MOD_DIRS += $(ROOT_GROVER_MOD_DIR) 46107178SnjlROOT_PLAT_MISC_DIRS += $(ROOT_GROVER_MISC_DIR) 47107178Snjl 48107781SruUSR_GROVER_DIR = $(USR_PLAT_DIR)/SUNW,Sun-Blade-100 49107178SnjlUSR_GROVER_LINKED_DIR = $(USR_PLAT_DIR)/$(LINKED_PLATFORM) 50107781SruUSR_GROVER_INC_DIR = $(USR_GROVER_DIR)/include 51107781SruUSR_GROVER_ISYS_DIR = $(USR_GROVER_INC_DIR)/sys 52107178SnjlUSR_GROVER_SBIN_DIR = $(USR_GROVER_DIR)/sbin 53107178SnjlUSR_GROVER_LIB_DIR = $(USR_GROVER_DIR)/lib 54107781Sru 55107781Sru 56107178SnjlGROVER_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/grover/lint-libs/$(OBJS_DIR) 57107178Snjl 58107178Snjl# 59107178Snjl# Define objects. 60107178Snjl# 61107178SnjlGROVER_OBJS = grover.o 62107178Snjl 63107178Snjlinclude $(UTSTREE)/sun4u/grover/Makefile.files 64107178Snjl 65107178Snjl# 66107781Sru# Include common rules. 67107781Sru# 68107178Snjlinclude $(UTSTREE)/sun4u/Makefile.sun4u 69107178Snjl 70107781Sru# 71107178Snjl# Define modules (must come after Makefile.sun4u, for CLOSED_BUILD). 72107781Sru# 73107781SruGROVER_KMODS = platmod 74107178SnjlGROVER_KMODS += grfans 75107781Sru 76107781Sru$(CLOSED_BUILD)CLOSED_GROVER_KMODS += grppm 77107178Snjl 78107781Sru# 79107781Sru# For now, disable these lint checks; maintainers should endeavor 80107781Sru# to investigate and remove these for maximum lint coverage. 81107781Sru# Please do not carry these forward to new Makefiles. 82107781Sru# 83107178SnjlLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON 84107781SruLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN 85107781SruLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED 86107178SnjlLINTTAGS += -erroff=E_STATIC_UNUSED 87107781SruLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW 88107781SruLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV 89107178Snjl