aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/basename/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/basename/Makefile')
-rw-r--r--usr.bin/basename/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/basename/Makefile b/usr.bin/basename/Makefile
index d647395c83d9..b392c3f378df 100644
--- a/usr.bin/basename/Makefile
+++ b/usr.bin/basename/Makefile
@@ -1,7 +1,13 @@
# From: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= basename
MLINKS= basename.1 dirname.1
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>