Makefile revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
10139N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
10139N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
10139N/A# CDDL HEADER END
10139N/A#
10139N/A#
10139N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10139N/A# Use is subject to license terms.
10139N/A#
10139N/A# lib/libprtdiag_psr/sparc/starfire/Makefile
10139N/A
10139N/AUTSBASE = ../../../../uts
10139N/A
10139N/APLATFORM_OBJECTS= starfire.o
10139N/A
10139N/Ainclude ../Makefile.com
10139N/A
10139N/AIFLAGS += -I$(USR_PLAT_DIR)/sun4u/include -I ../../../libprtdiag/inc
10139N/ALINTFLAGS += $(IFLAGS)
10139N/A
10139N/APLATFORM=SUNW,Ultra-Enterprise-10000
10139N/A
10139N/A$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
10139N/A
10139N/A.KEEP_STATE:
10139N/A
10139N/APLATLIBS= $(USR_PLAT_DIR)/$(PLATFORM)/lib/
10139N/A
10139N/Ainstall: all $(USR_PSM_LIBS)
10139N/A
10139N/A$(USR_PSM_LIB_DIR):
10139N/A cd $(UTSBASE)/sun4u/starfire; $(MAKE) $(USR_PSM_LIB_DIR)
10139N/A
10139N/A#
10139N/A# install rule
10139N/A#
10139N/A$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
10139N/A $(INS.file)
10139N/A
10139N/APOFILE= libprtdiag_psr_starfire.po
10139N/APOFILES= starfire.po
10139N/A
10139N/A_msg: $(MSGDOMAIN) $(POFILE)
10139N/A $(RM) $(MSGDOMAIN)/$(POFILE)
13931N/A $(CP) $(POFILE) $(MSGDOMAIN)
10139N/A
10139N/A$(POFILE): $(POFILES)
10139N/A $(RM) $@
10139N/A $(CAT) $(POFILES) > $@
10139N/A
10139N/A$(POFILES):
10139N/A $(RM) messages.po
10139N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/starfire.c`
13570N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
10139N/A $(RM) messages.po
10139N/A