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