1# @(#)Makefile 5.3 (Berkeley) 5/12/90
| 1# @(#)Makefile 5.3 (Berkeley) 5/12/90
|
2# $FreeBSD: stable/10/usr.bin/yacc/Makefile 272970 2014-10-11 23:02:03Z rodrigc $
| 2# $FreeBSD: stable/10/usr.bin/yacc/Makefile 277086 2015-01-12 20:14:31Z jkim $
|
3 4.include <bsd.own.mk> 5 6BYACC_SRC= ${.CURDIR}/../../contrib/byacc 7.PATH: ${BYACC_SRC} 8 9PROG= yacc 10SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \ 11 reader.c yaccpar.c symtab.c verbose.c warshall.c 12
| 3 4.include <bsd.own.mk> 5 6BYACC_SRC= ${.CURDIR}/../../contrib/byacc 7.PATH: ${BYACC_SRC} 8 9PROG= yacc 10SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c mstring.c output.c \ 11 reader.c yaccpar.c symtab.c verbose.c warshall.c 12
|
13CFLAGS+= -DMIXEDCASE_FILENAMES=1 \ 14 -DHAVE_FCNTL_H=1 \ 15 -DHAVE_MKSTEMP=1
| 13CFLAGS+= -DHAVE_FCNTL_H=1 \ 14 -DHAVE_MKSTEMP=1 \ 15 -DMAXTABLE=INT_MAX \ 16 -DMIXEDCASE_FILENAMES=1
|
16 17YYPATCH!= cat ${BYACC_SRC}/VERSION 18CFLAGS+= -DYYPATCH=${YYPATCH} 19 20LINKS= ${BINDIR}/yacc ${BINDIR}/byacc 21MLINKS= yacc.1 byacc.1 22 23.if ${MK_TESTS} != "no" 24SUBDIR+= tests 25.endif 26 27.include <bsd.prog.mk>
| 17 18YYPATCH!= cat ${BYACC_SRC}/VERSION 19CFLAGS+= -DYYPATCH=${YYPATCH} 20 21LINKS= ${BINDIR}/yacc ${BINDIR}/byacc 22MLINKS= yacc.1 byacc.1 23 24.if ${MK_TESTS} != "no" 25SUBDIR+= tests 26.endif 27 28.include <bsd.prog.mk>
|