xref: /illumos-gate/usr/src/cmd/sgs/messages/Makefile.com (revision e5803b76927480e8f9b67b22201c484ccf4c2bcf)
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 (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24# cmd/sgs/messages/Makefile.com
25
26include		$(SRC)/Makefile.master
27include		$(SRC)/cmd/sgs/Makefile.com
28
29
30# Establish our own domain.
31
32TEXT_DOMAIN=	SUNW_OST_SGS
33
34POFILE=		sgs.po
35
36MSGFMT=		msgfmt
37
38# The following message files are generated as part of each utilites build via
39# sgsmsg(1l).  By default each file is formatted as a portable object file
40# (.po) - see msgfmt(1).  If the sgsmsg -C option has been employed, each file
41# is formatted as a message text source file (.msg) - see gencat(1).
42
43POFILES=	ld		ldd		libld		liblddbg \
44		librtld		rtld		libelf		ldprof \
45		libcrle		crle		moe		pvs \
46		elfdump		elfedit		elfwrap		lari \
47	        ar
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