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