Makefile revision ee5416c9d7e449233197d5d20bc6b81e4ff091b2
278N/A#
278N/A# CDDL HEADER START
1276N/A#
278N/A# The contents of this file are subject to the terms of the
1488N/A# Common Development and Distribution License (the "License").
278N/A# You may not use this file except in compliance with the License.
278N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
278N/A#ident "%Z%%M% %I% %E% SMI"
278N/A
278N/Ainclude ../../Makefile.cmd
278N/A
493N/Acommon_DCNAMES = \
278N/A DISK \
278N/A FMD \
1408N/A NXGE \
278N/A SUNOS \
911N/A PCI \
1408N/A PCIEX \
1408N/A ZFS \
1408N/A SCA500 \
911N/A SCA1000
278N/A
1276N/Ai386_DCNAMES = \
278N/A AMD
278N/A
278N/Asparc_DCNAMES = \
278N/A SCF \
278N/A SUN4 \
1451N/A SUN4U \
493N/A SUN4V
1451N/A
1451N/ADCNAMES = \
969N/A $(common_DCNAMES) \
278N/A $($(MACH)_DCNAMES)
1489N/A
1489N/AALLDCNAMES = \
1489N/A $(common_DCNAMES) \
1489N/A $(sparc_DCNAMES) \
970N/A $(i386_DCNAMES)
970N/A
970N/ADCFILES = $(DCNAMES:%=%.dict)
970N/APOFILES = $(DCNAMES:%=%.po)
970N/AMOFILES = $(DCNAMES:%=%.mo)
970N/A
970N/AROOTDCDIR = $(ROOTLIB)/fm/dict
970N/AROOTLCDIR = $(ROOTLIB)/locale/C/LC_MESSAGES
970N/A
910N/AROOTDCFILES = $(DCNAMES:%=$(ROOTDCDIR)/%.dict)
910N/AROOTPOFILES = $(DCNAMES:%=$(ROOTLCDIR)/%.po)
278N/AROOTMOFILES = $(DCNAMES:%=$(ROOTLCDIR)/%.mo)
1488N/AROOTALLPOFILES = $(ALLDCNAMES:%=$(ROOTLCDIR)/%.po)
1488N/A
1488N/AFILEMODE = 0444
278N/A$(ROOTALLPOFILES) := FILEMODE = 0644
278N/A
278N/ADICTCK = ../scripts/dictck
278N/ADICTCKFLAGS = -b ../scripts/buildcode
493N/A
278N/Aall: $(MOFILES)
278N/A
935N/A_msg: $(ROOTALLPOFILES)
278N/A
354N/A$(ROOTDCDIR):
493N/A $(INS.dir)
278N/A
910N/A$(ROOTLIB)/locale:
910N/A $(INS.dir)
278N/A
970N/A$(ROOTLIB)/locale/C: $(ROOTLIB)/locale
970N/A $(INS.dir)
970N/A
910N/A$(ROOTLCDIR): $(ROOTLIB)/locale/C
278N/A $(INS.dir)
278N/A
278N/A$(ROOTDCDIR)/%: %
969N/A $(INS.file)
278N/A
910N/A$(ROOTLCDIR)/%: %
851N/A $(INS.file)
851N/A
278N/A%.mo: %.po
278N/A msgfmt -s -o $@ $<
851N/A
1451N/Alint:
970N/A @for name in $(DCNAMES); do\
970N/A $(DICTCK) $(DICTCKFLAGS) $$name.dict $$name.po;\
970N/A done
970N/A
970N/Aclean install_h lint:
1568N/A
970N/Aclobber:
970N/A $(RM) $(MOFILES)
970N/A
970N/Ainstall: all $(ROOTDCDIR) $(ROOTLCDIR) \
970N/A $(ROOTDCFILES) $(ROOTALLPOFILES) $(ROOTMOFILES)
1489N/A