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