Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# CDDL HEADER START
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# The contents of this file are subject to the terms of the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Common Development and Distribution License (the "License").
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# You may not use this file except in compliance with the License.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# or http://www.opensolaris.org/os/licensing.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# See the License for the specific language governing permissions
0662ed52e814f8f08ef0e09956413a792584eddffuankg# and limitations under the License.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# When distributing Covered Code, include this CDDL HEADER in each
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# If applicable, add the following below this CDDL HEADER, with the
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# fields enclosed by brackets "[]" replaced with your own identifying
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes# CDDL HEADER END
70953fb44a7140fe206c3a5f011e24209c8c5c6abnicholes#
16b55a35cff91315d261d1baa776138af465c4e4fuankg#
16b55a35cff91315d261d1baa776138af465c4e4fuankg# uts/sparc/rlmod/Makefile
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Use is subject to license terms.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# This makefile drives the production of the rlmod streams kernel
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# module.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# sparc architecture dependent
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Path to the base of the uts directory tree (usually /usr/src/uts).
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesUTSBASE = ../..
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes#
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes# Define the module and object file sets.
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholes#
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesMODULE = rlmod
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesOBJECTS = $(RLMOD_OBJS:%=$(OBJS_DIR)/%)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesLINTS = $(RLMOD_OBJS:%.o=$(LINTS_DIR)/%.ln)
9558e9fdb620dd6f42ca93beac6c3ab734086706bnicholesROOTMODULE = $(USR_STRMOD_DIR)/$(MODULE)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Include common rules.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinclude $(UTSBASE)/sparc/Makefile.sparc
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Define targets
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesALL_TARGET = $(BINARY)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesLINT_TARGET = $(MODULE).lint
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# lint pass one enforcement
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesCFLAGS += $(CCVERBOSE)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# For now, disable these lint checks; maintainers should endeavor
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# to investigate and remove these for maximum lint coverage.
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg# Please do not carry these forward to new Makefiles.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesCERRWARN += -_gcc=-Wno-parentheses
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesCERRWARN += -_gcc=-Wno-uninitialized
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Default build targets.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes.KEEP_STATE:
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesdef: $(DEF_DEPS)
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesall: $(ALL_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesclean: $(CLEAN_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesclobber: $(CLOBBER_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholeslint: $(LINT_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesmodlintlib: $(MODLINTLIB_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesclean.lint: $(CLEAN_LINT_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinstall: $(INSTALL_DEPS)
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes# Include common targets.
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes#
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholesinclude $(UTSBASE)/sparc/Makefile.targ
d5b12fe8ae917e654a33247fd4e59dc9e75170aebnicholes