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