Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# CDDL HEADER START
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
7128e1d29f3b88ea3ea918b0a71359c39183c69fDav Glass# The contents of this file are subject to the terms of the
7128e1d29f3b88ea3ea918b0a71359c39183c69fDav Glass# Common Development and Distribution License (the "License").
7128e1d29f3b88ea3ea918b0a71359c39183c69fDav Glass# You may not use this file except in compliance with the License.
7128e1d29f3b88ea3ea918b0a71359c39183c69fDav Glass#
7128e1d29f3b88ea3ea918b0a71359c39183c69fDav Glass# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# or http://www.opensolaris.org/os/licensing.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# See the License for the specific language governing permissions
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# and limitations under the License.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# When distributing Covered Code, include this CDDL HEADER in each
b0fb3f7185bd8c3423ff3f5e7d62d0a396919582Dav Glass# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
b0fb3f7185bd8c3423ff3f5e7d62d0a396919582Dav Glass# If applicable, add the following below this CDDL HEADER, with the
aed648b9364ec6f26e08bc4ce20730e408474e1dDav Glass# fields enclosed by brackets "[]" replaced with your own identifying
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# information: Portions Copyright [yyyy] [name of copyright owner]
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# CDDL HEADER END
5df7096bb0f6c5de5af1a19f6ee87d0458028726Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# Use is subject to license terms.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# ident "%Z%%M% %I% %E% SMI"
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# Platform specific Makefile for the prtdiag command.
e157e439a6af405b40e7db30e1b7ffbabebeb2a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# PLATFORM is the target for the binary installation.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass#
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# PLATLINKS is a list of platforms which are to be linked to this binary
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass# at the file level.
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassSRCDIR = ../..
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassPLATFORM = sun4u
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassPLATLINKS =
5df7096bb0f6c5de5af1a19f6ee87d0458028726Dav Glass
5df7096bb0f6c5de5af1a19f6ee87d0458028726Dav Glassinclude $(SRCDIR)/Makefile.com
b0fb3f7185bd8c3423ff3f5e7d62d0a396919582Dav Glass
e157e439a6af405b40e7db30e1b7ffbabebeb2a2Dav GlassCFLAGS += -R /usr/platform/$(PLATFORM)/lib
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassLDLIBS += -L $(ROOT)/usr/platform/$(PLATFORM)/lib
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassLDLIBS += -lprtdiag
c074c1d514c244d61ff0a5a73963a710798f40a2Dav GlassLINTFLAGS += -u
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass
c074c1d514c244d61ff0a5a73963a710798f40a2Dav Glass.KEEP_STATE:
all: $(LIBPRTDIAG) $(PROG)
include $(SRCDIR)/sparc/Makefile.targ