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