Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# CDDL HEADER START
2ec41475a713696b36e0e16ed433d18de6b25a74vboxsync#
f65dabff4474710524235022d328b737f174fc1dvboxsync# The contents of this file are subject to the terms of the
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Common Development and Distribution License (the "License").
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# You may not use this file except in compliance with the License.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# or http://www.opensolaris.org/os/licensing.
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# See the License for the specific language governing permissions
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# and limitations under the License.
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync#
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# When distributing Covered Code, include this CDDL HEADER in each
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# If applicable, add the following below this CDDL HEADER, with the
58984a41017d9c036f03e174e6f9c20aa98a6081vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync#
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync# CDDL HEADER END
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync#
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync#
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync# uts/intel/bootdev/Makefile
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync# Use is subject to license terms.
f001425d2b0a661d4cd1f7ea07b4e7454538c829vboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#pragma ident "%Z%%M% %I% %E% SMI"
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
2ec41475a713696b36e0e16ed433d18de6b25a74vboxsync# This makefile drives the production of the bootdev driver
2ec41475a713696b36e0e16ed433d18de6b25a74vboxsync# kernel module.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# intel architecture dependent
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncUTSBASE = ../..
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Define the module and object file sets.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncMODULE = bootdev
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncOBJECTS = $(BOOTDEV_OBJS:%=$(OBJS_DIR)/%)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncLINTS = $(BOOTDEV_OBJS:%.o=$(LINTS_DIR)/%.ln)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Include common rules.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncinclude $(UTSBASE)/intel/Makefile.intel
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Define targets
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncALL_TARGET = $(BINARY)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncLINT_TARGET = $(MODULE).lint
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Default build targets.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync.KEEP_STATE:
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncdef: $(DEF_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncall: $(ALL_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncclean: $(CLEAN_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncclobber: $(CLOBBER_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsynclint: $(LINT_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncmodlintlib: $(MODLINTLIB_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncclean.lint: $(CLEAN_LINT_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncinstall: $(INSTALL_DEPS)
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync# Include common targets.
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync#
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsyncinclude $(UTSBASE)/intel/Makefile.targ
87e5ff36ca414b87b7c726ab60a2b0434410d15avboxsync