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