summaryrefslogtreecommitdiffstats
path: root/usr.bin/getconf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/getconf/Makefile')
-rw-r--r--usr.bin/getconf/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/getconf/Makefile b/usr.bin/getconf/Makefile
index ca0f0c0..1670465 100644
--- a/usr.bin/getconf/Makefile
+++ b/usr.bin/getconf/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= getconf
SRCS= confstr.c getconf.c limits.c pathconf.c progenv.c sysconf.c
@@ -35,4 +37,8 @@ conflicting.names: confstr.names limits.names sysconf.names
unique.names: conflicting.names
LC_ALL=C sort -u ${.ALLSRC} >${.TARGET}
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud