1# @(#)Makefile 5.3 (Berkeley) 5/12/90 2# $FreeBSD$ 3 4BYACC_SRC= ${.CURDIR}/../../contrib/byacc 5.PATH: ${BYACC_SRC} 6 7PROG= yacc 8SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c output.c \ 9 reader.c skeleton.c symtab.c verbose.c warshall.c 10 11CFLAGS+= -DMIXEDCASE_FILENAMES=1 \ 12 -DCC_HAS_PROTOS=1 \ 13 -DHAVE_FCNTL_H=1 \ 14 -DHAVE_ATEXIT=1 \ 15 -DHAVE_MKSTEMP=1 16 17YYPATCH!= cat ${BYACC_SRC}/VERSION 18CFLAGS+= -DYYPATCH=${YYPATCH} 19 20LINKS= ${BINDIR}/yacc ${BINDIR}/byacc 21MLINKS= yacc.1 byacc.1 22 23.include <bsd.prog.mk> 24