summaryrefslogtreecommitdiff
path: root/tools/regression
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-04-11 06:38:50 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-04-11 06:38:50 +0000
commitddecfa0403e60912d4391c0a72e839d65f0ca050 (patch)
treea01204e11f88d7a6bdc5eb682e8b13849f494d1e /tools/regression
parentd82f9014fa8e63a6cb1dbc9b9603e7b36ab1a6ec (diff)
downloadsrc-test2-ddecfa0403e60912d4391c0a72e839d65f0ca050.tar.gz
src-test2-ddecfa0403e60912d4391c0a72e839d65f0ca050.zip
Notes
Diffstat (limited to 'tools/regression')
-rw-r--r--tools/regression/sockets/so_setfib/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/regression/sockets/so_setfib/Makefile b/tools/regression/sockets/so_setfib/Makefile
index fc12745e0c58..90111fb86bd5 100644
--- a/tools/regression/sockets/so_setfib/Makefile
+++ b/tools/regression/sockets/so_setfib/Makefile
@@ -1,14 +1,16 @@
# $FreeBSD$
+.include <src.opts.mk>
+
PROG= so_setfib
MAN=
WARNS?= 6
-.ifdef INET6
-CFLAGS+= -DINET6
-.endif
-.ifdef INET
+.if ${MK_INET} != "no"
CFLAGS+= -DINET
.endif
+.if ${MK_INET6} != "no"
+CFLAGS+= -DINET6
+.endif
.include <bsd.prog.mk>