Makefile revision 89b43686db1fe9681d80a7cf5662730cb9378cae
6738N/A#
6738N/A# CDDL HEADER START
6738N/A#
6738N/A# The contents of this file are subject to the terms of the
6738N/A# Common Development and Distribution License, Version 1.0 only
6738N/A# (the "License"). You may not use this file except in compliance
6738N/A# with the License.
6738N/A#
6738N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6738N/A# or http://www.opensolaris.org/os/licensing.
6738N/A# See the License for the specific language governing permissions
6738N/A# and limitations under the License.
6738N/A#
6738N/A# When distributing Covered Code, include this CDDL HEADER in each
6738N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6738N/A# If applicable, add the following below this CDDL HEADER, with the
6738N/A# fields enclosed by brackets "[]" replaced with your own identifying
6738N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6738N/A#
6738N/A# CDDL HEADER END
6738N/A#
6738N/A#
6738N/A# uts/intel/md_hotspares/Makefile
6738N/A# Copyright (c) 1999, 2000 by Sun Microsystems, Inc.
6738N/A# All rights reserved.
6738N/A# Copyright (c) 2011 Bayard G. Bell.
6738N/A#
6738N/A# This makefile drives the production of the md_hotspares module
6738N/A#
6738N/A# architecture independent
6738N/A#
6738N/A
6738N/A#
6738N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6738N/A#
6738N/AUTSBASE = ../..
6738N/A
6738N/A#
6738N/A# Define the module and object file sets.
6738N/A#
6738N/AMODULE = md_hotspares
6738N/AOBJECTS = $(HOTSPARES_OBJS:%=$(OBJS_DIR)/%)
6738N/ALINTS = $(HOTSPARES_OBJS:%.o=$(LINTS_DIR)/%.ln)
6738N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
6738N/A
6738N/A#
6738N/A# Include common rules.
6738N/A#
6738N/Ainclude $(UTSBASE)/intel/Makefile.intel
6738N/A
6738N/A#
6738N/A# Define targets
6738N/A#
6738N/AALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# Depends on md
#
LDFLAGS += -dy -N drv/md
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ