Makefile revision 35a5a3587fd94b666239c157d3722745250ccbd7
70N/A#
70N/A# CDDL HEADER START
70N/A#
70N/A# The contents of this file are subject to the terms of the
851N/A# Common Development and Distribution License (the "License").
851N/A# You may not use this file except in compliance with the License.
70N/A#
70N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
70N/A# or http://www.opensolaris.org/os/licensing.
70N/A# See the License for the specific language governing permissions
70N/A# and limitations under the License.
70N/A#
70N/A# When distributing Covered Code, include this CDDL HEADER in each
70N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
70N/A# If applicable, add the following below this CDDL HEADER, with the
70N/A# fields enclosed by brackets "[]" replaced with your own identifying
70N/A# information: Portions Copyright [yyyy] [name of copyright owner]
70N/A#
70N/A# CDDL HEADER END
70N/A#
70N/A#
70N/A# uts/sparc/SDC/Makefile
70N/A#
70N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
70N/A# Use is subject to license terms.
70N/A#
70N/A# This makefile drives the production of the SDC scheduling class
70N/A# kernel module.
70N/A#
70N/A# sparc architecture dependent
70N/A#
70N/A
851N/A#
70N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
70N/A#
70N/AUTSBASE = ../..
493N/A
70N/A#
70N/A# Define the module and object file sets.
851N/A#
70N/AMODULE = SDC
70N/AOBJECTS = $(SDC_OBJS:%=$(OBJS_DIR)/%)
70N/ALINTS = $(SDC_OBJS:%.o=$(LINTS_DIR)/%.ln)
70N/AROOTMODULE = $(ROOT_SCHED_DIR)/$(MODULE)
70N/A
70N/A#
70N/A# Include common rules.
70N/A#
70N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
70N/A
493N/A#
70N/A# Define targets
70N/A#
493N/AALL_TARGET = $(BINARY)
70N/ALINT_TARGET = $(MODULE).lint
70N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
70N/A
70N/A#
70N/A# Overrides.
#
CFLAGS += $(CCVERBOSE)
#
# 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)/sparc/Makefile.targ