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