Makefile revision b65731f1f612238279eb4d997f43589b535c5646
3361N/A#
3361N/A# CDDL HEADER START
3361N/A#
3361N/A# The contents of this file are subject to the terms of the
3361N/A# Common Development and Distribution License, Version 1.0 only
3361N/A# (the "License"). You may not use this file except in compliance
3361N/A# with the License.
3361N/A#
3361N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3361N/A# or http://www.opensolaris.org/os/licensing.
6982N/A# See the License for the specific language governing permissions
6982N/A# and limitations under the License.
3361N/A#
3361N/A# When distributing Covered Code, include this CDDL HEADER in each
3361N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3361N/A# If applicable, add the following below this CDDL HEADER, with the
6982N/A# fields enclosed by brackets "[]" replaced with your own identifying
6982N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6982N/A#
6982N/A# CDDL HEADER END
3361N/A#
3361N/A#
3361N/A# uts/sparc/pciehpc/Makefile
3361N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5061N/A# Use is subject to license terms.
6184N/A#
3361N/A#ident "%Z%%M% %I% %E% SMI"
3361N/A#
3361N/A# This makefile drives the production of the kernel/misc/pciehpc module
3361N/A# (PCIe hotplug controller module) for PCIe hotplug support in PCIe nexus
4495N/A# drivers.
3361N/A#
4495N/A
3361N/A#
3361N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
3379N/A#
3361N/AUTSBASE = ../..
3379N/A
3361N/A#
3361N/A# Define the module and object file sets.
3379N/A#
3361N/AMODULE = pciehpc
3361N/AOBJECTS = $(PCIEHPCNEXUS_OBJS:%=$(OBJS_DIR)/%)
3361N/ALINTS = $(PCIEHPCNEXUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
4714N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
4714N/A
4714N/A#
4714N/A# Include common rules.
4714N/A
4714N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
4714N/A
5105N/A#
4714N/A# Define targets
4714N/A#
4714N/AALL_TARGET = $(BINARY)
5329N/ALINT_TARGET = $(MODULE).lint
5061N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5061N/A
5061N/A#
5061N/A# Dependency
5329N/ALDFLAGS += -dy -Nmisc/hpcsvc -Nmisc/pcie
5329N/A
5061N/A#
5061N/A# Default build targets.
5061N/A#
5061N/A.KEEP_STATE:
5061N/A
5061N/Adef: $(DEF_DEPS)
5061N/A
5061N/Aall: $(ALL_DEPS)
5061N/A
5329N/Aclean: $(CLEAN_DEPS)
5105N/A
5061N/Aclobber: $(CLOBBER_DEPS)
5061N/A
4714N/Alint: $(LINT_DEPS)
5369N/A
5369N/Amodlintlib: $(MODLINTLIB_DEPS)
5105N/A
5105N/Aclean.lint: $(CLEAN_LINT_DEPS)
5105N/A
5105N/Ainstall: $(INSTALL_DEPS)
5105N/A
5105N/A#
5105N/A# Include common targets.
5105N/A#
5105N/Ainclude $(UTSBASE)/sparc/Makefile.targ
5105N/A