504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# CDDL HEADER START
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# The contents of this file are subject to the terms of the
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Common Development and Distribution License (the "License").
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# You may not use this file except in compliance with the License.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# or http://www.opensolaris.org/os/licensing.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# See the License for the specific language governing permissions
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# and limitations under the License.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# When distributing Covered Code, include this CDDL HEADER in each
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# If applicable, add the following below this CDDL HEADER, with the
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# CDDL HEADER END
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# uts/i86xpv/xdb/Makefile
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Use is subject to license terms.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# i86xpv architecture dependent
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Path to the base of the uts directory tree (usually /usr/src/uts).
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeUTSBASE = ../..
9e7a497a0e128578d6ab24ec1872c089ae19409fLubos Kosco
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Define the module and object file sets.
0c7ba8875c8b02af1ad22df40663bef86f819846Vladimir Kotal#
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeMODULE = xdb
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeOBJECTS = $(XDB_OBJS:%=$(OBJS_DIR)/%)
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens ElknerLINTS = $(XDB_OBJS:%.o=$(LINTS_DIR)/%.ln)
ff5eba819da0cf7964d884630fb13262ef12c505Trond NorbyeROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner#
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner# Include common rules.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeinclude $(UTSBASE)/i86xpv/Makefile.i86xpv
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Define targets
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeALL_TARGET = $(BINARY)
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeLINT_TARGET = $(MODULE).lint
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens ElknerINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeCERRWARN += -_gcc=-Wno-switch
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Overrides
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner#
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens ElknerDEF_BUILDS = $(DEF_BUILDS64)
504b528ea0d880898ca0649aacb9a641ffe164afTrond NorbyeALL_BUILDS = $(ALL_BUILDS64)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Default build targets.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye.KEEP_STATE:
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyedef: $(DEF_DEPS)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeall: $(ALL_DEPS)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# This build only 64-bit, but the lint32 below
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# needs corresponding clean/clobber deps.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeclean: $(CLEAN_DEPS) clean.debug32
8ea4b8d9796de43443cdf7b66e3f185aedf7b570Jens Elkner
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeclobber: $(CLOBBER_DEPS) clobber.debug32
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyelint: $(LINT_DEPS)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyemodlintlib: $(MODLINTLIB_DEPS) lint32
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeclean.lint: $(CLEAN_LINT_DEPS)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeinstall: $(INSTALL_DEPS)
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye# Include common targets.
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye#
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbyeinclude $(UTSBASE)/i86xpv/Makefile.targ
504b528ea0d880898ca0649aacb9a641ffe164afTrond Norbye