Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# CDDL HEADER START
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# The contents of this file are subject to the terms of the
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# Common Development and Distribution License, Version 1.0 only
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# (the "License"). You may not use this file except in compliance
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# with the License.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# See the License for the specific language governing permissions
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# and limitations under the License.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# When distributing Covered Code, include this CDDL HEADER in each
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# If applicable, add the following below this CDDL HEADER, with the
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# fields enclosed by brackets "[]" replaced with your own identifying
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# information: Portions Copyright [yyyy] [name of copyright owner]
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# CDDL HEADER END
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# Use is subject to license terms.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violetteOBJS= main.o dir.o crossref.o scanner.o lookup.o command.o display.o \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette find.o edit.o exec.o help.o history.o input.o menu.o alloc.o \
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# these three are because we cannot seem to redefine the size of YYLMAX,
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# and thus yytext, in the code because yytext is defined before our code
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# is seen. YYLMAX is supposed to be STMTMAX+PATLEN+1.
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violetteCFLAGS += -DPATLEN=$(PATLEN) -DSTMTMAX=$(STMTMAX) -DYYLMAX=$(YYLMAX)
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violetteCERRWARN += -_gcc=-Wno-implicit-function-declaration
a5b9f8fb834b1b2208e59a2fa76714bd91a5f147violette# because of goto's in the scanner