Makefile revision c8343062f6e25afd9c2a31b65df357030e69fa55
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# CDDL HEADER START
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# The contents of this file are subject to the terms of the
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Common Development and Distribution License, Version 1.0 only
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# (the "License"). You may not use this file except in compliance
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# with the License.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# or http://www.opensolaris.org/os/licensing.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# See the License for the specific language governing permissions
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# and limitations under the License.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# When distributing Covered Code, include this CDDL HEADER in each
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# If applicable, add the following below this CDDL HEADER, with the
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# fields enclosed by brackets "[]" replaced with your own identifying
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# information: Portions Copyright [yyyy] [name of copyright owner]
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# CDDL HEADER END
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# uts/intel/strategy/Makefile
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
0c9a07db21ce2dc57da87ee789d12b2698d966abJorgen Austvik# Use is subject to license terms.
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#pragma ident "%Z%%M% %I% %E% SMI"
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# This makefile drives the production of the strategy "misc"
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# kernel module.
0c9a07db21ce2dc57da87ee789d12b2698d966abJorgen Austvik#
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye# intel architecture dependent
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye#
854585887bca366ee433303cae0e99572240a568Trond Norbye
0c9a07db21ce2dc57da87ee789d12b2698d966abJorgen Austvik#
0c9a07db21ce2dc57da87ee789d12b2698d966abJorgen Austvik# Path to the base of the uts directory tree (usually /usr/src/uts).
854585887bca366ee433303cae0e99572240a568Trond Norbye#
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond NorbyeUTSBASE = ../..
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Define the module and object file sets.
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeMODULE = strategy
e372bd6df6fcf2bc7f7c925fe702a9e62fd7c466Trond NorbyeOBJECTS = $(STRATEGY_OBJS:%=$(OBJS_DIR)/%)
2aef10a5d2ebeaeb6b9cb6fed41933d19a76292fTrond NorbyeLINTS = $(STRATEGY_OBJS:%.o=$(LINTS_DIR)/%.ln)
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond NorbyeROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye#
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbye# Include common rules.
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbye#
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbyeinclude $(UTSBASE)/intel/Makefile.intel
3bd91b9bbb9915421b772c357165fbc6fdeaf286Trond Norbye
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbye#
f60d84bfe9ece4779c642dfe4849acd35ade9388Trond Norbye# Define targets
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye#
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen AustvikALL_TARGET = $(BINARY)
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen AustvikLINT_TARGET = $(MODULE).lint
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond NorbyeINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik#
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik# Overrides.
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye#
56c70b1779694ab3e83d294e3dcb839fe4374c97Patrick HigginsDEBUG_FLGS =
38115c792a2142d264ca2617b11962301f079c0aTrond NorbyeDEBUG_DEFS += $(DEBUG_FLGS)
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye#
38115c792a2142d264ca2617b11962301f079c0aTrond Norbye# Default build targets.
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbye#
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik.KEEP_STATE:
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvikdef: $(DEF_DEPS)
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvikall: $(ALL_DEPS)
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbyeclean: $(CLEAN_DEPS)
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbyeclobber: $(CLOBBER_DEPS)
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbye
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austviklint: $(LINT_DEPS)
8a9ba65ef751678506cd771169b7e3416b7b1b02Trond Norbye
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbyemodlintlib: $(MODLINTLIB_DEPS)
dff0dafed34eb2945aaeb628ae66e0f460cea9a1Jorgen Austvik
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbyeclean.lint: $(CLEAN_LINT_DEPS)
49c1125dd084e20a3e636c09f3f35460cbd250e8Trond Norbye
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbyeinstall: $(INSTALL_DEPS)
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye#
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye# Include common targets.
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye#
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbyeinclude $(UTSBASE)/intel/Makefile.targ
8739a8f4d16d06ac76f16ec8b80837cfd2448490Trond Norbye