view usr/src/cmd/fm/dicts/Makefile @ 3323:3cff27a475a5

PSARC 2006/679 Fault Event Extension 6279682 fmadm -q rotate errlog hangs while fmd report an error into the log 6326650 fma needs more dcmds for getting errors from crash dumps 6372709 fltlog can grow without bound; needs to be managed by logadm 6400607 fmd dumped core in zfs-diagnosis 6464740 fmdump -v output should display FRU location (label) information separate from the FRU 6485057 mc-amd driver should provide access to HT routing tables 6493219 libtopo needs to allow re-enumeration according static .xml props 6495169 PCI topo enumerator should maintain a 'module' property 6496757 Incorrect initializer for topo_builtin.c:_topo_builtins[] 6496850 Need mdb support for libtopo 6498181 .po files inconsistencies wrt the event registry content 6498187 SCA1000 and SCA500 .po dictionary files are out of date 6498195 SMF dictionary .po files are inconsistent 6498201 ZFS dictionary .po files are out of date 6502660 eft fills in ASRU and FRU from libtopo when none are defined in a fault event specification 6502949 eft memory leak in platform_fault2ipath() 6506108 topo_fmri_nvl2str on mem scheme fails to lookup offset and physaddr 6506622 missing entry in PCIEX dict/po files
author cindi
date Fri, 22 Dec 2006 11:30:38 -0800
parents 7f714f201d97
children c202da1d3c1c
line wrap: on
line source

#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident	"%Z%%M%	%I%	%E% SMI"

include ../../Makefile.cmd

common_DCNAMES = \
	DISK \
	FMD \
	SUNOS \
	PCI \
	PCIEX \
	ZFS \
	SCA500 \
	SCA1000

i386_DCNAMES = \
	AMD

sparc_DCNAMES = \
	SUN4 \
	SUN4U \
	SUN4V

DCNAMES = \
	$(common_DCNAMES) \
	$($(MACH)_DCNAMES)

ALLDCNAMES = \
	$(common_DCNAMES) \
	$(sparc_DCNAMES) \
	$(i386_DCNAMES)

DCFILES = $(DCNAMES:%=%.dict)
POFILES = $(DCNAMES:%=%.po)
MOFILES = $(DCNAMES:%=%.mo)

ROOTDCDIR = $(ROOTLIB)/fm/dict
ROOTLCDIR = $(ROOTLIB)/locale/C/LC_MESSAGES

ROOTDCFILES = $(DCNAMES:%=$(ROOTDCDIR)/%.dict)
ROOTPOFILES = $(DCNAMES:%=$(ROOTLCDIR)/%.po)
ROOTMOFILES = $(DCNAMES:%=$(ROOTLCDIR)/%.mo)
ROOTALLPOFILES = $(ALLDCNAMES:%=$(ROOTLCDIR)/%.po)

FILEMODE = 0444
$(ROOTALLPOFILES) := FILEMODE = 0644

DICTCK = ../scripts/dictck
DICTCKFLAGS = -b ../scripts/buildcode

all: $(MOFILES)

_msg: $(ROOTALLPOFILES)

$(ROOTDCDIR):
	$(INS.dir)

$(ROOTLIB)/locale:
	$(INS.dir)

$(ROOTLIB)/locale/C: $(ROOTLIB)/locale
	$(INS.dir)

$(ROOTLCDIR): $(ROOTLIB)/locale/C
	$(INS.dir)

$(ROOTDCDIR)/%: %
	$(INS.file)

$(ROOTLCDIR)/%: %
	$(INS.file)

%.mo: %.po
	msgfmt -s -o $@ $<

lint:
	@for name in $(DCNAMES); do\
		$(DICTCK) $(DICTCKFLAGS) $$name.dict $$name.po;\
	done

clean install_h lint:

clobber:
	$(RM) $(MOFILES)

install: all $(ROOTDCDIR) $(ROOTLCDIR) \
	$(ROOTDCFILES) $(ROOTALLPOFILES) $(ROOTMOFILES)