03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER START
03831d35f7499c87d51205817c93e9a8d42c4baestevel# The contents of this file are subject to the terms of the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Common Development and Distribution License (the "License").
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You may not use this file except in compliance with the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
03831d35f7499c87d51205817c93e9a8d42c4baestevel# See the License for the specific language governing permissions
03831d35f7499c87d51205817c93e9a8d42c4baestevel# and limitations under the License.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# When distributing Covered Code, include this CDDL HEADER in each
03831d35f7499c87d51205817c93e9a8d42c4baestevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# If applicable, add the following below this CDDL HEADER, with the
03831d35f7499c87d51205817c93e9a8d42c4baestevel# fields enclosed by brackets "[]" replaced with your own identifying
03831d35f7499c87d51205817c93e9a8d42c4baestevel# information: Portions Copyright [yyyy] [name of copyright owner]
03831d35f7499c87d51205817c93e9a8d42c4baestevel# CDDL HEADER END
75ce41a57ff334bd8fe2cb9ed51eea835892f944Ali Bahrami# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Use is subject to license terms.
03831d35f7499c87d51205817c93e9a8d42c4baestevelIFLAGS += -I$(USR_PLAT_DIR)/sun4u/include -I ../../../../libprtdiag/inc
03831d35f7499c87d51205817c93e9a8d42c4baestevelLINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
03831d35f7499c87d51205817c93e9a8d42c4baestevel $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libprtdiag_psr.so.1)
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Sun-Blade-100 and Sun-Blade-1000 platform library should install into
03831d35f7499c87d51205817c93e9a8d42c4baestevel# SUNW,Sun-Blade-100. Sun-Blade-100 platforms can
03831d35f7499c87d51205817c93e9a8d42c4baestevel# link to /usr/platform/SUNW,Sun-Blade-100/lib/libprtdiag_psr.so
75ce41a57ff334bd8fe2cb9ed51eea835892f944Ali Bahrami$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
03831d35f7499c87d51205817c93e9a8d42c4baestevel# install rules for SUNW,Sun-Blade-100/lib/libprtdiag_psr.so.1
03831d35f7499c87d51205817c93e9a8d42c4baestevel# Rules for making message files
03831d35f7499c87d51205817c93e9a8d42c4baestevel $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../common/picldiag.c`
03831d35f7499c87d51205817c93e9a8d42c4baestevel $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@