freebsd-skq/usr.bin/yacc/Makefile

26 lines
531 B
Makefile
Raw Normal View History

1994-05-27 12:33:43 +00:00
# @(#)Makefile 5.3 (Berkeley) 5/12/90
1999-08-28 01:08:13 +00:00
# $FreeBSD$
1994-05-27 12:33:43 +00:00
.include <src.opts.mk>
BYACC_SRC= ${SRCTOP}/contrib/byacc
.PATH: ${BYACC_SRC}
1994-05-27 12:33:43 +00:00
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
2020-07-14 01:54:24 +00:00
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}
CFLAGS+= -DMAXTABLE=INT_MAX
YYPATCH!= cat ${BYACC_SRC}/VERSION
CFLAGS+= -DYYPATCH=${YYPATCH}
2001-04-07 11:21:35 +00:00
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
MLINKS= yacc.1 byacc.1
1994-05-27 12:33:43 +00:00
HAS_TESTS=
2017-08-02 08:38:36 +00:00
SUBDIR.${MK_TESTS}+= tests
1994-05-27 12:33:43 +00:00
.include <bsd.prog.mk>