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.
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.
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]
22 # Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
24 # cmd/sgs/messages/Makefile.com
26 include $(SRC)/Makefile.master
27 include $(SRC)/cmd/sgs/Makefile.com
30 # Establish our own domain.
32 TEXT_DOMAIN= SUNW_OST_SGS
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).
41 POFILES= ld ldd libld liblddbg \
42 librtld rtld libelf ldprof \
43 libcrle crle moe pvs \
44 elfdump elfedit elfwrap lari \
47 # These message files are generated as a side effect of generating the
48 # elfedit messages. Otherwise they are the same thing as POFILES
49 POFILES_ELFEDIT_MODULES = \
50 elfedit_cap elfedit_dyn elfedit_ehdr elfedit_phdr \
51 elfedit_shdr elfedit_str elfedit_sym elfedit_syminfo
54 # Define a local version of the message catalog. Test using: LANG=piglatin
56 MSGDIR= $(ROOT)/usr/lib/locale/piglatin/LC_MESSAGES
57 TEST_MSGID= test-msgid.po
58 TEST_MSGSTR= test-msgstr.po
59 TEST_POFILE= test-msg.po
60 TEST_MOFILE= $(TEXT_DOMAIN).mo
63 CLEANFILES= $(POFILE) $(TEST_MSGID) $(TEST_MSGSTR) $(TEST_POFILE) \
65 CLOBBERFILES= $(POFILES) $(POFILES_ELFEDIT_MODULES)