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