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