1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# ident "%Z%%M% %I% %E% SMI" 23# 24# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25# Use is subject to license terms. 26# 27# cmd/sgs/messages/Makefile.com 28 29include $(SRC)/Makefile.master 30include $(SRC)/cmd/sgs/Makefile.com 31 32 33# Establish our own domain. 34 35TEXT_DOMAIN= SUNW_OST_SGS 36 37POFILE= sgs.po 38 39MSGFMT= msgfmt 40 41# The following message files are generated as part of each utilites build via 42# sgsmsg(1l). By default each file is formatted as a portable object file 43# (.po) - see msgfmt(1). If the sgsmsg -C option has been employed, each file 44# is formatted as a message text source file (.msg) - see gencat(1). 45 46POFILES= ld ldd libld liblddbg \ 47 libldstab librtld rtld libelf \ 48 ldprof libcrle crle moe \ 49 pvs elfdump elfedit lari 50 51# These message files are generated as a side effect of generating the 52# elfedit messages. Otherwise they are the same thing as POFILES 53POFILES_ELFEDIT_MODULES = \ 54 elfedit_cap elfedit_dyn elfedit_ehdr elfedit_phdr \ 55 elfedit_shdr elfedit_str elfedit_sym elfedit_syminfo\ 56 lari 57 58 59# Define a local version of the message catalog. Test using: LANG=piglatin 60 61MSGDIR= $(ROOT)/usr/lib/locale/piglatin/LC_MESSAGES 62TEST_MSGID= test-msgid.po 63TEST_MSGSTR= test-msgstr.po 64TEST_POFILE= test-msg.po 65TEST_MOFILE= $(TEXT_DOMAIN).mo 66 67 68CLEANFILES= $(POFILE) $(TEST_MSGID) $(TEST_MSGSTR) $(TEST_POFILE) \ 69 $(TEST_MOFILE) 70CLOBBERFILES= $(POFILES) $(POFILES_ELFEDIT_MODULES) 71