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