Makefile revision 3066:2a2af34f0642
10Sduke#
22362Sohair# CDDL HEADER START
30Sduke#
40Sduke# The contents of this file are subject to the terms of the
50Sduke# Common Development and Distribution License (the "License").
60Sduke# You may not use this file except in compliance with the License.
70Sduke#
80Sduke# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sduke# or http://www.opensolaris.org/os/licensing.
100Sduke# See the License for the specific language governing permissions
110Sduke# and limitations under the License.
120Sduke#
130Sduke# When distributing Covered Code, include this CDDL HEADER in each
140Sduke# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sduke# If applicable, add the following below this CDDL HEADER, with the
160Sduke# fields enclosed by brackets "[]" replaced with your own identifying
170Sduke# information: Portions Copyright [yyyy] [name of copyright owner]
180Sduke#
192362Sohair# CDDL HEADER END
202362Sohair#
212362Sohair#
220Sduke# uts/intel/TS/Makefile
230Sduke#
240Sduke# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
250Sduke# Use is subject to license terms.
260Sduke#
270Sduke#ident	"%Z%%M%	%I%	%E% SMI"
280Sduke#
290Sduke#	This makefile drives the production of the TS scheduling class
300Sduke#	kernel module.
310Sduke#
320Sduke#	intel architecture dependent
330Sduke#
340Sduke
350Sduke#
360Sduke#	Path to the base of the uts directory tree (usually /usr/src/uts).
370Sduke#
380SdukeUTSBASE	= ../..
390Sduke
400Sduke#
410Sduke#	Define the module and object file sets.
4212745Smartin#
4312745SmartinMODULE		= TS
4412745SmartinOBJECTS		= $(TS_OBJS:%=$(OBJS_DIR)/%)
450SdukeLINTS		= $(TS_OBJS:%.o=$(LINTS_DIR)/%.ln)
460SdukeROOTMODULE	= $(ROOT_SCHED_DIR)/$(MODULE)
470Sduke
480Sduke#
490Sduke#	Include common rules.
500Sduke#
510Sdukeinclude $(UTSBASE)/intel/Makefile.intel
520Sduke
530Sduke#
540Sduke#	Define targets
550Sduke#
560SdukeALL_TARGET	= $(BINARY)
570SdukeLINT_TARGET	= $(MODULE).lint
580SdukeINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
590Sduke
600Sduke#
610Sduke# For now, disable these lint checks; maintainers should endeavor
620Sduke# to investigate and remove these for maximum lint coverage.
630Sduke# Please do not carry these forward to new Makefiles.
640Sduke#
650SdukeLINTTAGS	+= -erroff=E_ASSIGN_NARROW_CONV
660Sduke
670Sduke#
680Sduke#	Default build targets.
690Sduke#
700Sduke.KEEP_STATE:
710Sduke
720Sdukedef:		$(DEF_DEPS)
730Sduke
740Sdukeall:		$(ALL_DEPS)
750Sduke
760Sdukeclean:		$(CLEAN_DEPS)
770Sduke
780Sdukeclobber:	$(CLOBBER_DEPS)
790Sduke
800Sdukelint:		$(LINT_DEPS)
810Sduke
820Sdukemodlintlib:	$(MODLINTLIB_DEPS)
830Sduke
840Sdukeclean.lint:	$(CLEAN_LINT_DEPS)
850Sduke
860Sdukeinstall:	$(INSTALL_DEPS)
870Sduke
880Sduke#
890Sduke#	Include common targets.
900Sduke#
910Sdukeinclude $(UTSBASE)/intel/Makefile.targ
920Sduke