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