Makefile revision 7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1f
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# CDDL HEADER START
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# The contents of this file are subject to the terms of the
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Common Development and Distribution License (the "License").
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# You may not use this file except in compliance with the License.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# or http://www.opensolaris.org/os/licensing.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# See the License for the specific language governing permissions
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# and limitations under the License.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# When distributing Covered Code, include this CDDL HEADER in each
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# If applicable, add the following below this CDDL HEADER, with the
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# fields enclosed by brackets "[]" replaced with your own identifying
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# information: Portions Copyright [yyyy] [name of copyright owner]
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# CDDL HEADER END
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Use is subject to license terms.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# This makefile drives the production of the xdc driver.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# i86pc implementation architecture dependent
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Path to the base of the uts directory tree (usually /usr/src/uts).
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Define the module and object file sets.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTS = $(PV_SD_OBJS:%.o=$(LINTS_DIR)/%.ln)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Include common rules.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczinclude $(UTSBASE)/i86pc/i86hvm/Makefile.i86hvm
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# When generating lint libraries, we want the name of the lint module
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# that will be generated to by pv_sd and not sd, so override the
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# default lint module name here.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Define targets
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLDFLAGS += -dy -Nmisc/strategy -Nmisc/cmlb -Ndrv/xpvd -Ndrv/xdf
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# The Xen header files do not lint cleanly. Since the troublesome
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# structures form part of the externally defined interface to the
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# hypervisor, we're stuck with the noise.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Default build targets.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Include common targets.