Makefile revision 59ac0c1669407488b67ae9e273667a340dccc611
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# CDDL HEADER START
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# The contents of this file are subject to the terms of the
59ac0c1669407488b67ae9e273667a340dccc611davemq# Common Development and Distribution License (the "License").
59ac0c1669407488b67ae9e273667a340dccc611davemq# You may not use this file except in compliance with the License.
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
59ac0c1669407488b67ae9e273667a340dccc611davemq# or http://www.opensolaris.org/os/licensing.
59ac0c1669407488b67ae9e273667a340dccc611davemq# See the License for the specific language governing permissions
59ac0c1669407488b67ae9e273667a340dccc611davemq# and limitations under the License.
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# When distributing Covered Code, include this CDDL HEADER in each
59ac0c1669407488b67ae9e273667a340dccc611davemq# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
59ac0c1669407488b67ae9e273667a340dccc611davemq# If applicable, add the following below this CDDL HEADER, with the
59ac0c1669407488b67ae9e273667a340dccc611davemq# fields enclosed by brackets "[]" replaced with your own identifying
59ac0c1669407488b67ae9e273667a340dccc611davemq# information: Portions Copyright [yyyy] [name of copyright owner]
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# CDDL HEADER END
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# uts/sun4v/maramba/Makefile
59ac0c1669407488b67ae9e273667a340dccc611davemq# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
59ac0c1669407488b67ae9e273667a340dccc611davemq# Use is subject to license terms.
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq#ident "%Z%%M% %I% %E% SMI"
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# This makefile creates the links that point at
59ac0c1669407488b67ae9e273667a340dccc611davemq# $(USR_PLAT_DIR)/SUNW,T5140
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# Path to the base of the uts directory tree (usually /usr/src/uts).
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemqUTSBASE = ../..
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# Include common rules.
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqinclude $(UTSBASE)/sun4v/Makefile.sun4v
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqUSR_PLAT_DIR = $(ROOT)/usr/platform
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqinclude $(UTSBASE)/sun4v/Makefile.maramba
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqdef := TARGET= def
59ac0c1669407488b67ae9e273667a340dccc611davemqall := TARGET= all
59ac0c1669407488b67ae9e273667a340dccc611davemqinstall := TARGET= install
59ac0c1669407488b67ae9e273667a340dccc611davemqinstall_h := TARGET= install_h
59ac0c1669407488b67ae9e273667a340dccc611davemqclean := TARGET= clean
59ac0c1669407488b67ae9e273667a340dccc611davemqclobber := TARGET= clobber
59ac0c1669407488b67ae9e273667a340dccc611davemqlint := TARGET= lint
59ac0c1669407488b67ae9e273667a340dccc611davemqlintlib := TARGET= lintlib
59ac0c1669407488b67ae9e273667a340dccc611davemqmodlintlib := TARGET= modlintlib
59ac0c1669407488b67ae9e273667a340dccc611davemqmodlist := TARGET= modlist
59ac0c1669407488b67ae9e273667a340dccc611davemqmodlist := NO_STATE= -K $$MODSTATE$$$$
59ac0c1669407488b67ae9e273667a340dccc611davemqclean.lint := TARGET= clean.lint
59ac0c1669407488b67ae9e273667a340dccc611davemqcheck := TARGET= check
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq# Default build targets.
59ac0c1669407488b67ae9e273667a340dccc611davemq#
59ac0c1669407488b67ae9e273667a340dccc611davemq.KEEP_STATE:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqmodlist:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqlintlib: unix
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqIMPLEMENTED_PLATFORM = SUNW,T5140
59ac0c1669407488b67ae9e273667a340dccc611davemqLINKED_PLATFORMS = SUNW,T5240
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
59ac0c1669407488b67ae9e273667a340dccc611davemq $(INS.slink3)
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqall:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqinstall: $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqinstall_h check:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqlint:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqclean:
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqclobber: clean
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemqEXPORT_SRC:
59ac0c1669407488b67ae9e273667a340dccc611davemq $(RM) Makefile+
59ac0c1669407488b67ae9e273667a340dccc611davemq sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
59ac0c1669407488b67ae9e273667a340dccc611davemq < Makefile > Makefile+
59ac0c1669407488b67ae9e273667a340dccc611davemq $(MV) Makefile+ Makefile
59ac0c1669407488b67ae9e273667a340dccc611davemq $(CHMOD) 444 Makefile
59ac0c1669407488b67ae9e273667a340dccc611davemq# EXPORT DELETE END
59ac0c1669407488b67ae9e273667a340dccc611davemq
59ac0c1669407488b67ae9e273667a340dccc611davemq#