freebsd-dev/usr.bin/yacc/Makefile
Enji Cooper d511b20a69 Add HAS_TESTS to all Makefiles that are currently using the
`SUBDIR.${MK_TESTS}+= tests` idiom.

This is a follow up to r321912.
2017-08-02 08:50:42 +00:00

28 lines
563 B
Makefile

# @(#)Makefile 5.3 (Berkeley) 5/12/90
# $FreeBSD$
.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_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
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests
.include <bsd.prog.mk>