16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# CDDL HEADER START
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# The contents of this file are subject to the terms of the
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Common Development and Distribution License (the "License").
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# You may not use this file except in compliance with the License.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# or http://www.opensolaris.org/os/licensing.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# See the License for the specific language governing permissions
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# and limitations under the License.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# When distributing Covered Code, include this CDDL HEADER in each
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# If applicable, add the following below this CDDL HEADER, with the
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# CDDL HEADER END
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# uts/i86xpv/xenbus/Makefile
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Use is subject to license terms.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# This makefile drives the production of the xenbus
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# xenstore driver kernel module.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# i86xpv architecture dependent
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncUTSBASE = ../..
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Define the module and object file sets.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncMODULE = xenbus
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncOBJECTS = $(XENBUS_OBJS:%=$(OBJS_DIR)/%)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncLINTS = $(XENBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Include common rules.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncinclude $(UTSBASE)/i86xpv/Makefile.i86xpv
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Define targets
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncALL_TARGET = $(BINARY)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncLINT_TARGET = $(MODULE).lint
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncCERRWARN += -_gcc=-Wno-parentheses
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncCERRWARN += -_gcc=-Wno-unused-variable
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Default build targets.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync.KEEP_STATE:
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncdef: $(DEF_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncall: $(ALL_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncclean: $(CLEAN_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncclobber: $(CLOBBER_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsynclint: $(LINT_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncmodlintlib: $(MODLINTLIB_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncclean.lint: $(CLEAN_LINT_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncinstall: $(INSTALL_DEPS)
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync# Include common targets.
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync#
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsyncinclude $(UTSBASE)/i86xpv/Makefile.targ
16a8d09569a2ebd598cef72fa605be6fb4563607vboxsync