151b564acSmcwalter# 251b564acSmcwalter# CDDL HEADER START 351b564acSmcwalter# 451b564acSmcwalter# The contents of this file are subject to the terms of the 551b564acSmcwalter# Common Development and Distribution License (the "License"). 651b564acSmcwalter# You may not use this file except in compliance with the License. 751b564acSmcwalter# 851b564acSmcwalter# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 951b564acSmcwalter# or http://www.opensolaris.org/os/licensing. 1051b564acSmcwalter# See the License for the specific language governing permissions 1151b564acSmcwalter# and limitations under the License. 1251b564acSmcwalter# 1351b564acSmcwalter# When distributing Covered Code, include this CDDL HEADER in each 1451b564acSmcwalter# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1551b564acSmcwalter# If applicable, add the following below this CDDL HEADER, with the 1651b564acSmcwalter# fields enclosed by brackets "[]" replaced with your own identifying 1751b564acSmcwalter# information: Portions Copyright [yyyy] [name of copyright owner] 1851b564acSmcwalter# 1951b564acSmcwalter# CDDL HEADER END 2051b564acSmcwalter# 2151b564acSmcwalter# 2275ce41a5SAli Bahrami# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2351b564acSmcwalter# Use is subject to license terms. 2451b564acSmcwalter# 2551b564acSmcwalter# lib/libprtdiag_psr/sparc/monza/Makefile 2651b564acSmcwalter 2751b564acSmcwalterUTSBASE = ../../../../../src/uts 2851b564acSmcwalter 2951b564acSmcwalterPLATFORM_OBJECTS= monza.o 3051b564acSmcwalter 3151b564acSmcwalterinclude ../Makefile.com 3251b564acSmcwalter 3351b564acSmcwalter# 3451b564acSmcwalter# Override the PSR_MACH variable to use sun4v libraries 3551b564acSmcwalter# 3651b564acSmcwalterPSR_MACH=sun4v 3751b564acSmcwalter 3851b564acSmcwalterIFLAGS += -I ../../../libprtdiag/inc 3951b564acSmcwalterIFLAGS += -I$(SRC)/cmd/picl/plugins/inc 4051b564acSmcwalterLDLIBS += -lpicl 4151b564acSmcwalter 4251b564acSmcwalter 4351b564acSmcwalterPLATFORM=SUNW,Netra-CP3260 4451b564acSmcwalter 4575ce41a5SAli Bahrami$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755 4675ce41a5SAli Bahrami 4751b564acSmcwalter.KEEP_STATE: 4851b564acSmcwalter 4951b564acSmcwalterPLATLIBS= $(USR_PLAT_DIR)/$(PLATFORM)/lib 5051b564acSmcwalter 5151b564acSmcwalterinstall: all $(USR_PSM_LIBS) $(LINKED_PRTDIAG_DIRS) 5251b564acSmcwalter 5351b564acSmcwalter# 5451b564acSmcwalter# install rules 5551b564acSmcwalter# 5651b564acSmcwalter 5751b564acSmcwalter$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR) 5851b564acSmcwalter $(INS.file) 5951b564acSmcwalter 6051b564acSmcwalter$(USR_PSM_LIB_DIR): 61*48bc00d6Sjmcp $(INS.dir) 6251b564acSmcwalter 6351b564acSmcwalter$(LINKED_DIRS): $(USR_PLAT_DIR) 64*48bc00d6Sjmcp -$(INS.dir) 6551b564acSmcwalter 6651b564acSmcwalter$(LINKED_LIB_DIRS): $(LINKED_DIRS) 67*48bc00d6Sjmcp -$(INS.dir) 6851b564acSmcwalter 6951b564acSmcwalter$(LINKED_PRTDIAG_DIRS): $(USR_PLAT_DIR) 7051b564acSmcwalter -$(INS.slink6) 7151b564acSmcwalter 7251b564acSmcwalter# 7351b564acSmcwalter# used for message files 7451b564acSmcwalter# 7551b564acSmcwalterPOFILE= libprtdiag_psr_monto.po 7651b564acSmcwalterPOFILES= monto.po 7751b564acSmcwalter 7851b564acSmcwalter 7951b564acSmcwalter_msg: $(MSGDOMAIN) $(POFILE) 8051b564acSmcwalter $(RM) $(MSGDOMAIN)/$(POFILE) 8151b564acSmcwalter $(CP) $(POFILE) $(MSGDOMAIN) 8251b564acSmcwalter 8351b564acSmcwalter$(POFILE): $(POFILES) 8451b564acSmcwalter $(RM) $@ 8551b564acSmcwalter $(CAT) $(POFILES) > $@ 8651b564acSmcwalter 8751b564acSmcwalter$(POFILES): 8851b564acSmcwalter $(RM) messages.po 8951b564acSmcwalter $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/monza.c` 9051b564acSmcwalter $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 9151b564acSmcwalter $(RM) messages.po 92