mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 10:29:15 +00:00
e9ac41698b
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
23 lines
480 B
Makefile
23 lines
480 B
Makefile
.include <src.opts.mk>
|
|
|
|
BYACC_SRC= ${SRCTOP}/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_CONFIG_H -I${.CURDIR}
|
|
CFLAGS+= -DMAXTABLE=INT_MAX
|
|
|
|
YYPATCH!= cat ${BYACC_SRC}/VERSION
|
|
CFLAGS+= -DYYPATCH=${YYPATCH}
|
|
|
|
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
|
|
MLINKS= yacc.1 byacc.1
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|