Makefile revision 269473047d747f7815af570197e4ef7322d3632c
157N/A#
328N/A# CDDL HEADER START
157N/A#
157N/A# The contents of this file are subject to the terms of the
157N/A# Common Development and Distribution License (the "License").
157N/A# You may not use this file except in compliance with the License.
180N/A#
157N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
180N/A# or http://www.opensolaris.org/os/licensing.
157N/A# See the License for the specific language governing permissions
157N/A# and limitations under the License.
157N/A#
157N/A# When distributing Covered Code, include this CDDL HEADER in each
157N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157N/A# If applicable, add the following below this CDDL HEADER, with the
157N/A# fields enclosed by brackets "[]" replaced with your own identifying
157N/A# information: Portions Copyright [yyyy] [name of copyright owner]
157N/A#
157N/A# CDDL HEADER END
157N/A#
180N/A#
180N/A# uts/i86pc/pcie/Makefile
180N/A#
157N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
157N/A# Use is subject to license terms.
157N/A#
157N/A#
157N/A# This makefile drives the production of the kernel/misc/pcie module
157N/A# for PCI-E Error handling support in PCI-E nexus drivers.
157N/A#
157N/A# i86pc implementation architecture dependent
157N/A#
157N/A
157N/A#
157N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
157N/A#
157N/AUTSBASE = ../..
157N/A
157N/A#
157N/A# Define the module and object file sets.
157N/A#
157N/AMODULE = pcie
157N/AOBJECTS = $(PCIE_MISC_OBJS:%=$(OBJS_DIR)/%) \
157N/A $(PCI_STRING_OBJS:%=$(OBJS_DIR)/%)
166N/ALINTS = $(PCIE_MISC_OBJS:%.o=$(LINTS_DIR)/%.ln) \
157N/A $(PCI_STRING_OBJS:%.o=$(LINTS_DIR)/%.ln)
157N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
157N/A
157N/A#
157N/A# Include common rules.
157N/A#
157N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
163N/A
157N/A#
157N/A# Dependency
157N/A#
189N/ALDFLAGS += -dy -Nmisc/acpica -Nmisc/busra
157N/A
157N/A#
189N/A# Define targets
157N/A#
157N/AALL_TARGET = $(BINARY)
157N/ALINT_TARGET = $(MODULE).lint
189N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
189N/A
189N/A#
189N/A# Default build targets.
189N/A#
189N/A.KEEP_STATE:
189N/A
189N/Adef: $(DEF_DEPS)
189N/A
157N/Aall: $(ALL_DEPS)
189N/A
157N/Aclean: $(CLEAN_DEPS)
157N/A
157N/Aclobber: $(CLOBBER_DEPS)
157N/A
157N/Alint: $(LINT_DEPS)
157N/A
189N/Amodlintlib: $(MODLINTLIB_DEPS)
283N/A
189N/Aclean.lint: $(CLEAN_LINT_DEPS)
157N/A
157N/Ainstall: $(INSTALL_DEPS)
157N/A
157N/A#
157N/A# Include common targets.
157N/A#
157N/Ainclude $(UTSBASE)/i86pc/Makefile.targ
157N/A