Makefile revision 337fc9e235877b459e389f54daf9833bbc645439
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder# CDDL HEADER START
25cc5fbba63f84b47e389af749f55abbbde71c8cChristian Maeder# The contents of this file are subject to the terms of the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# Common Development and Distribution License (the "License").
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# or http://www.opensolaris.org/os/licensing.
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# See the License for the specific language governing permissions
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# and limitations under the License.
f2f9df2e17e70674f0bf426ed1763c973ee4cde0Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
68d10d143f29fcff3c637ba24f90e983995ceae6Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
a53841f6d6e86ac751c12a33dc8aadf53f59d977Klaus Luettich# CDDL HEADER END
96646aed2ae087b942ae23f15bbe729a8f7c43d3Christian Maeder# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
01e383014b555bbcf639c0ca60c5810b3eff83c0Christian Maeder# Use is subject to license terms.
9dac90ec2be2a72e03893095461960d483fe2fc2Christian Maeder#ident "%Z%%M% %I% %E% SMI"
ce8b15da31cd181b7e90593cbbca98f47eda29d6Till Mossakowski# This makefile drives the production of the PCI-E nexus driver
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# i86pc implementation architecture dependent
c0c2380bced8159ff0297ece14eba948bd236471Christian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
404166b9366552e9ec5abb87a37c76ec8a815fb7Klaus Luettich# Define the module and object file sets.
4d56f2fa72e4aec20eb827c11ed49c8cbb7014bdChristian MaederOBJECTS = $(PCI_E_NEXUS_OBJS:%=$(OBJS_DIR)/%)
4cb215739e9ab13447fa21162482ebe485b47455Christian MaederLINTS = $(PCI_E_NEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
356fa49fe3e6a8398f92d13e9f920d0f093697ecChristian Maeder# Include common rules.
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# Define targets
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maeder# depends on misc/pcihp, misc/acpica and misc/pcie
7cc09dd93962a2155c34d209d1d4cd7d7b838264Christian Maeder# For PCI Hotplug support, the misc/pcihp module provides devctl control
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maeder# device and cb_ops functions to support hotplug operations.
c3053d57f642ca507cdf79512e604437c4546cb9Christian Maeder# acpica supplies ACPI access routines
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# pcie supplies PCI Express fabric error support
dcbd32289a7bdf1e6edd06c6ab0698c6a9dbf37aChristian MaederLDFLAGS += -dy -Nmisc/pcihp -Nmisc/acpica -Nmisc/pcie
1aee4aaddde105264c1faf394d88e302c05094ffChristian Maeder# Name of the module is needed by the source, to distinguish from other
f13d1e86e58da53680e78043e8df182eed867efbChristian Maeder# For now, disable these lint checks; maintainers should endeavor
c2a4d8ae266aa37cc922eba97077520229a19902Christian Maeder# to investigate and remove these for maximum lint coverage.
79e80c4b3f0ebb337d84415a50f29ccfc793e68bChristian Maeder# Please do not carry these forward to new Makefiles.
ecf76bc89d9a2ecd7ac7310d30654b9a79d97d62Klaus Luettich# Default build targets.
9e748851c150e1022fb952bab3315e869aaf0214Christian Maeder# Include common targets.