Makefile revision 986fd29a0dc13f7608ef7f508f6e700bd7bc2720
337d121aa0049cbd0ae664f5d1c431d862f1d49ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
38c37050250a232748df499cb74e2bec82cd791aminfrin# Common Development and Distribution License (the "License").
38c37050250a232748df499cb74e2bec82cd791aminfrin# You may not use this file except in compliance with the License.
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
38c37050250a232748df499cb74e2bec82cd791aminfrin# or http://www.opensolaris.org/os/licensing.
38c37050250a232748df499cb74e2bec82cd791aminfrin# See the License for the specific language governing permissions
38c37050250a232748df499cb74e2bec82cd791aminfrin# and limitations under the License.
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrin# When distributing Covered Code, include this CDDL HEADER in each
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton# If applicable, add the following below this CDDL HEADER, with the
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton# fields enclosed by brackets "[]" replaced with your own identifying
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim# information: Portions Copyright [yyyy] [name of copyright owner]
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim#
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim# CDDL HEADER END
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim#
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim#
da09cb78fe2e87c16e5bbe3fdea15ec9684a1be0trawick#ident "%Z%%M% %I% %E% SMI"
da09cb78fe2e87c16e5bbe3fdea15ec9684a1be0trawick#
da09cb78fe2e87c16e5bbe3fdea15ec9684a1be0trawick# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
da09cb78fe2e87c16e5bbe3fdea15ec9684a1be0trawick# Use is subject to license terms.
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# psm/stand/bootblks/ufs/sparc/Makefile
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinBASEDIR = ../..
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrininclude $(BASEDIR)/Makefile.com
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin#
50c06405bc48121db2913925549407fd3e79bcedmturk# This program is used to install the boot block
50c06405bc48121db2913925549407fd3e79bcedmturk#
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrinINSTALLBOOT = installboot
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrinUSR = $(ROOT)/usr
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrinUSR_SBIN = $(USR)/sbin
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrinUSR_SBIN_INSTALLBOOT = $(USR_SBIN)/$(INSTALLBOOT)
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim#
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim# Overrides for installing installboot.
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim#
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrinINS.file.555 = $(RM) $@; $(INS) -s -m 555 -f $(@D) $<
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin$(CH)INS.file.555 = $(INS) -s -m 555 -u $(OWNER) -g $(GROUP) -f $(@D) $<
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin
973a0e8715651f0a56148d315100169453c4d89eminfrin
973a0e8715651f0a56148d315100169453c4d89eminfrinSUBDIRS = sun4u sun4v
973a0e8715651f0a56148d315100169453c4d89eminfrin
973a0e8715651f0a56148d315100169453c4d89eminfrinall := TARGET= all
973a0e8715651f0a56148d315100169453c4d89eminfrininstall := TARGET= install
dec02391360e503cd3437d16bed765dc653b9de5minfrinclean := TARGET= clean
dec02391360e503cd3437d16bed765dc653b9de5minfrinclobber := TARGET= clobber
dec02391360e503cd3437d16bed765dc653b9de5minfrinlint := TARGET= lint
dec02391360e503cd3437d16bed765dc653b9de5minfrin
dec02391360e503cd3437d16bed765dc653b9de5minfrin.KEEP_STATE:
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrin
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinall: $(INSTALLBOOT) $(SUBDIRS)
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrin
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniqinstall: $(USR_SBIN_INSTALLBOOT) $(SUBDIRS)
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniq
399cf0e5e061b49593817421b94305889fa6bc1fjortonlint clean: $(SUBDIRS)
399cf0e5e061b49593817421b94305889fa6bc1fjorton
399cf0e5e061b49593817421b94305889fa6bc1fjortonclobber: $(SUBDIRS)
399cf0e5e061b49593817421b94305889fa6bc1fjorton -$(RM) $(INSTALLBOOT)
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq$(SUBDIRS): FRC
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrin @cd $@; pwd; $(MAKE) $(TARGET)
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrin
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrinFRC:
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin#
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin# install rules
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin#
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin$(USR_SBIN)/%: % $(USR_SBIN)
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin $(INS.file.555)
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin#
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin# Pattern matching rules for source in this directory
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin#
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin%: %.sh
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin $(RM) $@
ce26c909953968ede7c5097e508d37b2fa91ea3arpluem cat $< > $@
ce26c909953968ede7c5097e508d37b2fa91ea3arpluem chmod +x $@
ce26c909953968ede7c5097e508d37b2fa91ea3arpluem