xref: /titanic_41/usr/src/cmd/sgs/messages/Makefile.com (revision dd49f125507979bb2ab505a8daf2a46d1be27051)
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# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# cmd/sgs/messages/Makefile.com
26
27include		$(SRC)/Makefile.master
28include		$(SRC)/cmd/sgs/Makefile.com
29
30
31# Establish our own domain.
32
33TEXT_DOMAIN=	SUNW_OST_SGS
34
35POFILE=		sgs.po
36
37MSGFMT=		msgfmt
38
39# The following message files are generated as part of each utilites build via
40# sgsmsg(1l).  By default each file is formatted as a portable object file
41# (.po) - see msgfmt(1).  If the sgsmsg -C option has been employed, each file
42# is formatted as a message text source file (.msg) - see gencat(1).
43
44POFILES=	ld		ldd		libld		liblddbg \
45		librtld		rtld		libelf		ldprof \
46		libcrle		crle		moe		pvs \
47		elfdump		elfedit		elfwrap		lari
48
49# These message files are generated as a side effect of generating the
50# elfedit messages. Otherwise they are the same thing as POFILES
51POFILES_ELFEDIT_MODULES = \
52		elfedit_cap 	elfedit_dyn	elfedit_ehdr	elfedit_phdr \
53		elfedit_shdr 	elfedit_str	elfedit_sym	elfedit_syminfo
54
55
56# Define a local version of the message catalog.  Test using: LANG=piglatin
57
58MSGDIR=		$(ROOT)/usr/lib/locale/piglatin/LC_MESSAGES
59TEST_MSGID=	test-msgid.po
60TEST_MSGSTR=	test-msgstr.po
61TEST_POFILE=	test-msg.po
62TEST_MOFILE=	$(TEXT_DOMAIN).mo
63
64
65CLEANFILES=	$(POFILE) $(TEST_MSGID) $(TEST_MSGSTR) $(TEST_POFILE) \
66		$(TEST_MOFILE)
67CLOBBERFILES=	$(POFILES) $(POFILES_ELFEDIT_MODULES)
68