Makefile revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68
6643N/A#
6643N/A# CDDL HEADER START
6643N/A#
6643N/A# The contents of this file are subject to the terms of the
6643N/A# Common Development and Distribution License (the "License").
6643N/A# You may not use this file except in compliance with the License.
6643N/A#
6643N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6643N/A# or http://www.opensolaris.org/os/licensing.
6643N/A# See the License for the specific language governing permissions
6643N/A# and limitations under the License.
6643N/A#
6643N/A# When distributing Covered Code, include this CDDL HEADER in each
6643N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6643N/A# If applicable, add the following below this CDDL HEADER, with the
6643N/A# fields enclosed by brackets "[]" replaced with your own identifying
6643N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6643N/A#
6643N/A# CDDL HEADER END
6643N/A#
6643N/A#
6643N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6643N/A# Use is subject to license terms.
6643N/A#
6643N/A# lib/libprtdiag_psr/sparc/montoya/Makefile
6643N/A
6643N/AUTSCLOSED = ../../../../uts
6643N/AUTSBASE = ../../../../../src/uts
6643N/A
6643N/APLATFORM_OBJECTS= montoya.o
6643N/A
6909N/Ainclude ../Makefile.com
6643N/A
6643N/A#
6643N/A# Override the PSR_MACH variable to use sun4v libraries
6643N/A#
6643N/APSR_MACH=sun4v
6658N/A
6658N/AIFLAGS += -I ../../../libprtdiag/inc
6658N/AIFLAGS += -I$(SRC)/cmd/picl/plugins/inc
6658N/ALDLIBS += -lpicl
6643N/A
6643N/ALINTFLAGS += $(IFLAGS)
6643N/A
6643N/APLATFORM=SUNW,Netra-CP3060
6643N/A
6643N/A$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
6643N/A
6643N/A.KEEP_STATE:
6643N/A
6643N/APLATLIBS= $(USR_PLAT_DIR)/$(PLATFORM)/lib
install: all $(USR_PSM_LIBS) $(LINKED_PRTDIAG_DIRS)
#
# install rules
#
$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
$(INS.file)
$(USR_PSM_LIB_DIR):
$(INS.dir)
$(LINKED_DIRS): $(USR_PLAT_DIR)
-$(INS.dir)
$(LINKED_LIB_DIRS): $(LINKED_DIRS)
-$(INS.dir)
$(LINKED_PRTDIAG_DIRS): $(USR_PLAT_DIR)
-$(INS.slink6)
#
# used for message files
#
POFILE= libprtdiag_psr_monto.po
POFILES= monto.po
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)
$(POFILE): $(POFILES)
$(RM) $@
$(CAT) $(POFILES) > $@
$(POFILES):
$(RM) messages.po
$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/montoya.c`
$(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
$(RM) messages.po