5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER START
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The contents of this file are subject to the terms of the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Common Development and Distribution License (the "License").
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You may not use this file except in compliance with the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# or http://www.opensolaris.org/os/licensing.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# See the License for the specific language governing permissions
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# and limitations under the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync#
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# If applicable, add the following below this CDDL HEADER, with the
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# CDDL HEADER END
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync#
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncMODULE = hostbridge
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncARCH = i86pc
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncCLASS = arch
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncUTILDIR = ../../common/pcibus
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncUTILSRCS = did.c did_hash.c did_props.c util.c
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncHBDIR = ../../common/hostbridge
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncHBSRCS = hostbridge.c hb_$(ARCH).c
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncMODULESRCS = $(HBSRCS) $(UTILSRCS)
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsync
4bc1bbf45f30ff3ca38c2ad006836e490972c7ccvboxsyncinclude ../../Makefile.plugin
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncLDLIBS += -ldevinfo -lsmbios
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCPPFLAGS += -I$(UTILDIR) -I$(HBDIR)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync%.o: $(UTILDIR)/%.c
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(COMPILE.c) -o $@ $<
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(CTFCONVERT_O)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync%.o: $(HBDIR)/%.c
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(COMPILE.c) -o $@ $<
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(CTFCONVERT_O)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync%.ln: $(UTILDIR)/%.c
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(LINT.c) -c $<
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync
cb172d105a87f41489b1553fbd99ec97932609ffvboxsync%.ln: $(HBDIR)/%.c
cb172d105a87f41489b1553fbd99ec97932609ffvboxsync $(LINT.c) -c $<
cb172d105a87f41489b1553fbd99ec97932609ffvboxsync
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync