Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# CDDL HEADER START
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# The contents of this file are subject to the terms of the
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Common Development and Distribution License, Version 1.0 only
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# (the "License"). You may not use this file except in compliance
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# with the License.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# or http://www.opensolaris.org/os/licensing.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# See the License for the specific language governing permissions
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# and limitations under the License.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# When distributing Covered Code, include this CDDL HEADER in each
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
247806c82065fc5dcc3d25cfdb0de2725553f237Francis Dupont# If applicable, add the following below this CDDL HEADER, with the
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# fields enclosed by brackets "[]" replaced with your own identifying
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# CDDL HEADER END
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Use is subject to license terms.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# ident "%Z%%M% %I% %E% SMI"
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# Platform specific Makefile for the prtdiag command.
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# PLATFORM is the target for the binary installation.
247806c82065fc5dcc3d25cfdb0de2725553f237Francis Dupont#
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# PLATLINKS is a list of platforms which are to be linked to this binary
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont# at the file level.
247806c82065fc5dcc3d25cfdb0de2725553f237Francis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontSRCDIR = ../..
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPLATFORM = sun4u
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontPLATLINKS =
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude $(SRCDIR)/Makefile.com
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontCFLAGS += -R /usr/platform/$(PLATFORM)/lib
247806c82065fc5dcc3d25cfdb0de2725553f237Francis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontLDLIBS += -L $(ROOT)/usr/platform/$(PLATFORM)/lib
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontLDLIBS += -lprtdiag
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis DupontLINTFLAGS += -u
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont.KEEP_STATE:
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontall: $(LIBPRTDIAG) $(PROG)
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupontinclude $(SRCDIR)/Makefile.targ
b091b4bb803b830d2d5a9e71b6648b669655d7dcFrancis Dupont