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