Makefile revision 269473047d747f7815af570197e4ef7322d3632c
80N/A#
80N/A# CDDL HEADER START
80N/A#
80N/A# The contents of this file are subject to the terms of the
80N/A# Common Development and Distribution License (the "License").
80N/A# You may not use this file except in compliance with the License.
80N/A#
80N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
80N/A# or http://www.opensolaris.org/os/licensing.
80N/A# See the License for the specific language governing permissions
80N/A# and limitations under the License.
80N/A#
80N/A# When distributing Covered Code, include this CDDL HEADER in each
80N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
80N/A# If applicable, add the following below this CDDL HEADER, with the
80N/A# fields enclosed by brackets "[]" replaced with your own identifying
80N/A# information: Portions Copyright [yyyy] [name of copyright owner]
80N/A#
80N/A# CDDL HEADER END
80N/A#
5680N/A#
5680N/A# uts/intel/pci_pci/Makefile
5389N/A#
80N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5680N/A# Use is subject to license terms.
5907N/A#
80N/A# This makefile drives the production of the pci_pci driver kernel module.
80N/A#
80N/A
5907N/A#
1462N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
5907N/AUTSBASE = ../..
1258N/A
1258N/A#
5907N/A# Define the module and object file sets.
2899N/A#
5680N/AMODULE = pci_pci
5680N/AOBJECTS = $(PCI_PCINEXUS_OBJS:%=$(OBJS_DIR)/%)
80N/ALINTS = $(PCI_PCINEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
5680N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
5680N/A
5680N/AINC_PATH += -I$(UTSBASE)/i86pc
80N/A
1462N/A#
1462N/A# Include common rules.
1462N/A#
1462N/Ainclude $(UTSBASE)/intel/Makefile.intel
1462N/A
1462N/A#
1462N/A# Define targets
1462N/A#
80N/AALL_TARGET = $(BINARY)
4793N/ALINT_TARGET = $(MODULE).lint
4793N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4793N/A
4793N/A#
4793N/A# depends on misc/pcie and misc/pcihp
4793N/A#
4793N/ALDFLAGS += -dy -Nmisc/pcie -Nmisc/pcihp
4793N/A
4793N/A#
4793N/A# Override defaults to build a unique, local modstubs.o.
4793N/A#
4793N/AMODSTUBS_DIR = $(OBJS_DIR)
4793N/ACLEANFILES += $(MODSTUBS_O)
4793N/A
4793N/A#
4793N/A# Default build targets.
4793N/A#
4793N/A.KEEP_STATE:
4793N/A
4793N/Adef: $(DEF_DEPS)
4793N/A
4793N/Aall: $(ALL_DEPS)
4793N/A
4793N/Aclean: $(CLEAN_DEPS)
4793N/A
4793N/Aclobber: $(CLOBBER_DEPS)
5680N/A
4793N/Alint: $(LINT_DEPS)
4793N/A
4793N/Amodlintlib: $(MODLINTLIB_DEPS)
4793N/A
4400N/Aclean.lint: $(CLEAN_LINT_DEPS)
5907N/A
3817N/Ainstall: $(INSTALL_DEPS)
3817N/A
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ