summaryrefslogtreecommitdiffstats
path: root/tools/regression/sockets/so_setfib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/sockets/so_setfib/Makefile')
-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 fc12745..5c421c5 100644
--- a/tools/regression/sockets/so_setfib/Makefile
+++ b/tools/regression/sockets/so_setfib/Makefile
@@ -1,14 +1,16 @@
# $FreeBSD$
+.include <bsd.own.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>
OpenPOWER on IntegriCloud