Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# CDDL HEADER START
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# The contents of this file are subject to the terms of the
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Common Development and Distribution License, Version 1.0 only
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# (the "License"). You may not use this file except in compliance
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# with the License.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# or http://www.opensolaris.org/os/licensing.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# See the License for the specific language governing permissions
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# and limitations under the License.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# When distributing Covered Code, include this CDDL HEADER in each
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# If applicable, add the following below this CDDL HEADER, with the
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# CDDL HEADER END
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# uts/sparc/md_hotspares/Makefile
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Use is subject to license terms.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# This makefile drives the production of the SLVM's hotspares misc module.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# sparc implementation architecture dependent
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncUTSBASE = ../..
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Define the module and object file sets.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncMODULE = md_hotspares
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncOBJECTS = $(HOTSPARES_OBJS:%=$(OBJS_DIR)/%)
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncLINTS = $(HOTSPARES_OBJS:%.o=$(LINTS_DIR)/%.ln)
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Include common rules.
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncinclude $(UTSBASE)/sparc/Makefile.sparc
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncCERRWARN += -_gcc=-Wno-uninitialized
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Define targets
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncALL_TARGET = $(BINARY)
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsyncLINT_TARGET = $(MODULE).lint
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync# Overrides.
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync#
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsyncCFLAGS += $(CCVERBOSE)
e7e589ca404045e288030a4151e57b63976cb39dvboxsync
e7e589ca404045e288030a4151e57b63976cb39dvboxsync#
e7e589ca404045e288030a4151e57b63976cb39dvboxsync# Define dependency on md
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsync#
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsyncLDFLAGS += -dy -N drv/md
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsync
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync#
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync# Default build targets.
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync#
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync.KEEP_STATE:
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsyncdef: $(DEF_DEPS)
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsyncall: $(ALL_DEPS)
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsyncclean: $(CLEAN_DEPS)
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsync
9d508d63ddd8cbaa227c3e3176bb376ba98ffa53vboxsyncclobber: $(CLOBBER_DEPS)
7255e1c7174fd3b892a74dede74e72557f6cced9vboxsync
e45e3ae4a834169539e689759ba6b3ac71bfe40fvboxsynclint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ