summaryrefslogtreecommitdiffstats
path: root/usr.bin/yacc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/yacc/Makefile')
-rw-r--r--usr.bin/yacc/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/yacc/Makefile b/usr.bin/yacc/Makefile
index a5f0d1b..f4e548c 100644
--- a/usr.bin/yacc/Makefile
+++ b/usr.bin/yacc/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 5.3 (Berkeley) 5/12/90
# $FreeBSD$
+.include <bsd.own.mk>
+
BYACC_SRC= ${.CURDIR}/../../contrib/byacc
.PATH: ${BYACC_SRC}
@@ -20,4 +22,8 @@ CFLAGS+= -DYYPATCH=${YYPATCH}
LINKS= ${BINDIR}/yacc ${BINDIR}/byacc
MLINKS= yacc.1 byacc.1
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud