Makefile revision 64cfc8ed0c5da83f827c424588bfe709e3fb5a7a
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# CDDL HEADER START
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
5688a47c152def63dd2f5fb9a93911a0df46162eTinderbox User# The contents of this file are subject to the terms of the
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Common Development and Distribution License (the "License").
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You may not use this file except in compliance with the License.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# or http://www.opensolaris.org/os/licensing.
19c7b1a0293498a3e36692c59646ed6e15ffc8d0Tinderbox User# See the License for the specific language governing permissions
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# and limitations under the License.
83a28ca274521e15086fc39febde507bcc4e145eMark Andrews#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# When distributing Covered Code, include this CDDL HEADER in each
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# If applicable, add the following below this CDDL HEADER, with the
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# information: Portions Copyright [yyyy] [name of copyright owner]
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# CDDL HEADER END
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# uts/sun4v/maramba/Makefile
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Use is subject to license terms.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#ident "%Z%%M% %I% %E% SMI"
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# This makefile creates the links that point at
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# $(USR_PLAT_DIR)/SUNW,T5140
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
b7f3400f3b34fee8e29ac4a43f62c153b42b3200Tinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
5688a47c152def63dd2f5fb9a93911a0df46162eTinderbox User#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontUTSBASE = ../..
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# Include common rules.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontinclude $(UTSBASE)/sun4v/Makefile.sun4v
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan HuntUSR_PLAT_DIR = $(ROOT)/usr/platform
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntinclude $(UTSBASE)/sun4v/Makefile.maramba
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępień
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępieńdef := TARGET= def
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępieńall := TARGET= all
b7a823a402eb5c4e99f283e58d778a903d2e72f5Michał Kępieńinstall := TARGET= install
832f5803f69f4548ba3777f8b5741768bbbf5f75Mark Andrewsinstall_h := TARGET= install_h
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntclean := TARGET= clean
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntclobber := TARGET= clobber
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlint := TARGET= lint
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntlintlib := TARGET= lintlib
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntmodlintlib := TARGET= modlintlib
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Huntmodlist := TARGET= modlist
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontmodlist := NO_STATE= -K $$MODSTATE$$$$
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontclean.lint := TARGET= clean.lint
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontcheck := TARGET= check
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt# Default build targets.
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont.KEEP_STATE:
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontmodlist:
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontdef:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontlintlib: unix
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontIMPLEMENTED_PLATFORM = SUNW,T5140
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontLINKED_PLATFORMS = SUNW,T5240
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontLINKED_PLATFORMS += SUNW,T5440
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt$(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%): $(USR_PLAT_DIR)
30eec077db2bdcb6f2a0dc388a3cdde2ede75ec1Mark Andrews $(INS.slink3)
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontall:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontinstall: $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontinstall_h check:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontlint:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontclean:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupontclobber: clean
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis DupontEXPORT_SRC:
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont $(RM) Makefile+
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont < Makefile > Makefile+
14a656f94b1fd0ababd84a772228dfa52276ba15Evan Hunt $(MV) Makefile+ Makefile
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont $(CHMOD) 444 Makefile
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont# EXPORT DELETE END
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont#
7768b049c0b39662baca604ec32b32c6480f8dc6Francis Dupont