Makefile revision 843e19887f64dde75055cf8842fc4db2171eff45
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# CDDL HEADER START
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# The contents of this file are subject to the terms of the
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Common Development and Distribution License (the "License").
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# You may not use this file except in compliance with the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# See the License for the specific language governing permissions
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# and limitations under the License.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# When distributing Covered Code, include this CDDL HEADER in each
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# If applicable, add the following below this CDDL HEADER, with the
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# fields enclosed by brackets "[]" replaced with your own identifying
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# information: Portions Copyright [yyyy] [name of copyright owner]
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# CDDL HEADER END
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Use is subject to license terms.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# ident "%Z%%M% %I% %E% SMI"
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# This makefile drives the production of the PCI-E nexus driver
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# i86xpv implementation architecture dependent
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Path to the base of the uts directory tree (usually /usr/src/uts).
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Define the module and object file sets.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterLINTS = $(PCI_E_NEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Include common rules.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Define targets
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# For PCI Hotplug support, the misc/pcihp module provides devctl control
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# device and cb_ops functions to support hotplug operations.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# acpica supplies ACPI access routines
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan FosterLDFLAGS += -dy -Nmisc/pcihp -Nmisc/acpica -Nmisc/pcie
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Name of the module is needed by the source, to distinguish from other
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Default build targets.
a688bcbb4bcff5398fdd29b86f83450257dc0df4Allan Foster# Include common targets.