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
|
|
|
|
2012-05-21 13:31:26 +00:00
|
|
|
.PATH: ${.CURDIR}/../../contrib/byacc
|
|
|
|
|
1994-05-27 12:33:43 +00:00
|
|
|
PROG= yacc
|
2012-05-21 13:31:26 +00:00
|
|
|
SRCS= closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c output.c \
|
|
|
|
reader.c skeleton.c symtab.c verbose.c warshall.c
|
|
|
|
|
|
|
|
CFLAGS+= -DMIXEDCASE_FILENAMES=1 \
|
|
|
|
-DCC_HAS_PROTOS=1 \
|
|
|
|
-DHAVE_FCNTL_H=1 \
|
|
|
|
-DHAVE_ATEXIT=1 \
|
|
|
|
-DHAVE_MKSTEMP=1
|
|
|
|
|
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
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|