Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER START
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# The contents of this file are subject to the terms of the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Common Development and Distribution License (the "License").
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You may not use this file except in compliance with the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# or http://www.opensolaris.org/os/licensing.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# See the License for the specific language governing permissions
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# and limitations under the License.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# When distributing Covered Code, include this CDDL HEADER in each
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# If applicable, add the following below this CDDL HEADER, with the
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# fields enclosed by brackets "[]" replaced with your own identifying
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# information: Portions Copyright [yyyy] [name of copyright owner]
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# CDDL HEADER END
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
134a1f4e3289b54e0f980e9cf05352e419a60beeCasper H.S. Dik# uts/sparc/md_mirror/Makefile
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Use is subject to license terms.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#ident "%Z%%M% %I% %E% SMI"
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# This makefile drives the production of the SLVM's mirror misc module.
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# sparc implementation architecture dependent
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai# Path to the base of the uts directory tree (usually /usr/src/uts).
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai#
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllaiUTSBASE = ../..
facf4a8d7b59fde89a8662b4f4c73a758e6c402cllai
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Define the module and object file sets.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiMODULE = md_mirror
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiOBJECTS = $(MIRROR_OBJS:%=$(OBJS_DIR)/%)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTS = $(MIRROR_OBJS:%.o=$(LINTS_DIR)/%.ln)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Include common rules.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiinclude $(UTSBASE)/sparc/Makefile.sparc
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Define targets
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiALL_TARGET = $(BINARY)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINT_TARGET = $(MODULE).lint
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Overrides.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiCFLAGS += $(CCVERBOSE)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# For now, disable these lint checks; maintainers should endeavor
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# to investigate and remove these for maximum lint coverage.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Please do not carry these forward to new Makefiles.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_SUPPRESSION_DIRECTIVE_UNUSED
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_STATIC_UNUSED
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert MustacchiLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Default build targets.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi.KEEP_STATE:
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchidef: $(DEF_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiall: $(ALL_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiclean: $(CLEAN_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiclobber: $(CLOBBER_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchilint: $(LINT_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchimodlintlib: $(MODLINTLIB_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiclean.lint: $(CLEAN_LINT_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiinstall: $(INSTALL_DEPS)
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi# Include common targets.
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi#
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchiinclude $(UTSBASE)/sparc/Makefile.targ
9e5aa9d8a21f8efa8ba9c9e4a0aa6edc66d07eb2Robert Mustacchi