Makefile revision 807e8f10a5bd74064a2c6ed98b73c845df2f834e
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# CDDL HEADER START
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# The contents of this file are subject to the terms of the
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# Common Development and Distribution License (the "License").
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# You may not use this file except in compliance with the License.
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# or http://www.opensolaris.org/os/licensing.
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# See the License for the specific language governing permissions
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# and limitations under the License.
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# When distributing Covered Code, include this CDDL HEADER in each
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# If applicable, add the following below this CDDL HEADER, with the
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# fields enclosed by brackets "[]" replaced with your own identifying
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# information: Portions Copyright [yyyy] [name of copyright owner]
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# CDDL HEADER END
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
68c47f65208790c466e5e484f2293d3baed71c6aGarrett D'Amore# Use is subject to license terms.
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# lib/libprtdiag_psr/sparc/desktop/picl/Makefile
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amoreinclude $(SRC)/lib/libprtdiag_psr/sparc/Makefile.com
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'AmoreIFLAGS += -I$(USR_PLAT_DIR)/sun4u/include -I ../../../../libprtdiag/inc
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'AmoreLINKED_PLATFORMS = SUNW,Sun-Blade-1000 SUNW,Netra-T4
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'AmoreLINKED_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%)
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'AmoreLINKED_LIB_DIRS = $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib)
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore $(LINKED_PLATFORMS:%=$(USR_PLAT_DIR)/%/lib/libprtdiag_psr.so.1)
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# Sun-Blade-100 and Sun-Blade-1000 platform library should install into
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# SUNW,Sun-Blade-100. Sun-Blade-100 platforms can
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# link to /usr/platform/SUNW,Sun-Blade-100/lib/libprtdiag_psr.so
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'AmorePLATLIBS= $(PLATFORM:%=$(USR_PLAT_DIR)/%/lib/)
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore# install rules for SUNW,Sun-Blade-100/lib/libprtdiag_psr.so.1
68c47f65208790c466e5e484f2293d3baed71c6aGarrett D'Amore# Rules for making message files
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../common/picldiag.c`
88447a05f537aabe9a1bc3d5313f22581ec992a7Garrett D'Amore $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@