Makefile revision bd93c05dbd9b8f1e8d2edf48c777bc881f927608
4518N/A#
4518N/A# CDDL HEADER START
4518N/A#
4518N/A# The contents of this file are subject to the terms of the
4518N/A# Common Development and Distribution License (the "License").
4518N/A# You may not use this file except in compliance with the License.
4518N/A#
4518N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4518N/A# or http://www.opensolaris.org/os/licensing.
4518N/A# See the License for the specific language governing permissions
4518N/A# and limitations under the License.
4518N/A#
4518N/A# When distributing Covered Code, include this CDDL HEADER in each
4518N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4518N/A# If applicable, add the following below this CDDL HEADER, with the
4518N/A# fields enclosed by brackets "[]" replaced with your own identifying
4518N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4518N/A#
4518N/A# CDDL HEADER END
4518N/A#
4518N/A#
4518N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
4518N/A# Use is subject to license terms.
4518N/A#
4518N/A# uts/sparc/Makefile
4518N/A#
4518N/A# This makefile drives the production of all implementation architecture
4518N/A# independent modules for the SPARC processor. (For those unsure, this
4518N/A# means the module will run on all SPARC processor based machines
4518N/A# running SunOS.)
4518N/A
4518N/AUTSBASE = ..
4518N/A
4518N/Ainclude Makefile.sparc
4518N/A
4518N/ALINT_KMODS_X1 = $(LINT_KMODS:nsmb=)
4518N/ALINT_KMODS_X2 = $(LINT_KMODS_X1:smbfs=)
4518N/ALINT_KMODLIBS = $(LINT_KMODS_X2:e1000g=)
4518N/ALINT_LIBS = $(LINT_LIB) $(GEN_LINT_LIB) \
4518N/A $(LINT_KMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln) \
4518N/A $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
4518N/A
4518N/ADRV_KMODS += dprov
4518N/A
4518N/Adef := TARGET= def
4518N/Aall := TARGET= all
4518N/Ainstall := TARGET= install
4518N/Aclean := TARGET= clean
4518N/Aclobber := TARGET= clobber
4518N/Alint := TARGET= lint
4518N/Amodlintlib := TARGET= modlintlib
4518N/Amodlist := TARGET= modlist
4518N/Amodlist := NO_STATE= -K $$MODSTATE$$$$
4518N/Aclean.lint := TARGET= clean.lint
4518N/Acheck := TARGET= check
4518N/Ainstall_h := TARGET= install_h
4518N/A
4518N/A.KEEP_STATE:
4518N/A
4518N/A.PARALLEL: $(PARALLEL_KMODS) $(XMODS) config $(LINT_DEPS)
4518N/A
4518N/Adef all install clean clobber modlist: $(KMODS) $(XMODS) config
4518N/A
4518N/Amodlintlib clean.lint: $(LINT_KMODS) $(XMODS)
4518N/A
4518N/A$(KMODS) config: FRC
4518N/A @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
4518N/A
4518N/A$(XMODS): FRC
4518N/A @if [ -f $@/Makefile ]; then \
4518N/A cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET); \
4518N/A else \
4518N/A true; \
4518N/A fi
4518N/A
4518N/Ainstall_h check: FRC
4518N/A @cd asm; pwd; $(MAKE) $(TARGET)
4518N/A @cd sys; pwd; $(MAKE) $(TARGET)
4518N/A @cd v7/sys; pwd; $(MAKE) $(TARGET)
4518N/A @cd v9/sys; pwd; $(MAKE) $(TARGET)
4518N/A
4518N/A#
4518N/A# Full kernel lint target.
4518N/A#
4518N/ALINT_TARGET = globallint
4518N/A
4518N/Agloballint:
4518N/A @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
4518N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
4518N/A
4518N/Alint: modlintlib .WAIT $(LINT_DEPS)
4518N/A
4518N/Ainclude ../Makefile.targ
4518N/A