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