7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# CDDL HEADER START
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
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#
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#
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#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# CDDL HEADER END
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# uts/i86pc/i86hvm/hvm_cmdk/Makefile
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Use is subject to license terms.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# This makefile drives the production of the xdc driver.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# i86pc implementation architecture dependent
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Path to the base of the uts directory tree (usually /usr/src/uts).
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczUTSBASE = ../../..
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Define the module and object file sets.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczMODULE = hvm_cmdk
df49e4e49391204d49b62e99bfae86101a20c690Yuri PankovOBJECTS = $(HVM_CMDK_OBJS:%=$(OBJS_DIR)/%)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTS = $(HVM_CMDK_OBJS:%.o=$(LINTS_DIR)/%.ln)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczROOTMODULE = $(ROOT_HVM_MISC_DIR)/$(MODULE)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Include common rules.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczinclude $(UTSBASE)/i86pc/i86hvm/Makefile.i86hvm
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Define targets
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczALL_TARGET = $(BINARY)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINT_TARGET = $(MODULE).lint
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Overrides.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczDEBUG_FLGS =
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczDEBUG_DEFS += $(DEBUG_FLGS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLDFLAGS += -dy -Nmisc/dadk -Nmisc/strategy -Nmisc/cmlb
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# For now, disable these lint checks; maintainers should endeavor
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# to investigate and remove these for maximum lint coverage.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Please do not carry these forward to new Makefiles.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward PilatowiczLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweLINTTAGS += -erroff=E_STATIC_UNUSED
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-parentheses
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-type-limits
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-unused-function
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-uninitialized
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
df49e4e49391204d49b62e99bfae86101a20c690Yuri Pankov#
df49e4e49391204d49b62e99bfae86101a20c690Yuri Pankov# Default build targets.
df49e4e49391204d49b62e99bfae86101a20c690Yuri Pankov#
df49e4e49391204d49b62e99bfae86101a20c690Yuri Pankov.KEEP_STATE:
df49e4e49391204d49b62e99bfae86101a20c690Yuri Pankov
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczdef: $(DEF_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczall: $(ALL_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczclean: $(CLEAN_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczclobber: $(CLOBBER_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczlint: $(LINT_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczmodlintlib: $(MODLINTLIB_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczclean.lint: $(CLEAN_LINT_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczinstall: $(INSTALL_DEPS)
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz# Include common targets.
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz#
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowiczinclude $(UTSBASE)/i86pc/i86hvm/Makefile.targ
7f0b8309074a5d8e9f9d8ffe7aad7bb0b1ee6b1fEdward Pilatowicz