Makefile revision fb9f9b975cb9214fec5dab37d461199adab9b964
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
885f47576842cf3c569315b9a48bd9f0ca03f203Automatic Updater# CDDL HEADER START
71bd43eebd9d6e42dbcae62b730f5b6508d5acd8Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# The contents of this file are subject to the terms of the
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# Common Development and Distribution License, Version 1.0 only
2bb3422dc683c013db7042f5736240de6b86f182Automatic Updater# (the "License"). You may not use this file except in compliance
0bddff542cf2ae1b6595020f2f72ca482c6b438fAutomatic Updater# with the License.
75b70a68aefaa17ac4e768d5ed85d2f50d471490Automatic Updater#
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
bb93c8542756719b53096b9939e4041d0966026fAutomatic Updater# or http://www.opensolaris.org/os/licensing.
c89d02f2fb4c06168236d600e86831cff324f763Mark Andrews# See the License for the specific language governing permissions
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater# and limitations under the License.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updater# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# If applicable, add the following below this CDDL HEADER, with the
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
56874aef380a64a2c183b7c282c3e7a361d67fa1Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# CDDL HEADER END
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater#
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater#
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Use is subject to license terms.
96713299d08c0735c18ebe8772dd2cc1ecd4356aAutomatic Updater#
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# ident "%Z%%M% %I% %E% SMI"
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# Platform specific Makefile for the prtdiag command.
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# PLATFORM is the target for the binary installation.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson#
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# PLATLINKS is a list of platforms which are to be linked to this binary
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# at the file level.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic UpdaterSRCDIR = ../..
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterPLATFORM = sun4u
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterPLATLINKS =
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude $(SRCDIR)/Makefile.com
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntCFLAGS += -R /usr/platform/$(PLATFORM)/lib
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLDLIBS += -L $(ROOT)/usr/platform/$(PLATFORM)/lib
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterLDLIBS += -lprtdiag
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan HuntLINTFLAGS += -u
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater.KEEP_STATE:
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterall: $(LIBPRTDIAG) $(PROG)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updaterinclude $(SRCDIR)/Makefile.targ
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater