Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
7d98a1783f222964bcde7d56dab77b822706204dBob Halley# CDDL HEADER START
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# The contents of this file are subject to the terms of the
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Common Development and Distribution License (the "License").
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# You may not use this file except in compliance with the License.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# or http://www.opensolaris.org/os/licensing.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# See the License for the specific language governing permissions
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# and limitations under the License.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# CDDL HEADER END
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Use is subject to license terms.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson#ident "%Z%%M% %I% %E% SMI"
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# This makefile drives the production of the DoRight driver kernel module.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# sparc architecture dependent
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Path to the base of the uts directory tree (usually /usr/src/uts).
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Define the module and object file sets.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas GustafssonLINTS = $(STP4020_OBJS:%.o=$(LINTS_DIR)/%.ln)
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Include common rules.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Define targets
8468c5a2ff04508ba503e664c76f8a36c274ccfaAndreas GustafssonINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
559b10cc8f3e1dc4d93f55c9336f74839e9fa362Andreas Gustafsson# lint pass one enforcement
559b10cc8f3e1dc4d93f55c9336f74839e9fa362Andreas Gustafsson# For now, disable these lint checks; maintainers should endeavor
e0e78c2ce57115b835bc5e1c2740c8a9cdfebd2bAndreas Gustafsson# to investigate and remove these for maximum lint coverage.
559b10cc8f3e1dc4d93f55c9336f74839e9fa362Andreas Gustafsson# Please do not carry these forward to new Makefiles.
559b10cc8f3e1dc4d93f55c9336f74839e9fa362Andreas GustafssonLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
559b10cc8f3e1dc4d93f55c9336f74839e9fa362Andreas Gustafsson# Default build targets.
ff64dc5d7f8072239e7c760e56551ad3c232da6fAndreas Gustafsson# Include common targets.