Makefile revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER START
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# The contents of this file are subject to the terms of the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Common Development and Distribution License (the "License").
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You may not use this file except in compliance with the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# See the License for the specific language governing permissions
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# and limitations under the License.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# If applicable, add the following below this CDDL HEADER, with the
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# CDDL HEADER END
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Use is subject to license terms.
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# Override the PSR_MACH variable to use sun4v libraries
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrewsinstall: all $(USR_PSM_LIBS) $(LINKED_PRTDIAG_DIRS)
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# install rules
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews# used for message files
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/monza.c`
c3c8823fed039b3a2b8e5ca8bc2f3301d1dd840eMark Andrews $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@