]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.bin/yacc/Makefile
MFC various moves of tools/regressions/ tests to the new infrastructure.
[FreeBSD/stable/10.git] / usr.bin / yacc / Makefile
1 #       @(#)Makefile    5.3 (Berkeley) 5/12/90
2 # $FreeBSD$
3
4 .include <bsd.own.mk>
5
6 .PATH: ${.CURDIR}/../../contrib/byacc
7
8 PROG=   yacc
9 SRCS=   closure.c error.c graph.c lalr.c lr0.c main.c mkpar.c output.c \
10         reader.c skeleton.c symtab.c verbose.c warshall.c
11
12 CFLAGS+=        -DMIXEDCASE_FILENAMES=1 \
13                 -DCC_HAS_PROTOS=1 \
14                 -DHAVE_FCNTL_H=1 \
15                 -DHAVE_ATEXIT=1 \
16                 -DHAVE_MKSTEMP=1
17                 
18 LINKS=  ${BINDIR}/yacc ${BINDIR}/byacc
19 MLINKS= yacc.1 byacc.1
20
21 .if ${MK_TESTS} != "no"
22 SUBDIR+= tests
23 .endif
24
25 .include <bsd.prog.mk>