10Sstevel@tonic-gate# 20Sstevel@tonic-gate# CDDL HEADER START 30Sstevel@tonic-gate# 40Sstevel@tonic-gate# The contents of this file are subject to the terms of the 55088Sab196087# Common Development and Distribution License (the "License"). 65088Sab196087# You may not use this file except in compliance with the License. 70Sstevel@tonic-gate# 80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 100Sstevel@tonic-gate# See the License for the specific language governing permissions 110Sstevel@tonic-gate# and limitations under the License. 120Sstevel@tonic-gate# 130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 180Sstevel@tonic-gate# 190Sstevel@tonic-gate# CDDL HEADER END 200Sstevel@tonic-gate# 210Sstevel@tonic-gate# 22*12792SAli.Bahrami@Oracle.COM# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 230Sstevel@tonic-gate# 240Sstevel@tonic-gate# cmd/sgs/messages/Makefile.com 250Sstevel@tonic-gate 260Sstevel@tonic-gateinclude $(SRC)/Makefile.master 270Sstevel@tonic-gateinclude $(SRC)/cmd/sgs/Makefile.com 280Sstevel@tonic-gate 290Sstevel@tonic-gate 300Sstevel@tonic-gate# Establish our own domain. 310Sstevel@tonic-gate 320Sstevel@tonic-gateTEXT_DOMAIN= SUNW_OST_SGS 330Sstevel@tonic-gate 340Sstevel@tonic-gatePOFILE= sgs.po 350Sstevel@tonic-gate 360Sstevel@tonic-gateMSGFMT= msgfmt 370Sstevel@tonic-gate 380Sstevel@tonic-gate# The following message files are generated as part of each utilites build via 390Sstevel@tonic-gate# sgsmsg(1l). By default each file is formatted as a portable object file 400Sstevel@tonic-gate# (.po) - see msgfmt(1). If the sgsmsg -C option has been employed, each file 410Sstevel@tonic-gate# is formatted as a message text source file (.msg) - see gencat(1). 420Sstevel@tonic-gate 430Sstevel@tonic-gatePOFILES= ld ldd libld liblddbg \ 448324SAli.Bahrami@Sun.COM librtld rtld libelf ldprof \ 458324SAli.Bahrami@Sun.COM libcrle crle moe pvs \ 46*12792SAli.Bahrami@Oracle.COM elfdump elfedit elfwrap lari \ 47*12792SAli.Bahrami@Oracle.COM ar 485088Sab196087 495088Sab196087# These message files are generated as a side effect of generating the 505088Sab196087# elfedit messages. Otherwise they are the same thing as POFILES 515088Sab196087POFILES_ELFEDIT_MODULES = \ 525088Sab196087 elfedit_cap elfedit_dyn elfedit_ehdr elfedit_phdr \ 538324SAli.Bahrami@Sun.COM elfedit_shdr elfedit_str elfedit_sym elfedit_syminfo 540Sstevel@tonic-gate 550Sstevel@tonic-gate 560Sstevel@tonic-gate# Define a local version of the message catalog. Test using: LANG=piglatin 570Sstevel@tonic-gate 580Sstevel@tonic-gateMSGDIR= $(ROOT)/usr/lib/locale/piglatin/LC_MESSAGES 590Sstevel@tonic-gateTEST_MSGID= test-msgid.po 600Sstevel@tonic-gateTEST_MSGSTR= test-msgstr.po 610Sstevel@tonic-gateTEST_POFILE= test-msg.po 620Sstevel@tonic-gateTEST_MOFILE= $(TEXT_DOMAIN).mo 630Sstevel@tonic-gate 640Sstevel@tonic-gate 650Sstevel@tonic-gateCLEANFILES= $(POFILE) $(TEST_MSGID) $(TEST_MSGSTR) $(TEST_POFILE) \ 660Sstevel@tonic-gate $(TEST_MOFILE) 675088Sab196087CLOBBERFILES= $(POFILES) $(POFILES_ELFEDIT_MODULES) 68