Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
294N/A#
919N/A# CDDL HEADER START
943N/A#
919N/A# The contents of this file are subject to the terms of the
919N/A# Common Development and Distribution License, Version 1.0 only
919N/A# (the "License"). You may not use this file except in compliance
919N/A# with the License.
919N/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 2005 Sun Microsystems, Inc. All rights reserved.
294N/A# Use is subject to license terms.
294N/A#
294N/A# Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T
294N/A# All Rights Reserved
294N/A#
294N/A
294N/A#ident "%Z%%M% %I% %E% SMI"
294N/A
294N/A# cmd/msgfmt/Makefile
294N/A
294N/Ainclude ../Makefile.cmd
294N/A
294N/AXOBJS= xgettext.o
294N/A
294N/ALXOBJS= xgettext.lx.o
294N/A
294N/AGOBJS= gnu_msgfmt.o gnu_handle.o gnu_lex.o gnu_hash.o gnu_check.o
294N/A
294N/AYOBJS= gnu_po.o
294N/A
294N/ABOBJS= gnu_msgs.o
294N/A
294N/ALOBJS= gnu_msgs_rev.o
294N/A
294N/ASOBJS= msgfmt.o check_header.o
294N/A
294N/ACOBJS= option.o util.o
294N/A
294N/ABINPROG= msgfmt xgettext
294N/ALIBPROG= gmsgfmt
294N/APROG= $(BINPROG) $(LIBPROG)
294N/A
294N/AYFLAGS += -d
294N/ALINTFLAGS += -um
294N/A
294N/APOFILE= msgfmt_all.po
294N/APOFILES= $(SOBJS:%.o=%.po) $(GOBJS:%.o=%.po) $(COBJS:%.o=%.po) \
294N/A $(BOBJS:%.o=%.po) $(YOBJS:%.o=%.po)
294N/A
294N/ACLOBBERFILES += gmsgfmt_rev
294N/A
294N/AROOTBINPROG= $(BINPROG:%=$(ROOTBIN)/%)
294N/AROOTLIBPROG= $(LIBPROG:%=$(ROOTLIB)/%)
294N/A
294N/A.KEEP_STATE:
294N/A
294N/A.PARALLEL: $(SOBJS) $(GOBJS) $(YOBJS) $(COBJS) $(BOBJS) $(LOBJS) \
294N/A $(XOBJS) $(LXOBJS)
294N/A
294N/Aall: $(PROG) gmsgfmt_rev
294N/A
294N/Amsgfmt: $(SOBJS) $(COBJS)
294N/A $(LINK.c) $(SOBJS) $(COBJS) -o $@ $(LDLIBS)
294N/A $(POST_PROCESS)
294N/A
294N/Agmsgfmt: $(GOBJS) $(YOBJS) $(BOBJS) $(COBJS)
294N/A $(LINK.c) $(GOBJS) $(YOBJS) $(BOBJS) $(COBJS) -o $@ $(LDLIBS)
294N/A $(POST_PROCESS)
294N/A
294N/Agmsgfmt_rev: $(GOBJS) $(YOBJS) $(LOBJS) $(COBJS)
294N/A $(LINK.c) $(GOBJS) $(YOBJS) $(LOBJS) $(COBJS) -o $@ $(LDLIBS)
294N/A $(POST_PROCESS)
294N/A
294N/Axgettext: $(XOBJS) $(LXOBJS)
294N/A $(LINK.c) $(XOBJS) $(LXOBJS) -o $@ $(LDLIBS)
294N/A $(POST_PROCESS)
294N/A
294N/A$(POFILE): $(POFILES)
294N/A $(RM) $@
294N/A cat $(POFILES) > $@
294N/A
294N/Ainstall: all $(ROOTBINPROG) $(ROOTLIBPROG)
294N/A
294N/Aclean:
294N/A $(RM) $(SOBJS) $(GOBJS) $(YOBJS) $(COBJS) \
294N/A $(XOBJS) $(LXOBJS) $(BOBJS) $(LOBJS) \
294N/A $(POFILE) $(POFILES) gnu_po.c y.tab.h
294N/A
294N/Alint: gnu_po.c y.tab.h
294N/A $(LINT.c) $(SOBJS:%.o=%.c) $(COBJS:%.o=%.c) $(LDLIBS)
294N/A $(LINT.c) $(GOBJS:%.o=%.c) $(BOBJS:%.o=%.c) $(COBJS:%.o=%.c) $(LDLIBS)
294N/A $(LINT.c) $(GOBJS:%.o=%.c) $(LOBJS:%.o=%.c) $(COBJS:%.o=%.c) $(LDLIBS)
294N/A $(LINT.c) $(XOBJS:%.o=%.c) $(LDLIBS)
294N/A
294N/Agnu_po.c + y.tab.h: gnu_po.y
294N/A $(RM) gnu_po.c y.tab.h
294N/A $(YACC.y) gnu_po.y
294N/A mv y.tab.c gnu_po.c
294N/A
294N/Agnu_lex.o: y.tab.h
294N/A
294N/Ainclude ../Makefile.targ
294N/A