1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/ASHELL=/usr/bin/ksh93
1N/A
1N/Ainclude ../../Makefile.cmd
1N/A
1N/A.KEEP_STATE:
1N/A
1N/A# Set common AST build flags (e.g., needed to support the math stuff).
1N/Ainclude ../../../Makefile.ast
1N/A
1N/A# build rules
1N/ACPPFLAGS = \
1N/A $(DTEXTDOM) $(DTS_ERRNO) \
1N/A -I$(ROOT)/usr/include/ast \
1N/A -I$(ROOT)/usr/include \
1N/A -D_PACKAGE_ast \
1N/A '-DUSAGE_LICENSE=\
1N/A "[-author?Glenn Fowler <gsf@research.att.com>]"\
1N/A "[-copyright?Copyright (c) 1986-2011 AT&T Intellectual Property]"\
1N/A "[-license?http://www.opensource.org/licenses/cpl1.0.txt]"\
1N/A "[--catalog?msgcc]"'
1N/A
1N/ACFLAGS += \
1N/A $(ASTCFLAGS)
1N/A
1N/ALDLIBS += -last
1N/Amsgcpp := LDLIBS += -lpp
1N/A
1N/Amsgcc: msgcc.sh
1N/A rm -f 'msgcc' ; \
1N/A { \
1N/A print $$'export PATH=\'/usr/ast/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin\'' ; \
1N/A cat 'msgcc.sh' ; \
1N/A } | $(SHCOMP) >'msgcc' ; \
1N/A chmod a+rx 'msgcc'
1N/A
1N/AROOTCMDDIR=$(ROOT)/usr/ast/bin
1N/A
1N/APROG= msgcvt msggen msgget msgcpp msgcc
1N/A
1N/Aall: $(PROG)
1N/A
1N/Ainstall: all $(ROOTCMD)
1N/A
1N/Aclean lint:
1N/A
1N/Ainclude ../../Makefile.targ