Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
4501N/A#
4501N/A# CDDL HEADER START
4501N/A#
4501N/A# The contents of this file are subject to the terms of the
4501N/A# Common Development and Distribution License (the "License").
4501N/A# You may not use this file except in compliance with the License.
4501N/A#
4501N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4501N/A# or http://www.opensolaris.org/os/licensing.
4501N/A# See the License for the specific language governing permissions
4501N/A# and limitations under the License.
4501N/A#
4501N/A# When distributing Covered Code, include this CDDL HEADER in each
4501N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4501N/A# If applicable, add the following below this CDDL HEADER, with the
4501N/A# fields enclosed by brackets "[]" replaced with your own identifying
4501N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4501N/A#
4501N/A# CDDL HEADER END
4501N/A#
4501N/A
4501N/A#
4501N/A# uts/i86xpv/xdb/Makefile
4501N/A#
5031N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6208N/A# Use is subject to license terms.
4501N/A#
4501N/A#
4501N/A# i86xpv architecture dependent
4501N/A#
4501N/A#
4501N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6208N/A#
4501N/AUTSBASE = ../..
4501N/A
4501N/A#
4501N/A# Define the module and object file sets.
4501N/A#
4501N/AMODULE = xdb
4501N/AOBJECTS = $(XDB_OBJS:%=$(OBJS_DIR)/%)
4501N/ALINTS = $(XDB_OBJS:%.o=$(LINTS_DIR)/%.ln)
4501N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
4501N/A
4501N/A#
4501N/A# Include common rules.
4501N/A#
4501N/Ainclude $(UTSBASE)/i86xpv/Makefile.i86xpv
4501N/A
4501N/A#
4501N/A# Define targets
4501N/A#
4501N/AALL_TARGET = $(BINARY)
4501N/ALINT_TARGET = $(MODULE).lint
4501N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4501N/A
4501N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
4501N/A
4501N/ACERRWARN += -_gcc=-Wno-switch
4501N/A
4501N/A#
4501N/A# Overrides
4501N/A#
4501N/ADEF_BUILDS = $(DEF_BUILDS64)
4501N/AALL_BUILDS = $(ALL_BUILDS64)
4501N/A
4501N/A#
4501N/A# Default build targets.
4501N/A#
4501N/A.KEEP_STATE:
4501N/A
4501N/Adef: $(DEF_DEPS)
4501N/A
4501N/Aall: $(ALL_DEPS)
4501N/A
4501N/A# This build only 64-bit, but the lint32 below
4501N/A# needs corresponding clean/clobber deps.
4501N/Aclean: $(CLEAN_DEPS) clean.debug32
4501N/A
4501N/Aclobber: $(CLOBBER_DEPS) clobber.debug32
4501N/A
5280N/Alint: $(LINT_DEPS)
4501N/A
5031N/Amodlintlib: $(MODLINTLIB_DEPS) lint32
4501N/A
4501N/Aclean.lint: $(CLEAN_LINT_DEPS)
4501N/A
4501N/Ainstall: $(INSTALL_DEPS)
4501N/A
4501N/A#
4501N/A# Include common targets.
4501N/A#
4501N/Ainclude $(UTSBASE)/i86xpv/Makefile.targ
4501N/A