1# @(#)Makefile 5.3 (Berkeley) 5/12/90 2 3.include <src.opts.mk> 4 5BYACC_SRC= ${SRCTOP}/contrib/byacc 6.PATH: ${BYACC_SRC} 7 8PROG= yacc 9SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \ 10 reader.c yaccpar.c symtab.c verbose.c warshall.c 11 12CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR} 13CFLAGS+= -DMAXTABLE=INT_MAX 14 15YYPATCH!= cat ${BYACC_SRC}/VERSION 16CFLAGS+= -DYYPATCH=${YYPATCH} 17 18LINKS= ${BINDIR}/yacc ${BINDIR}/byacc 19MLINKS= yacc.1 byacc.1 20 21HAS_TESTS= 22SUBDIR.${MK_TESTS}+= tests 23 24.include <bsd.prog.mk> 25