Makefile revision 6e91bba0d6c6bdabbba62cefae583715a4a58e2a
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
c99e4bdccfb4ac4da569c64a43baaf908d726329Chris Kirby#ident "%Z%%M% %I% %E% SMI"
b3d32f0ceb59362ba287dcfd6de471e98bfc7fa9Bryan Cantrill# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Use is subject to license terms.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This makefile drives the production of all implementation architecture
fa9e4066f08beec538e775443c5be79dd423fcabahrens# independent modules for the SPARC processor. (For those unsure, this
fa9e4066f08beec538e775443c5be79dd423fcabahrens# means the module will run on all SPARC processor based machines
c9431fa1e59a88c2f0abf611f25b97af964449e5ahl# running SunOS.)
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_LINT_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
fa9e4066f08beec538e775443c5be79dd423fcabahrens# EXPORT DELETE START
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(CLOSED_BUILD)LINT_LIBS += $(SVVS_KMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
feef89cf5f5fee792c1a396bb0e48070935cf65aVictor LatushkinLINT_LIBS += $(LINT_XMODLIBS:%=$(LINT_LIB_DIR)/llib-l%.ln)
fa9e4066f08beec538e775443c5be79dd423fcabahrens$(CLOSED_BUILD)LINT_LIBS += $(CLOSED_XMODS:%=$(LINT_LIB_DIR)/llib-l%.ln)
94dd93aee32d1616436eb51fb7b58094b9a8d3e8George Wilson# EXPORT DELETE END
fa9e4066f08beec538e775443c5be79dd423fcabahrens.PARALLEL: $(PARALLEL_KMODS) $(CLOSED_KMODS) $(SVVS) $(XMODS) \
fa9e4066f08beec538e775443c5be79dd423fcabahrensdef all install clean clobber modlist: $(KMODS) $(CLOSED_KMODS) $(SVVS) \
fa9e4066f08beec538e775443c5be79dd423fcabahrensmodlintlib clean.lint: $(LINT_KMODS) $(CLOSED_LINT_KMODS) $(SVVS) \
44cb6abc89aa591c23f5e58296c6d2a29302344abmc cd $(CLOSED)/uts/sparc/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
44cb6abc89aa591c23f5e58296c6d2a29302344abmc @if [ -f $@/Makefile ]; then \
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens# Full kernel lint target.
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens @-$(ECHO) "\nFULL KERNEL: global crosschecks:"
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens# EXPORT DELETE START
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
c3a66015199e1814c2af8f7e6929af2004302e7eMatthew Ahrens# EXPORT DELETE END