Makefile revision 269473047d747f7815af570197e4ef7322d3632c
0N/A#
1821N/A# CDDL HEADER START
1008N/A#
1008N/A# The contents of this file are subject to the terms of the
1008N/A# Common Development and Distribution License (the "License").
1008N/A# You may not use this file except in compliance with the License.
1008N/A#
1008N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1008N/A# or http://www.opensolaris.org/os/licensing.
1008N/A# See the License for the specific language governing permissions
1008N/A# and limitations under the License.
1008N/A#
1008N/A# When distributing Covered Code, include this CDDL HEADER in each
1008N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1008N/A# If applicable, add the following below this CDDL HEADER, with the
1008N/A# fields enclosed by brackets "[]" replaced with your own identifying
1008N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1008N/A#
1008N/A# CDDL HEADER END
1008N/A#
1008N/A#
1008N/A# uts/intel/pci_autoconfig/Makefile
1008N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
1008N/A# Use is subject to license terms.
1008N/A#
1008N/A# This makefile drives the production of the PCI autoconfiguration
1008N/A# kernel module.
0N/A#
0N/A# intel platform dependent
1821N/A#
1821N/A
1821N/A#
1821N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1821N/A#
1821N/AUTSBASE = ../..
1821N/A
1821N/A#
1821N/A# Define the module and object file sets.
1821N/A#
1821N/AMODULE = pci_autoconfig
1821N/AOBJECTS = $(PCI_AUTOCONFIG_OBJS:%=$(OBJS_DIR)/%)
1821N/ALINTS = $(PCI_AUTOCONFIG_OBJS:%.o=$(LINTS_DIR)/%.ln)
1821N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
1821N/AINC_PATH += -I$(UTSBASE)/i86pc
1821N/A
1821N/A#
1821N/A# Include common rules.
1821N/A#
1821N/Ainclude $(UTSBASE)/intel/Makefile.intel
1821N/A
1821N/A#
1821N/A# Define targets
1821N/A#
1821N/AALL_TARGET = $(BINARY)
1821N/ALINT_TARGET = $(MODULE).lint
1821N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1821N/A
1821N/A#
1821N/A# Depends on acpica ACPI CA interpreter
1821N/A#
1821N/ALDFLAGS += -dy -Nmisc/acpica -Nmisc/pcie
1821N/A
1008N/A#
1008N/A# For now, disable these lint checks; maintainers should endeavor
1821N/A# to investigate and remove these for maximum lint coverage.
1008N/A# Please do not carry these forward to new Makefiles.
1008N/A#
1008N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
1008N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
1008N/A
1821N/A#
1821N/A# Default build targets.
1821N/A#
1821N/A.KEEP_STATE:
1821N/A
1821N/Adef: $(DEF_DEPS)
1821N/A
1821N/Aall: $(ALL_DEPS)
1821N/A
0N/Aclean: $(CLEAN_DEPS)
1821N/A
1821N/Aclobber: $(CLOBBER_DEPS)
1821N/A
1821N/Alint: $(LINT_DEPS)
1821N/A
1821N/Amodlintlib: $(MODLINTLIB_DEPS)
1821N/A
1821N/Aclean.lint: $(CLEAN_LINT_DEPS)
1821N/A
1821N/Ainstall: $(INSTALL_DEPS)
1821N/A
1821N/A#
1821N/A# Include common targets.
1821N/A#
1821N/Ainclude $(UTSBASE)/intel/Makefile.targ
0N/A