freebsd-skq/usr.bin/yacc/Makefile
bapt 913116490c Import byacc from invisible island, it brings us lots of compatibilities with
bison, keeping full compatibility with our previous yacc implementation.

Also bring the ability to create reentrant parser

This fix bin/140309 [1]

PR:		bin/140309 [1]
Submitted by:	Philippe Pepiot <ksh@philpep.org> [1]
Approved by:	des (mentor)
MFC after:	1 month
2012-05-21 13:31:26 +00:00

20 lines
429 B
Makefile

# @(#)Makefile 5.3 (Berkeley) 5/12/90
# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/byacc
PROG= yacc
SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c output.c \
reader.c skeleton.c symtab.c verbose.c warshall.c
CFLAGS+= -DMIXEDCASE_FILENAMES=1 \
-DCC_HAS_PROTOS=1 \
-DHAVE_FCNTL_H=1 \
-DHAVE_ATEXIT=1 \
-DHAVE_MKSTEMP=1
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
MLINKS= yacc.1 byacc.1
.include <bsd.prog.mk>