Makefile revision 29949e866e40b95795203f3ee46f44a197c946e4
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.
29949e866e40b95795203f3ee46f44a197c946e4stevel#ident "%Z%%M% %I% %E% SMI"
29949e866e40b95795203f3ee46f44a197c946e4stevel# This makefile drives the production of the sun4u sunfire platform
29949e866e40b95795203f3ee46f44a197c946e4stevel# sun4u implementation architecture dependent
29949e866e40b95795203f3ee46f44a197c946e4stevel# Path to the base of the uts directory tree (usually /usr/src/uts).
29949e866e40b95795203f3ee46f44a197c946e4stevel# Include common rules.
29949e866e40b95795203f3ee46f44a197c946e4stevel# Default build targets.
29949e866e40b95795203f3ee46f44a197c946e4stevel# The 'lint.platmod' target lints the sunfire platform module against the sun4u
29949e866e40b95795203f3ee46f44a197c946e4stevel# kernel. This ends up doing all the kernel cross-checks, so it takes a couple
29949e866e40b95795203f3ee46f44a197c946e4stevel# of minutes. Due to the low ROI, it's not run by default, but it's a good
29949e866e40b95795203f3ee46f44a197c946e4stevel# idea to run this if you change os/sunfire.c.
29949e866e40b95795203f3ee46f44a197c946e4stevel @-$(ECHO) "\nSunfire Platform-dependent module: global crosschecks:"
29949e866e40b95795203f3ee46f44a197c946e4stevel @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
29949e866e40b95795203f3ee46f44a197c946e4stevel @cd $(CLOSED)/uts/sun4u/sunfire/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
29949e866e40b95795203f3ee46f44a197c946e4stevel# Include common targets.