Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
911N/A# Common Development and Distribution License, Version 1.0 only
810N/A# (the "License"). You may not use this file except in compliance
0N/A# with the License.
0N/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.
919N/A# Use is subject to license terms.
919N/A#
0N/A
0N/APROG= egrep
0N/A
493N/Ainclude ../Makefile.cmd
493N/A
0N/ACPPFLAGS += -D_FILE_OFFSET_BITS=64
0N/ACERRWARN += -_gcc=-Wno-parentheses
493N/ACERRWARN += -_gcc=-Wno-implicit-function-declaration
0N/ACERRWARN += -_gcc=-Wno-unused-variable
911N/ACERRWARN += -_gcc=-Wno-unused-label
911N/A
911N/A.KEEP_STATE:
911N/A
0N/Aall: $(PROG)
493N/A
156N/Ainstall: all $(ROOTPROG)
0N/A
0N/A$(PROG).c: $(PROG).y
0N/A $(YACC.y) $<
0N/A $(SED) '-e 1 a\
0N/A \#define yyerror_gettext(x) yyerror(gettext(x))' y.tab.c > y1.c
837N/A $(SED) '-e /syntax/ s/yyerror/yyerror_gettext/' y1.c > $@
837N/A $(RM) y1.c y.tab.c
0N/A
355N/Aclean:
355N/A $(RM) $(PROG).c
355N/A
355N/Alint: lint_PROG
837N/A
837N/Ainclude ../Makefile.targ
0N/A