Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
252N/A#
252N/A# CDDL HEADER START
252N/A#
252N/A# The contents of this file are subject to the terms of the
252N/A# Common Development and Distribution License (the "License").
252N/A# You may not use this file except in compliance with the License.
252N/A#
252N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
252N/A# or http://www.opensolaris.org/os/licensing.
252N/A# See the License for the specific language governing permissions
252N/A# and limitations under the License.
252N/A#
252N/A# When distributing Covered Code, include this CDDL HEADER in each
252N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
252N/A# If applicable, add the following below this CDDL HEADER, with the
252N/A# fields enclosed by brackets "[]" replaced with your own identifying
252N/A# information: Portions Copyright [yyyy] [name of copyright owner]
252N/A#
252N/A# CDDL HEADER END
252N/A#
252N/A#
252N/A# uts/i86pc/pci/Makefile
252N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
252N/A# Use is subject to license terms.
252N/A#
252N/A
252N/A#
252N/A# This makefile drives the production of the PCI nexus driver
252N/A#
252N/A# i86pc implementation architecture dependent
252N/A#
252N/A
252N/A#
252N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
252N/A#
252N/AUTSBASE = ../..
252N/A
252N/A#
252N/A# Define the module and object file sets.
252N/A#
252N/AMODULE = pci
252N/AOBJECTS = $(PCINEXUS_OBJS:%=$(OBJS_DIR)/%)
252N/ALINTS = $(PCINEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
252N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
252N/A
252N/A#
252N/A# Include common rules.
252N/A#
252N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
252N/A
252N/A#
252N/A# Define targets
252N/A#
252N/AALL_TARGET = $(BINARY)
252N/ALINT_TARGET = $(MODULE).lint
252N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
252N/A
252N/A#
252N/A# depends on misc/pci_autoconfig misc/pcihp
252N/A#
252N/ALDFLAGS += -dy -Nmisc/pcihp
252N/A
252N/A#
252N/A# Name of the module is needed by the source, to distinguish from other
252N/A# PCI/PCI-express nexi
252N/A#
252N/ACFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
252N/ALINTFLAGS += -D_MODULE_NAME="\"$(MODULE)\""
252N/A
252N/A#
252N/A# For now, disable these lint checks; maintainers should endeavor
252N/A# to investigate and remove these for maximum lint coverage.
252N/A# Please do not carry these forward to new Makefiles.
252N/A#
252N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
252N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
252N/A
252N/ACERRWARN += -_gcc=-Wno-parentheses
252N/ACERRWARN += -_gcc=-Wno-uninitialized
252N/A
252N/A#
252N/A# Default build targets.
252N/A#
252N/A.KEEP_STATE:
252N/A
252N/Adef: $(DEF_DEPS)
252N/A
252N/Aall: $(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