Makefile revision 3066:2a2af34f0642
11722Sjkh#
21722Sjkh# CDDL HEADER START
31722Sjkh#
41722Sjkh# The contents of this file are subject to the terms of the
51722Sjkh# Common Development and Distribution License (the "License").
61722Sjkh# You may not use this file except in compliance with the License.
71722Sjkh#
81722Sjkh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91722Sjkh# or http://www.opensolaris.org/os/licensing.
101722Sjkh# See the License for the specific language governing permissions
111722Sjkh# and limitations under the License.
121722Sjkh#
131722Sjkh# When distributing Covered Code, include this CDDL HEADER in each
141722Sjkh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151722Sjkh# If applicable, add the following below this CDDL HEADER, with the
161722Sjkh# fields enclosed by brackets "[]" replaced with your own identifying
171722Sjkh# information: Portions Copyright [yyyy] [name of copyright owner]
181722Sjkh#
191722Sjkh# CDDL HEADER END
201722Sjkh#
211722Sjkh#
221722Sjkh# uts/sparc/RT/Makefile
231722Sjkh# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
241722Sjkh# Use is subject to license terms.
25101341Sgshapiro#
26101341Sgshapiro#ident	"%Z%%M%	%I%	%E% SMI"
271722Sjkh#
281722Sjkh#	This makefile drives the production of the RT scheduling class
298857Srgrimes#	kernel module.
301722Sjkh#
311722Sjkh#	sparc architecture dependent
321722Sjkh#
331722Sjkh
341722Sjkh#
351722Sjkh#	Path to the base of the uts directory tree (usually /usr/src/uts).
361722Sjkh#
371722SjkhUTSBASE	= ../..
381722Sjkh
391722Sjkh#
401722Sjkh#	Define the module and object file sets.
411722Sjkh#
421722SjkhMODULE		= RT
431722SjkhOBJECTS		= $(RT_OBJS:%=$(OBJS_DIR)/%)
44173065SyarLINTS		= $(RT_OBJS:%.o=$(LINTS_DIR)/%.ln)
451722SjkhROOTMODULE	= $(USR_SCHED_DIR)/$(MODULE)
461722Sjkh
47101341Sgshapiro#
481722Sjkh#	Include common rules.
491722Sjkh#
501722Sjkhinclude $(UTSBASE)/sparc/Makefile.sparc
511722Sjkh
521722Sjkh#
531722Sjkh#	Define targets
541722Sjkh#
551722SjkhALL_TARGET	= $(BINARY)
561722SjkhLINT_TARGET	= $(MODULE).lint
571722SjkhINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
581722Sjkh
591722Sjkh#
601722Sjkh# lint pass one enforcement
611722Sjkh#
62101341SgshapiroCFLAGS		+= $(CCVERBOSE)
631722Sjkh
641722Sjkh#
651722Sjkh# For now, disable these lint checks; maintainers should endeavor
661722Sjkh# to investigate and remove these for maximum lint coverage.
671722Sjkh# Please do not carry these forward to new Makefiles.
681722Sjkh#
691722SjkhLINTTAGS	+= -erroff=E_ASSIGN_NARROW_CONV
708664Sphk
718664Sphk#
728664Sphk#	Default build targets.
738664Sphk#
748664Sphk.KEEP_STATE:
758664Sphk
768664Sphkdef:		$(DEF_DEPS)
778664Sphk
788664Sphkall:		$(ALL_DEPS)
798664Sphk
808664Sphkclean:		$(CLEAN_DEPS)
818664Sphk
828664Sphkclobber:	$(CLOBBER_DEPS)
838664Sphk
848664Sphklint:		$(LINT_DEPS)
85101550Sgshapiro
861722Sjkhmodlintlib:	$(MODLINTLIB_DEPS)
87173065Syar
881722Sjkhclean.lint:	$(CLEAN_LINT_DEPS)
891722Sjkh
901722Sjkhinstall:	$(INSTALL_DEPS)
918857Srgrimes
921722Sjkh#
931722Sjkh#	Include common targets.
94173065Syar#
95173065Syarinclude $(UTSBASE)/sparc/Makefile.targ
96173065Syar