Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
abd8dd44106c507dd2cb64359b63d7d56fa0a9c8Christian Maeder# CDDL HEADER START
abd8dd44106c507dd2cb64359b63d7d56fa0a9c8Christian Maeder# The contents of this file are subject to the terms of the
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# Common Development and Distribution License (the "License").
abd8dd44106c507dd2cb64359b63d7d56fa0a9c8Christian Maeder# You may not use this file except in compliance with the License.
abd8dd44106c507dd2cb64359b63d7d56fa0a9c8Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
413db961f13e112716509b6d61d7a7bbf50c98b2Christian Maeder# or http://www.opensolaris.org/os/licensing.
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# See the License for the specific language governing permissions
f3a94a197960e548ecd6520bb768cb0d547457bbChristian Maeder# and limitations under the License.
d703a61b7fa9f85d92ac8f768d7c290b7c0a41c5Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
e8ffec0fa3d3061061bdc16e44247b9cf96b050fChristian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d703a61b7fa9f85d92ac8f768d7c290b7c0a41c5Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
e8ffec0fa3d3061061bdc16e44247b9cf96b050fChristian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
d48085f765fca838c1d972d2123601997174583dChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
5a13581acc5a76d392c1dec01657bb3efd4dcf2dChristian Maeder# CDDL HEADER END
47d6bc7bc9a708427f96be8d805f712697ad3d9eChristian Maeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23a00c966f2aa8da525d7a7c51933c99964426c0Christian Maeder# Use is subject to license terms.
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder# lib/libprtdiag_psr/sparc/desktop/picl/Makefile
5a13581acc5a76d392c1dec01657bb3efd4dcf2dChristian Maederinclude $(SRC)/lib/libprtdiag_psr/sparc/Makefile.com
ce3928e71520030ad0275b72050a8f4377f9313cChristian MaederIFLAGS += -I$(USR_PLAT_DIR)/sun4u/include -I ../../../../libprtdiag/inc
2f6227e9ec96ca827cc40078916f18d54a075136Christian MaederLINKED_PLATFORMS = SUNW,Sun-Blade-1000 SUNW,Netra-T4
df33a9af92444f63ad545da6bb326aac9284318eChristian MaederLINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
df33a9af92444f63ad545da6bb326aac9284318eChristian MaederLINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libprtdiag_psr.so.1)
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder# Sun-Blade-100 and Sun-Blade-1000 platform library should install into
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder# SUNW,Sun-Blade-100. Sun-Blade-100 platforms can
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder# link to /usr/platform/SUNW,Sun-Blade-100/lib/libprtdiag_psr.so
5a13581acc5a76d392c1dec01657bb3efd4dcf2dChristian Maeder$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
5a13581acc5a76d392c1dec01657bb3efd4dcf2dChristian MaederPLATLIBS= $(PLATFORM:%=$(USR_PLAT_DIR)/%/lib/)
92aa1b88f02d2a413da60dba78acd34312e6f29aChristian Maeder# install rules for SUNW,Sun-Blade-100/lib/libprtdiag_psr.so.1
a59f2017dfc311ece7afcea3e8a3ceceac77ba5aChristian Maeder# Rules for making message files
df33a9af92444f63ad545da6bb326aac9284318eChristian Maeder $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../common/picldiag.c`
04a1ed0b360858b85de6f449b84df4eab81b3fc9Christian Maeder $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@