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