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