Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# CDDL HEADER START
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# The contents of this file are subject to the terms of the
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# Common Development and Distribution License (the "License").
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# You may not use this file except in compliance with the License.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# See the License for the specific language governing permissions
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# and limitations under the License.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# When distributing Covered Code, include this CDDL HEADER in each
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# If applicable, add the following below this CDDL HEADER, with the
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# fields enclosed by brackets "[]" replaced with your own identifying
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# information: Portions Copyright [yyyy] [name of copyright owner]
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# CDDL HEADER END
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# Use is subject to license terms.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# ident "%Z%%M% %I% %E% SMI"
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# This makefile drives the production of all implementation architecture
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# dependent modules for the i86pc architecture.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# The following are x86 specific (rather than i86pc) specific modules
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# which are required for the i86pc kernel to completely lint. They are
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# not involved in the build in any other way. In order to minimize
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# build time, it is assumed that they are up to date.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk HoganINTEL_LIB_DIR = $(UTSBASE)/intel/lint-libs/$(OBJS_DIR)
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hoganmodlist modlist.intel := NO_STATE= -K $$MODSTATE$$$$
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan.PARALLEL: $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS) \
4a642b683ca0842ad671e9e1972110e0a3b1cf60Dirk Hogandef all clean clobber clean.lint: setup genassym unix .WAIT \
4a642b683ca0842ad671e9e1972110e0a3b1cf60Dirk Hogan $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS)
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hoganinstall: install_platforms setup genassym unix .WAIT \
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS)
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# list the modules under i86pc.
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hoganmodlist: unix $(KMODS) $(CLOSED_KMODS) $(XMODS) $(CLOSED_XMODS)
9d406c6b25ce9f6bf266b077443e723b95962914Dirk Hogan# list the modules for Install -k i86pc.
@if [ -f $@/Makefile ]; then \
$(INS.slink1)
FRC:
$(XREF) -x $@