1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# CDDL HEADER START
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# The contents of this file are subject to the terms of the
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Common Development and Distribution License (the "License").
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# You may not use this file except in compliance with the License.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# or http://www.opensolaris.org/os/licensing.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# See the License for the specific language governing permissions
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# and limitations under the License.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# When distributing Covered Code, include this CDDL HEADER in each
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# If applicable, add the following below this CDDL HEADER, with the
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# fields enclosed by brackets "[]" replaced with your own identifying
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# information: Portions Copyright [yyyy] [name of copyright owner]
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# CDDL HEADER END
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# uts/intel/bscbus/Makefile
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Use is subject to license terms.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# This makefile drives the production of the bscbus driver
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# intel architecture dependent
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Path to the base of the uts directory tree (usually /usr/src/uts).
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdUTSBASE = ../..
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Define the module and object file sets.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdMODULE = bscbus
1c42de6d020629af774dd9e9fc81be3f3ed9398egdOBJECTS = $(BSCBUS_OBJS:%=$(OBJS_DIR)/%)
1c42de6d020629af774dd9e9fc81be3f3ed9398egdLINTS = $(BSCBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
1c42de6d020629af774dd9e9fc81be3f3ed9398egdROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1c42de6d020629af774dd9e9fc81be3f3ed9398egdCONF_SRCDIR = $(UTSBASE)/intel/io
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Include common rules.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdinclude $(UTSBASE)/intel/Makefile.intel
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Define targets
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdALL_TARGET = $(BINARY) $(CONFMOD)
1c42de6d020629af774dd9e9fc81be3f3ed9398egdLINT_TARGET = $(MODULE).lint
1c42de6d020629af774dd9e9fc81be3f3ed9398egdINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# For now, disable these lint checks; maintainers should endeavor
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# to investigate and remove these for maximum lint coverage.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Please do not carry these forward to new Makefiles.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
1c42de6d020629af774dd9e9fc81be3f3ed9398egdLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
1c42de6d020629af774dd9e9fc81be3f3ed9398egdLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-value
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Default build targets.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd.KEEP_STATE:
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egddef: $(DEF_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdall: $(ALL_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdclean: $(CLEAN_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdclobber: $(CLOBBER_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdlint: $(LINT_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdmodlintlib: $(MODLINTLIB_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdclean.lint: $(CLEAN_LINT_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egdinstall: $(INSTALL_DEPS)
1c42de6d020629af774dd9e9fc81be3f3ed9398egd
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egd# Include common targets.
1c42de6d020629af774dd9e9fc81be3f3ed9398egd#
1c42de6d020629af774dd9e9fc81be3f3ed9398egdinclude $(UTSBASE)/intel/Makefile.targ