1eb0cc229Sedp# 2eb0cc229Sedp# CDDL HEADER START 3eb0cc229Sedp# 4eb0cc229Sedp# The contents of this file are subject to the terms of the 5eb0cc229Sedp# Common Development and Distribution License (the "License"). 6eb0cc229Sedp# You may not use this file except in compliance with the License. 7eb0cc229Sedp# 8eb0cc229Sedp# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9eb0cc229Sedp# or http://www.opensolaris.org/os/licensing. 10eb0cc229Sedp# See the License for the specific language governing permissions 11eb0cc229Sedp# and limitations under the License. 12eb0cc229Sedp# 13eb0cc229Sedp# When distributing Covered Code, include this CDDL HEADER in each 14eb0cc229Sedp# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15eb0cc229Sedp# If applicable, add the following below this CDDL HEADER, with the 16eb0cc229Sedp# fields enclosed by brackets "[]" replaced with your own identifying 17eb0cc229Sedp# information: Portions Copyright [yyyy] [name of copyright owner] 18eb0cc229Sedp# 19eb0cc229Sedp# CDDL HEADER END 20eb0cc229Sedp# 21eb0cc229Sedp# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 22eb0cc229Sedp# Use is subject to license terms. 23eb0cc229Sedp# 24*fe7a23c8SAndy Fiddaman# Copyright 2019 OmniOS Community Edition (OmniOSce) Association. 25eb0cc229Sedp 26eb0cc229Sedp# 27eb0cc229Sedp# This Makefile defines the build rules for the directory 28eb0cc229Sedp# uts/i86pc/i86hvm. 29eb0cc229Sedp# 30eb0cc229Sedp# The following two-level ordering must be maintained in this file. 31eb0cc229Sedp# Lines are sorted first in order of decreasing specificity based on 32eb0cc229Sedp# the first directory component. That is, i86pc rules come before 33eb0cc229Sedp# intel rules come before common rules. 34eb0cc229Sedp# 35eb0cc229Sedp# Lines whose initial directory components are equal are sorted 36eb0cc229Sedp# alphabetically by the remaining components. 37eb0cc229Sedp 38eb0cc229Sedp# 39eb0cc229Sedp# Section 1a: C object build rules 40eb0cc229Sedp# 41eb0cc229Sedp 42eb0cc229Sedp$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/i86hvm/io/xpv/%.c 43eb0cc229Sedp $(COMPILE.c) -o $@ $< 44eb0cc229Sedp $(CTFCONVERT_O) 45eb0cc229Sedp 46eb0cc229Sedp$(OBJS_DIR)/%.o: $(UTSBASE)/i86pc/i86hvm/io/%.c 47eb0cc229Sedp $(COMPILE.c) -o $@ $< 48eb0cc229Sedp $(CTFCONVERT_O) 49eb0cc229Sedp 50eb0cc229Sedp$(OBJS_DIR)/%.o: $(UTSBASE)/common/xen/io/%.c 51eb0cc229Sedp $(COMPILE.c) -o $@ $< 52eb0cc229Sedp $(CTFCONVERT_O) 53eb0cc229Sedp 54eb0cc229Sedp$(OBJS_DIR)/%.o: $(UTSBASE)/common/xen/os/%.c 55eb0cc229Sedp $(COMPILE.c) -o $@ $< 56eb0cc229Sedp $(CTFCONVERT_O) 57