Makefile revision 694c35faa87b858ecdadfe4fc592615f4eefbb07
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A# uts/sun4v/montoya/Makefile
0N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A# This makefile drives the production of the sun4v montoya platform
0N/A# modules.
0N/A#
0N/A# sun4v montoya implementation architecture dependent
0N/A#
0N/A
0N/A#
0N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
0N/A#
0N/AUTSBASE = ../..
0N/A
0N/A#
0N/A# Include common rules.
0N/A#
0N/Ainclude $(UTSBASE)/sun4v/montoya/Makefile.montoya
0N/A
0N/Adef := TARGET= def
0N/Aall := TARGET= all
0N/Ainstall := TARGET= install
0N/Ainstall_h := TARGET= install_h
0N/Aclean := TARGET= clean
0N/Aclobber := TARGET= clobber
0N/Alint := TARGET= lint
0N/Alintlib := TARGET= lintlib
0N/Amodlintlib := TARGET= modlintlib
0N/Amodlist := TARGET= modlist
0N/Amodlist := NO_STATE= -K $$MODSTATE$$$$
0N/Aclean.lint := TARGET= clean.lint
0N/Acheck := TARGET= check
0N/A
0N/A#
0N/A# Default build targets.
0N/A#
0N/A.KEEP_STATE:
0N/A
0N/Adef all clean clobber clean.lint modlist: $(MONTOYA_KMODS)
0N/A
0N/Alintlib: unix
0N/A
0N/Amodlintlib: $(MONTOYA_KMODS)
0N/A
0N/AIMPLEMENTED_PLATFORM = SUNW,Netra-CP3060
0N/A
0N/Ainstall: $(ROOT_MONTOYA_DIR) $(USR_MONTOYA_DIR) \
0N/A $(USR_MONTOYA_LIB_DIR) \
0N/A $(ROOT_MONTOYA_LIB_DIR) \
0N/A $(USR_MONTOYA_SBIN_DIR) \
0N/A $(USR_MONTOYA_SBIN_LINKS) \
0N/A .WAIT $(MONTOYA_KMODS)
0N/A
1155N/A$(MONTOYA_KMODS): FRC
1155N/A @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
0N/A
1155N/Ainstall_h check: FRC
0N/A
0N/Alint: modlintlib .WAIT $(LINT_DEPS)
0N/A
0N/ALINT_LIBS = $(LINT_LIB) \
0N/A -L$(MONTOYA_LINT_LIB_DIR) \
-L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
$(CLOSED_LINT_KMODS:%=-l%) \
-L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
lint.platmod: modlintlib
@-$(ECHO) "\n$(IMPLEMENTED_PLATFORM) platform-dependent module: global crosschecks:"
@-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
#
# Include common targets.
#
include $(UTSBASE)/$(PLATFORM)/montoya/Makefile.targ