Makefile revision 03831d35f7499c87d51205817c93e9a8d42c4bae
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# CDDL HEADER START
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# The contents of this file are subject to the terms of the
fa8ed9702ac1820f539365853f0671f3125b2d73nd# Common Development and Distribution License (the "License").
fa8ed9702ac1820f539365853f0671f3125b2d73nd# You may not use this file except in compliance with the License.
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa8ed9702ac1820f539365853f0671f3125b2d73nd# or http://www.opensolaris.org/os/licensing.
fa8ed9702ac1820f539365853f0671f3125b2d73nd# See the License for the specific language governing permissions
fa8ed9702ac1820f539365853f0671f3125b2d73nd# and limitations under the License.
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# When distributing Covered Code, include this CDDL HEADER in each
fa8ed9702ac1820f539365853f0671f3125b2d73nd# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa8ed9702ac1820f539365853f0671f3125b2d73nd# If applicable, add the following below this CDDL HEADER, with the
fa8ed9702ac1820f539365853f0671f3125b2d73nd# fields enclosed by brackets "[]" replaced with your own identifying
fa8ed9702ac1820f539365853f0671f3125b2d73nd# information: Portions Copyright [yyyy] [name of copyright owner]
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# CDDL HEADER END
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
fa8ed9702ac1820f539365853f0671f3125b2d73nd# Use is subject to license terms.
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd#pragma ident "%Z%%M% %I% %E% SMI"
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# lib/libprtdiag_psr/sparc/starcat/Makefile
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndUTSBASE = ../../../../uts
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndPLATFORM_OBJECTS= starcat.o
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndinclude ../Makefile.com
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndIFLAGS = -I$(USR_PLAT_DIR)/sun4u/include -I ../../../libprtdiag/inc
fa8ed9702ac1820f539365853f0671f3125b2d73ndLINTFLAGS += $(IFLAGS)
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndPLATFORM=SUNW,Sun-Fire-15000
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd.KEEP_STATE:
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndPLATLIBS= $(USR_PLAT_DIR)/$(PLATFORM)/lib/
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73ndinstall: all $(USR_PSM_LIBS)
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd$(USR_PSM_LIB_DIR):
fa8ed9702ac1820f539365853f0671f3125b2d73nd cd $(UTSBASE)/sun4u/starcat; $(MAKE) $(USR_PSM_LIB_DIR)
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# install rule
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(INS.file)
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73nd# used for message files
fa8ed9702ac1820f539365853f0671f3125b2d73nd#
fa8ed9702ac1820f539365853f0671f3125b2d73ndPOFILE= libprtdiag_psr_starcat.po
fa8ed9702ac1820f539365853f0671f3125b2d73ndPOFILES= starcat.po
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd
ac7985784d08a3655291f24f711812b4d8b1cbcffuankg_msg: $(MSGDOMAIN) $(POFILE)
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(RM) $(MSGDOMAIN)/$(POFILE)
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(CP) $(POFILE) $(MSGDOMAIN)
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd$(POFILE): $(POFILES)
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(RM) $@
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(CAT) $(POFILES) > $@
fa8ed9702ac1820f539365853f0671f3125b2d73nd
fa8ed9702ac1820f539365853f0671f3125b2d73nd$(POFILES):
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(RM) messages.po
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/starcat.c`
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
fa8ed9702ac1820f539365853f0671f3125b2d73nd $(RM) messages.po
fa8ed9702ac1820f539365853f0671f3125b2d73nd