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