35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# CDDL HEADER START
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# The contents of this file are subject to the terms of the
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Common Development and Distribution License (the "License").
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# You may not use this file except in compliance with the License.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# or http://www.opensolaris.org/os/licensing.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# See the License for the specific language governing permissions
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# and limitations under the License.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# When distributing Covered Code, include this CDDL HEADER in each
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# If applicable, add the following below this CDDL HEADER, with the
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# fields enclosed by brackets "[]" replaced with your own identifying
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# information: Portions Copyright [yyyy] [name of copyright owner]
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# CDDL HEADER END
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# uts/intel/SDC/Makefile
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Use is subject to license terms.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# This makefile drives the production of the SDC scheduling class
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# kernel module.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# intel architecture dependent
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Path to the base of the uts directory tree (usually /usr/src/uts).
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsUTSBASE = ../..
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Define the module and object file sets.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsMODULE = SDC
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsOBJECTS = $(SDC_OBJS:%=$(OBJS_DIR)/%)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsLINTS = $(SDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Include common rules.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsinclude $(UTSBASE)/intel/Makefile.intel
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Define targets
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsALL_TARGET = $(BINARY)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsLINT_TARGET = $(MODULE).lint
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan AdamsINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Default build targets.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams.KEEP_STATE:
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsdef: $(DEF_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsall: $(ALL_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsclean: $(CLEAN_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsclobber: $(CLOBBER_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamslint: $(LINT_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsmodlintlib: $(MODLINTLIB_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsclean.lint: $(CLEAN_LINT_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsinstall: $(INSTALL_DEPS)
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams# Include common targets.
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adams#
35a5a3587fd94b666239c157d3722745250ccbd7Jonathan Adamsinclude $(UTSBASE)/intel/Makefile.targ