mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-28 04:43:32 +00:00
b305890a6c
Increase MAXTABLE to the maxmimum possible value and regen test cases.
29 lines
577 B
Makefile
29 lines
577 B
Makefile
# @(#)Makefile 5.3 (Berkeley) 5/12/90
|
|
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
BYACC_SRC= ${.CURDIR}/../../contrib/byacc
|
|
.PATH: ${BYACC_SRC}
|
|
|
|
PROG= yacc
|
|
SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \
|
|
reader.c yaccpar.c symtab.c verbose.c warshall.c
|
|
|
|
CFLAGS+= -DHAVE_FCNTL_H=1 \
|
|
-DHAVE_MKSTEMP=1 \
|
|
-DMAXTABLE=INT_MAX \
|
|
-DMIXEDCASE_FILENAMES=1
|
|
|
|
YYPATCH!= cat ${BYACC_SRC}/VERSION
|
|
CFLAGS+= -DYYPATCH=${YYPATCH}
|
|
|
|
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
|
|
MLINKS= yacc.1 byacc.1
|
|
|
|
.if ${MK_TESTS} != "no"
|
|
SUBDIR+= tests
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|