xref: /titanic_51/usr/src/uts/sun4u/sunfire/Makefile.sunfire (revision 2063d9c01c4a721994a3cb528444d7f328135869)
129949e86Sstevel#
229949e86Sstevel# CDDL HEADER START
329949e86Sstevel#
429949e86Sstevel# The contents of this file are subject to the terms of the
529949e86Sstevel# Common Development and Distribution License (the "License").
629949e86Sstevel# You may not use this file except in compliance with the License.
729949e86Sstevel#
829949e86Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
929949e86Sstevel# or http://www.opensolaris.org/os/licensing.
1029949e86Sstevel# See the License for the specific language governing permissions
1129949e86Sstevel# and limitations under the License.
1229949e86Sstevel#
1329949e86Sstevel# When distributing Covered Code, include this CDDL HEADER in each
1429949e86Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1529949e86Sstevel# If applicable, add the following below this CDDL HEADER, with the
1629949e86Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
1729949e86Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
1829949e86Sstevel#
1929949e86Sstevel# CDDL HEADER END
2029949e86Sstevel#
2129949e86Sstevel
2229949e86Sstevel#
2329949e86Sstevel# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
2429949e86Sstevel# Use is subject to license terms.
2529949e86Sstevel#
26*2063d9c0SJosef 'Jeff' Sipek#	Global definitions for sun4u implementation specific modules.
2729949e86Sstevel#
2829949e86Sstevel
29*2063d9c0SJosef 'Jeff' Sipek#
30*2063d9c0SJosef 'Jeff' Sipek#	Define the name of this implementation.
31*2063d9c0SJosef 'Jeff' Sipek#
3229949e86Sstevel
33*2063d9c0SJosef 'Jeff' Sipek#
34*2063d9c0SJosef 'Jeff' Sipek#	Define directories.
35*2063d9c0SJosef 'Jeff' Sipek#
36*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_DIR	= $(ROOT_PLAT_DIR)/SUNW,Ultra-Enterprise
37*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_MOD_DIR	= $(ROOT_SUNFIRE_DIR)/kernel
38*2063d9c0SJosef 'Jeff' Sipek
39*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR_32	= $(ROOT_SUNFIRE_MOD_DIR)/drv
40*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR_64	= $(ROOT_SUNFIRE_MOD_DIR)/drv/$(SUBDIR64)
41*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_DRV_DIR	= $(ROOT_SUNFIRE_DRV_DIR_$(CLASS))
42*2063d9c0SJosef 'Jeff' SipekROOT_PLAT_DRV_DIRS	= $(ROOT_SUNFIRE_DRV_DIR)
43*2063d9c0SJosef 'Jeff' Sipek
44*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR_32	= $(ROOT_SUNFIRE_MOD_DIR)/misc
45*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR_64	= $(ROOT_SUNFIRE_MOD_DIR)/misc/$(SUBDIR64)
46*2063d9c0SJosef 'Jeff' SipekROOT_SUNFIRE_MISC_DIR	= $(ROOT_SUNFIRE_MISC_DIR_$(CLASS))
47*2063d9c0SJosef 'Jeff' Sipek
48*2063d9c0SJosef 'Jeff' SipekUSR_SUNFIRE_DIR		= $(USR_PLAT_DIR)/SUNW,Ultra-Enterprise
49*2063d9c0SJosef 'Jeff' SipekUSR_SUNFIRE_INC_DIR	= $(USR_SUNFIRE_DIR)/include
50*2063d9c0SJosef 'Jeff' SipekUSR_SUNFIRE_ISYS_DIR	= $(USR_SUNFIRE_INC_DIR)/sys
51*2063d9c0SJosef 'Jeff' SipekUSR_SUNFIRE_SBIN_DIR	= $(USR_SUNFIRE_DIR)/sbin
52*2063d9c0SJosef 'Jeff' SipekUSR_SUNFIRE_LIB_DIR	= $(USR_SUNFIRE_DIR)/lib
53*2063d9c0SJosef 'Jeff' Sipek
54*2063d9c0SJosef 'Jeff' SipekSUNFIRE_LINT_LIB_DIR= $(UTSBASE)/$(PLATFORM)/sunfire/lint-libs/$(OBJS_DIR)
55*2063d9c0SJosef 'Jeff' Sipek
56*2063d9c0SJosef 'Jeff' Sipek#
57*2063d9c0SJosef 'Jeff' Sipek# Define objects.
58*2063d9c0SJosef 'Jeff' Sipek#
59*2063d9c0SJosef 'Jeff' SipekSUNFIRE_OBJS	= sunfire.o
60*2063d9c0SJosef 'Jeff' Sipek
61*2063d9c0SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/sunfire/Makefile.files
62*2063d9c0SJosef 'Jeff' Sipek
63*2063d9c0SJosef 'Jeff' Sipek#
64*2063d9c0SJosef 'Jeff' Sipek#	Include common rules.
65*2063d9c0SJosef 'Jeff' Sipek#
66*2063d9c0SJosef 'Jeff' Sipekinclude $(UTSBASE)/sun4u/Makefile.sun4u
67*2063d9c0SJosef 'Jeff' Sipek
68*2063d9c0SJosef 'Jeff' Sipek#
69*2063d9c0SJosef 'Jeff' Sipek#	Define modules (must come after Makefile.sun4u).
70*2063d9c0SJosef 'Jeff' Sipek#
71*2063d9c0SJosef 'Jeff' SipekSUNFIRE_KMODS			= ac central environ fhc simmstat sysctrl sram
72*2063d9c0SJosef 'Jeff' Sipek
73*2063d9c0SJosef 'Jeff' Sipek#
74*2063d9c0SJosef 'Jeff' Sipek# For now, disable these lint checks; maintainers should endeavor
75*2063d9c0SJosef 'Jeff' Sipek# to investigate and remove these for maximum lint coverage.
76*2063d9c0SJosef 'Jeff' Sipek# Please do not carry these forward to new Makefiles.
77*2063d9c0SJosef 'Jeff' Sipek#
78*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_SUSPICIOUS_COMPARISON
79*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_BAD_PTR_CAST_ALIGN
80*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
81*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_STATIC_UNUSED
82*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_PTRDIFF_OVERFLOW
83*2063d9c0SJosef 'Jeff' SipekLINTTAGS	+= -erroff=E_ASSIGN_NARROW_CONV
84