summaryrefslogtreecommitdiffstats
path: root/usr.bin/ncal/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/ncal/Makefile')
-rw-r--r--usr.bin/ncal/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/ncal/Makefile b/usr.bin/ncal/Makefile
index 7d42921..27aa567 100644
--- a/usr.bin/ncal/Makefile
+++ b/usr.bin/ncal/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <bsd.own.mk>
+
PROG= ncal
DPADD= ${LIBCALENDAR} ${LIBTERMCAP}
@@ -8,4 +10,8 @@ LDADD= -lcalendar -ltermcap
LINKS= ${BINDIR}/ncal ${BINDIR}/cal
MLINKS= ncal.1 cal.1
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud