ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# CDDL HEADER START
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# The contents of this file are subject to the terms of the
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# Common Development and Distribution License (the "License").
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# You may not use this file except in compliance with the License.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# See the License for the specific language governing permissions
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# and limitations under the License.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# When distributing Covered Code, include this CDDL HEADER in each
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# If applicable, add the following below this CDDL HEADER, with the
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# fields enclosed by brackets "[]" replaced with your own identifying
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# information: Portions Copyright [yyyy] [name of copyright owner]
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# CDDL HEADER END
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# Use is subject to license terms.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# This makefile drives the production of all implementation architecture
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# independent modules for the SPARC processor. (For those unsure, this
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# means the module will run on all SPARC processor based machines
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# running SunOS.)
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
d8c89d6198651e34786bc78df26f313eede9918bBeniamino Galvani $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahanidef all install clean clobber modlist: $(KMODS) $(XMODS) config
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani @if [ -f $@/Makefile ]; then \
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani# Full kernel lint target.
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
ad1ad5c8e36ea795034fcdac660b15d7c141d55bSusant Sahani @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)