Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder#
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder# CDDL HEADER START
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu#
e6d40133bc9f858308654afb1262b8b483ec5922Till Mossakowski# The contents of this file are subject to the terms of the
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# Common Development and Distribution License, Version 1.0 only
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# (the "License"). You may not use this file except in compliance
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# with the License.
f224a179b9f28b51822b588639f8fe1a43997acaMingyi Liu#
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# or http://www.opensolaris.org/os/licensing.
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# See the License for the specific language governing permissions
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder# and limitations under the License.
e6d40133bc9f858308654afb1262b8b483ec5922Till Mossakowski#
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu# When distributing Covered Code, include this CDDL HEADER in each
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# If applicable, add the following below this CDDL HEADER, with the
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# fields enclosed by brackets "[]" replaced with your own identifying
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# information: Portions Copyright [yyyy] [name of copyright owner]
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder# CDDL HEADER END
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder#
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder# uts/sparc/IA/Makefile
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# Use is subject to license terms.
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#ident "%Z%%M% %I% %E% SMI"
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# This makefile drives the production of the IA scheduling class
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# kernel module.
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu#
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu# sparc architecture dependent
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder#
aded434a757844a00daed5e9e53a903ebf512cecMingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Path to the base of the uts directory tree (usually /usr/src/uts).
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
aded434a757844a00daed5e9e53a903ebf512cecMingyi LiuUTSBASE = ../..
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Define the module and object file sets.
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuMODULE = IA
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuOBJECTS = $(IA_OBJS:%=$(OBJS_DIR)/%)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuLINTS = $(IA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuROOTMODULE = $(USR_SCHED_DIR)/$(MODULE)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Include common rules.
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liuinclude $(UTSBASE)/sparc/Makefile.sparc
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Define targets
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuALL_TARGET = $(BINARY)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuLINT_TARGET = $(MODULE).lint
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# lint pass one enforcement
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi LiuCFLAGS += $(CCVERBOSE)
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Default build targets.
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder#
f224a179b9f28b51822b588639f8fe1a43997acaMingyi Liu.KEEP_STATE:
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liudef: $(DEF_DEPS)
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liuall: $(ALL_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liuclean: $(CLEAN_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
991317bd1329732b61192e6cac4d6b7bc5bfd7c5Mingyi Liuclobber: $(CLOBBER_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liulint: $(LINT_DEPS)
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liu
660a8dc4e44acc7073df4420e1b1047c7e306f87Mingyi Liumodlintlib: $(MODLINTLIB_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maederclean.lint: $(CLEAN_LINT_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liuinstall: $(INSTALL_DEPS)
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu
f224a179b9f28b51822b588639f8fe1a43997acaMingyi Liu#
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu# Include common targets.
ef58ca29df8f1246b858a29b56afae31d7af4751Mingyi Liu#
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maederinclude $(UTSBASE)/sparc/Makefile.targ
876bd2c70a93981cc80f8376284616bce4a0fefcChristian Maeder