40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx# CDDL HEADER START
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx# The contents of this file are subject to the terms of the
40e5e17b3361b3eea56a9723071c406894a20b78zx# Common Development and Distribution License (the "License").
40e5e17b3361b3eea56a9723071c406894a20b78zx# You may not use this file except in compliance with the License.
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
40e5e17b3361b3eea56a9723071c406894a20b78zx# or http://www.opensolaris.org/os/licensing.
40e5e17b3361b3eea56a9723071c406894a20b78zx# See the License for the specific language governing permissions
40e5e17b3361b3eea56a9723071c406894a20b78zx# and limitations under the License.
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx# When distributing Covered Code, include this CDDL HEADER in each
40e5e17b3361b3eea56a9723071c406894a20b78zx# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
40e5e17b3361b3eea56a9723071c406894a20b78zx# If applicable, add the following below this CDDL HEADER, with the
40e5e17b3361b3eea56a9723071c406894a20b78zx# fields enclosed by brackets "[]" replaced with your own identifying
40e5e17b3361b3eea56a9723071c406894a20b78zx# information: Portions Copyright [yyyy] [name of copyright owner]
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx# CDDL HEADER END
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zx#
0db3240d392634cfff2f95fb6da34b56b8dc574fStephen Hanson# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
40e5e17b3361b3eea56a9723071c406894a20b78zx#
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zxMODULE = pcibus
40e5e17b3361b3eea56a9723071c406894a20b78zxCLASS = arch
40e5e17b3361b3eea56a9723071c406894a20b78zxSUN4DIR = ../../sun4/$(MODULE)
40e5e17b3361b3eea56a9723071c406894a20b78zxUTILDIR = ../../common/pcibus
40e5e17b3361b3eea56a9723071c406894a20b78zxHBDIR = ../../common/hostbridge
40e5e17b3361b3eea56a9723071c406894a20b78zxUTILSRCS = did.c did_hash.c did_props.c util.c
ac88567a7a5bb7f01cf22cf366bc9d6203e24d7aHyon KimPCISRCS = pcibus.c pcibus_labels.c pci_sun4.c pcibus_hba.c
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zxMODULESRCS = $(PCISRCS) $(UTILSRCS) pci_$(ARCH).c
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zxinclude ../../Makefile.plugin
40e5e17b3361b3eea56a9723071c406894a20b78zx
0db3240d392634cfff2f95fb6da34b56b8dc574fStephen HansonLDLIBS += -ldevinfo -lsmbios
40e5e17b3361b3eea56a9723071c406894a20b78zxCPPFLAGS += -I$(SUN4DIR) -I$(UTILDIR) -I$(HBDIR)
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zx%.o: $(SUN4DIR)/%.c
40e5e17b3361b3eea56a9723071c406894a20b78zx $(COMPILE.c) -o $@ $<
40e5e17b3361b3eea56a9723071c406894a20b78zx $(CTFCONVERT_O)
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zx%.o: $(UTILDIR)/%.c
40e5e17b3361b3eea56a9723071c406894a20b78zx $(COMPILE.c) -o $@ $<
40e5e17b3361b3eea56a9723071c406894a20b78zx $(CTFCONVERT_O)
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zx%.ln: $(SUN4DIR)/%.c
40e5e17b3361b3eea56a9723071c406894a20b78zx $(LINT.c) -c $<
40e5e17b3361b3eea56a9723071c406894a20b78zx
40e5e17b3361b3eea56a9723071c406894a20b78zx%.ln: $(UTILDIR)/%.c
40e5e17b3361b3eea56a9723071c406894a20b78zx $(LINT.c) -c $<