Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
696N/A#
696N/A# CDDL HEADER START
696N/A#
696N/A# The contents of this file are subject to the terms of the
696N/A# Common Development and Distribution License (the "License").
696N/A# You may not use this file except in compliance with the License.
696N/A#
696N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
696N/A# or http://www.opensolaris.org/os/licensing.
696N/A# See the License for the specific language governing permissions
696N/A# and limitations under the License.
696N/A#
696N/A# When distributing Covered Code, include this CDDL HEADER in each
696N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
696N/A# If applicable, add the following below this CDDL HEADER, with the
696N/A# fields enclosed by brackets "[]" replaced with your own identifying
696N/A# information: Portions Copyright [yyyy] [name of copyright owner]
696N/A#
696N/A# CDDL HEADER END
696N/A#
696N/A#
696N/A# uts/intel/bootdev/Makefile
696N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
696N/A# Use is subject to license terms.
696N/A#
696N/A#pragma ident "%Z%%M% %I% %E% SMI"
696N/A#
696N/A# This makefile drives the production of the bootdev driver
696N/A# kernel module.
696N/A#
696N/A# intel architecture dependent
696N/A#
696N/A
696N/A#
696N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
696N/A#
696N/AUTSBASE = ../..
696N/A
696N/A#
696N/A# Define the module and object file sets.
696N/A#
696N/AMODULE = bootdev
696N/AOBJECTS = $(BOOTDEV_OBJS:%=$(OBJS_DIR)/%)
696N/ALINTS = $(BOOTDEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
696N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
696N/A
696N/A#
696N/A# Include common rules.
696N/A#
696N/Ainclude $(UTSBASE)/intel/Makefile.intel
696N/A
696N/A#
696N/A# Define targets
696N/A#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
#
# 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