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