Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
5488N/A#
5488N/A# CDDL HEADER START
5488N/A#
5488N/A# The contents of this file are subject to the terms of the
5488N/A# Common Development and Distribution License, Version 1.0 only
5488N/A# (the "License"). You may not use this file except in compliance
5488N/A# with the License.
5488N/A#
5488N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5488N/A# or http://www.opensolaris.org/os/licensing.
5488N/A# See the License for the specific language governing permissions
5488N/A# and limitations under the License.
5488N/A#
5488N/A# When distributing Covered Code, include this CDDL HEADER in each
5488N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5488N/A# If applicable, add the following below this CDDL HEADER, with the
5488N/A# fields enclosed by brackets "[]" replaced with your own identifying
5488N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5488N/A#
5488N/A# CDDL HEADER END
6083N/A#
6083N/A#
5488N/A#pragma ident "%Z%%M% %I% %E% SMI"
5488N/A#
6083N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
5488N/A# Use is subject to license terms.
5488N/A#
5488N/A# This makefile drives the production of the sun4u JBOS - blade platform
6083N/A# module.
6083N/A#
6083N/A# sun4u jbos-blade implementation architecture dependent
6083N/A#
6083N/A
6083N/A#
6083N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6083N/A#
6083N/AUTSBASE = ../..
6083N/A
5488N/Ainclude $(UTSBASE)/sun4u/blade/Makefile.blade
5488N/A
5488N/A#
6083N/A#
5488N/A#
5488N/A
5488N/Adef := TARGET= def
5488N/Aall := TARGET= all
6083N/Ainstall := TARGET= install
5488N/Ainstall_h := TARGET= install_h
5502N/Aclean := TARGET= clean
5502N/Aclobber := TARGET= clobber
5502N/Alint := TARGET= lint
5502N/Alintlib := TARGET= lintlib
5502N/Amodlintlib := TARGET= modlintlib
5502N/Amodlist := TARGET= modlist
5502N/Amodlist := NO_STATE= -K $$MODSTATE$$$$
6142N/Aclean.lint := TARGET= clean.lint
6142N/Acheck := TARGET= check
6142N/A
6142N/AIMPLEMENTED_PLATFORM = SUNW,Serverblade1
5488N/ALINK1DESTDIR = ../../../../SUNW,Sun-Blade-100/kernel/drv/sparcv9
5488N/ABLADE_LINK_1 = SUNW,Serverblade1/kernel/drv/sparcv9/pmubus
5488N/ABLADE_PLAT_LINK1 = $(BLADE_LINK_1:%=$(ROOT_PLAT_DIR)/%)
5488N/A
5488N/A#
5488N/A# Default build targets.
5488N/A#
5488N/A.KEEP_STATE:
5488N/A
5488N/A.PARALLEL: $(BLADE_KMODS) $(CLOSED_BLADE_KMODS)
5488N/A
5488N/Adef all clean clobber clean.lint modlist: $(BLADE_KMODS) $(CLOSED_BLADE_KMODS)
5488N/A
5680N/Ainstall: $(ROOT_BLADE_DIR) \
5488N/A $(USR_BLADE_DIR) \
5488N/A $(USR_BLADE_INC_DIR) \
5488N/A $(USR_BLADE_SBIN_DIR) \
5488N/A $(USR_BLADE_LIB_DIR) \
5488N/A .WAIT $(BLADE_KMODS) $(CLOSED_BLADE_KMODS) \
5488N/A $(BLADE_OPTION) \
5488N/A $(BLADE_PLAT_LINK_1)
5488N/A
5488N/Amodlintlib: $(BLADE_KMODS) $(CLOSED_BLADE_KMODS)
5488N/A
5488N/A$(BLADE_KMODS): FRC
5488N/A @cd $@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
5488N/A
5488N/A$(CLOSED_BLADE_KMODS): FRC
5488N/A cd $(CLOSED)/uts/sun4u/blade/$@; pwd; $(MAKE) $(NO_STATE) $(TARGET)
5488N/A
5488N/A$(BLADE_OPTION): FRC
5488N/A @cd $@; pwd; $(MAKE) $(TARGET)
5488N/A
5488N/Ainstall_h check:
5488N/A
5488N/Alint: modlintlib .WAIT $(LINT_DEPS)
5488N/A
5488N/ALINT_LIBS = $(LINT_LIB) \
5488N/A -L$(BLADE_LINT_LIB_DIR) \
5488N/A -L$(LINT_LIB_DIR) $(LINT_KMODS:%=-l%) \
5488N/A $(CLOSED_LINT_KMODS:%=-l%) \
5488N/A -L$(SPARC_LIB_DIR) $(SPARC_LINTS:%=-l%)
5488N/A
5488N/Alint.platmod: modlintlib
5488N/A @-$(ECHO) "\nJBOS-blade Platform-dependent module: global crosschecks:"
5488N/A @-$(LINT) $(LINTFLAGS) $(LINT_LIBS) 2>&1 | $(LGREP.2)
5488N/A
5488N/A
5488N/A$(BLADE_PLAT_LINK_1): $(ROOT_BLADE_DRV_DIR)
5488N/A $(RM) $@; $(SYMLINK) $(LINK1DESTDIR)/$(@F) $@ $(CHOWNLINK) $(CHGRPLINK)
5488N/A#
5488N/A# Include common targets.
5861N/A#
5488N/Ainclude $(UTSBASE)/sun4u/blade/Makefile.targ
5488N/A