Makefile revision 0eb822a1c0c2bea495647510b75f77f0e57633eb
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# CDDL HEADER START
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# The contents of this file are subject to the terms of the
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# Common Development and Distribution License (the "License").
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# You may not use this file except in compliance with the License.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# or http://www.opensolaris.org/os/licensing.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# See the License for the specific language governing permissions
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# and limitations under the License.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
f333ea9bdd3f85b74ae790e6c8ce2684295b3483Andreas Gustafsson#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# CDDL HEADER END
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# Use is subject to license terms.
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews#
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews# ident "%Z%%M% %I% %E% SMI"
f333ea9bdd3f85b74ae790e6c8ce2684295b3483Andreas Gustafsson#
38d9dc16287f72f018181f8dac6768b4eb05e930Mark Andrews
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsMODULE = pcibus
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsARCH = sun4v
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsCLASS = arch
5a77e9620a0b2f7417469c98be374de49d0eccc6Andreas GustafssonUTILDIR = ../../common/pcibus
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsHBDIR = ../../common/hostbridge
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsUTILSRCS = did.c did_hash.c did_props.c util.c
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsPCISRCS = pcibus.c pcibus_labels.c
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsMODULESRCS = $(UTILSRCS) $(PCISRCS) pci_sun4v.c
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrews
dfed970f63d5085c24ae95a34998e3411e05806fMark Andrewsinclude ../../Makefile.plugin
38d9dc16287f72f018181f8dac6768b4eb05e930Mark Andrews
dfed970f63d5085c24ae95a34998e3411e05806fMark AndrewsLDLIBS += -ldevinfo
CPPFLAGS += -I$(UTILDIR) -I$(HBDIR)