summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc/Makefile
blob: 677486fd7320ec490886902561f33e3eb3350ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	@(#)Makefile	5.3 (Berkeley) 5/12/90
# $FreeBSD$

.PATH: ${.CURDIR}/../../contrib/byacc

PROG=	yacc
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
		
LINKS=	${BINDIR}/yacc ${BINDIR}/byacc
MLINKS=	yacc.1 byacc.1

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud