Makefile revision 337fc9e235877b459e389f54daf9833bbc645439
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# CDDL HEADER START
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# The contents of this file are subject to the terms of the
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Common Development and Distribution License (the "License").
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# You may not use this file except in compliance with the License.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# See the License for the specific language governing permissions
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# and limitations under the License.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# When distributing Covered Code, include this CDDL HEADER in each
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# If applicable, add the following below this CDDL HEADER, with the
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# CDDL HEADER END
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Use is subject to license terms.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#ident "%Z%%M% %I% %E% SMI"
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# This makefile drives the production of the kernel/misc/pciehpc module
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# for PCI-E hotplug controller support in PCI-E nexus drivers.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# i86pc implementation architecture dependent
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Define the module and object file sets.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox UserOBJECTS = $(PCIEHPCNEXUS_OBJS:%=$(OBJS_DIR)/%)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLINTS = $(PCIEHPCNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Include common rules.
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# Define targets
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# depends on misc/hpcsvc, misc/acpica and misc/pcie
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# For Hotplug support, the misc/hpcsvc module provides various hooks
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# to support hotplug operations.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# acpica supplies ACPI access routines
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox User# pcie supplies PCI Express fabric error support
fd2597f75693a2279fdf588bd40dfe2407c42028Tinderbox UserLDFLAGS += -dy -Nmisc/hpcsvc -Nmisc/acpica -Nmisc/pcie
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# For now, disable these lint checks; maintainers should endeavor
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# to investigate and remove these for maximum lint coverage.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Please do not carry these forward to new Makefiles.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Default build targets.
9a5087bf58f651bfff841192aba5afd06760d6ceTinderbox User# Include common targets.