xref: /titanic_51/usr/src/cmd/sgs/messages/Makefile.com (revision 5ffb0c9b03b5149ff4f5821a62be4a52408ada2a)
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
36# The following message files are generated as part of each utilites build via
37# sgsmsg(1l).  By default each file is formatted as a portable object file
38# (.po) - see msgfmt(1).  If the sgsmsg -C option has been employed, each file
39# is formatted as a message text source file (.msg) - see gencat(1).
40
41POFILES=	ld		ldd		libld		liblddbg \
42		librtld		rtld		libelf		ldprof \
43		libcrle		crle		moe		pvs \
44		elfdump		elfedit		elfwrap		lari \
45	        ar
46
47# These message files are generated as a side effect of generating the
48# elfedit messages. Otherwise they are the same thing as POFILES
49POFILES_ELFEDIT_MODULES = \
50		elfedit_cap 	elfedit_dyn	elfedit_ehdr	elfedit_phdr \
51		elfedit_shdr 	elfedit_str	elfedit_sym	elfedit_syminfo
52
53
54# Define a local version of the message catalog.  Test using: LANG=piglatin
55
56MSGDIR=		$(ROOT)/usr/lib/locale/piglatin/LC_MESSAGES
57TEST_MSGID=	test-msgid.po
58TEST_MSGSTR=	test-msgstr.po
59TEST_POFILE=	test-msg.po
60TEST_MOFILE=	$(TEXT_DOMAIN).mo
61
62
63CLEANFILES=	$(POFILE) $(TEST_MSGID) $(TEST_MSGSTR) $(TEST_POFILE) \
64		$(TEST_MOFILE)
65CLOBBERFILES=	$(POFILES) $(POFILES_ELFEDIT_MODULES)
66