Makefile revision 337fc9e235877b459e389f54daf9833bbc645439
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# CDDL HEADER START
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# The contents of this file are subject to the terms of the
337fc9e235877b459e389f54daf9833bbc645439anish# Common Development and Distribution License (the "License").
337fc9e235877b459e389f54daf9833bbc645439anish# You may not use this file except in compliance with the License.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
337fc9e235877b459e389f54daf9833bbc645439anish# or http://www.opensolaris.org/os/licensing.
337fc9e235877b459e389f54daf9833bbc645439anish# See the License for the specific language governing permissions
337fc9e235877b459e389f54daf9833bbc645439anish# and limitations under the License.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# When distributing Covered Code, include this CDDL HEADER in each
337fc9e235877b459e389f54daf9833bbc645439anish# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
337fc9e235877b459e389f54daf9833bbc645439anish# If applicable, add the following below this CDDL HEADER, with the
337fc9e235877b459e389f54daf9833bbc645439anish# fields enclosed by brackets "[]" replaced with your own identifying
337fc9e235877b459e389f54daf9833bbc645439anish# information: Portions Copyright [yyyy] [name of copyright owner]
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# CDDL HEADER END
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# uts/i86pc/pcie/Makefile
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
337fc9e235877b459e389f54daf9833bbc645439anish# Use is subject to license terms.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish#ident "%Z%%M% %I% %E% SMI"
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# This makefile drives the production of the kernel/misc/pcie module
337fc9e235877b459e389f54daf9833bbc645439anish# for PCI-E Error handling support in PCI-E nexus drivers.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# i86pc implementation architecture dependent
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Path to the base of the uts directory tree (usually /usr/src/uts).
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anishUTSBASE = ../..
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Define the module and object file sets.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anishMODULE = pcie
337fc9e235877b459e389f54daf9833bbc645439anishOBJECTS = $(PCI_E_MISC_OBJS:%=$(OBJS_DIR)/%)
337fc9e235877b459e389f54daf9833bbc645439anishLINTS = $(PCI_E_MISC_OBJS:%.o=$(LINTS_DIR)/%.ln)
337fc9e235877b459e389f54daf9833bbc645439anishROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Include common rules.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anishinclude $(UTSBASE)/i86pc/Makefile.i86pc
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Define targets
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anishALL_TARGET = $(BINARY)
337fc9e235877b459e389f54daf9833bbc645439anishLINT_TARGET = $(MODULE).lint
337fc9e235877b459e389f54daf9833bbc645439anishINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Default build targets.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish.KEEP_STATE:
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishdef: $(DEF_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishall: $(ALL_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishclean: $(CLEAN_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishclobber: $(CLOBBER_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishlint: $(LINT_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishmodlintlib: $(MODLINTLIB_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishclean.lint: $(CLEAN_LINT_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anishinstall: $(INSTALL_DEPS)
337fc9e235877b459e389f54daf9833bbc645439anish
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anish# Include common targets.
337fc9e235877b459e389f54daf9833bbc645439anish#
337fc9e235877b459e389f54daf9833bbc645439anishinclude $(UTSBASE)/i86pc/Makefile.targ