Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
d5b7ba26785d7494166d48876362ba30ff30b98awrowe#
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames# CDDL HEADER START
c30ef289fe64ac7fedc44cfcc6b439f0f8458b4cgregames#
5541a81e194dc99521c0ecf904a940b0b65a93f2nd# The contents of this file are subject to the terms of the
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# Common Development and Distribution License, Version 1.0 only
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# (the "License"). You may not use this file except in compliance
aa9b03a5f32732c0caaef03a7ed78ffb290e29e4trawick# with the License.
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd#
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b4c56dbdfb4923d59f0b33f6118719abc8672ce0nd# or http://www.opensolaris.org/os/licensing.
6cc960f79676c01877ecffce659d2dc6a21bfad2nd# See the License for the specific language governing permissions
6cc960f79676c01877ecffce659d2dc6a21bfad2nd# and limitations under the License.
6cc960f79676c01877ecffce659d2dc6a21bfad2nd#
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# When distributing Covered Code, include this CDDL HEADER in each
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# If applicable, add the following below this CDDL HEADER, with the
a81c9e8561ebd18177a87fecf1226ac654b873f1rederpj# fields enclosed by brackets "[]" replaced with your own identifying
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick# information: Portions Copyright [yyyy] [name of copyright owner]
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick#
d1c46782edbd6bd5ae4592c0174969950c5ca8aetrawick# CDDL HEADER END
a3954060338ccebc73071e89ac936d4ec15ab352trawick#
a3954060338ccebc73071e89ac936d4ec15ab352trawick#
a3954060338ccebc73071e89ac936d4ec15ab352trawick# Copyright 1995, 1999-2002 Sun Microsystems, Inc. All rights reserved.
a3954060338ccebc73071e89ac936d4ec15ab352trawick# Use is subject to license terms.
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick#
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# ident "%Z%%M% %I% %E% SMI"
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick#
3afe511e52d7091898e7294fe9eb6da61c43cd93trawick# Platform specific Makefile for the prtdiag command.
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
ab56518227d474ee08f039e4c5540011c1b8a913trawick# PLATFORM is the target for the binary installation.
ab56518227d474ee08f039e4c5540011c1b8a913trawick#
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar# PLATLINKS is a list of platforms which are to be linked to this binary
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar# at the file level.
4e330708371c3e9b04d1043f0a1ac9368bfbd768coar
532a5de31e1a9732da4923f88e4931d0724ebe72ndSRCDIR = ../..
532a5de31e1a9732da4923f88e4931d0724ebe72ndPLATFORM = sun4u
532a5de31e1a9732da4923f88e4931d0724ebe72ndPLATLINKS =
219e31b849ef108cd8f58ba0eedae03414e5edb1thommay
a98959721afc481c7f3a941f85c462f0b90defdathommayinclude $(SRCDIR)/Makefile.com
a98959721afc481c7f3a941f85c462f0b90defdathommay
a98959721afc481c7f3a941f85c462f0b90defdathommayCFLAGS += -R /usr/platform/$(PLATFORM)/lib
219e31b849ef108cd8f58ba0eedae03414e5edb1thommay
dbb916b882c33a4e340b0dba7d75506cfdd85640trawickLDLIBS += -L $(ROOT)/usr/platform/$(PLATFORM)/lib
dbb916b882c33a4e340b0dba7d75506cfdd85640trawickLDLIBS += -lprtdiag
dbb916b882c33a4e340b0dba7d75506cfdd85640trawickLINTFLAGS += -u
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick
dbb916b882c33a4e340b0dba7d75506cfdd85640trawick.KEEP_STATE:
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawickall: libprtdiag $(PROG)
a18a308d7a942230edcde1bf00d7ae9b4b143c90trawick
9efe68be3c81ee85225972195fb725dbfc2e8b24trawicklibprtdiag:
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawick cd $(SRCDIR)/../../lib/libprtdiag ; $(MAKE) install
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawick
9098f795fab5db41a52b6b82fa475e8f9b3850f0trawickinclude $(SRCDIR)/Makefile.targ
9efe68be3c81ee85225972195fb725dbfc2e8b24trawick