diff options
author | ngie <ngie@FreeBSD.org> | 2015-04-11 06:38:50 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-04-11 06:38:50 +0000 |
commit | 79dd32579dec1496cc19af7c112f76c3d892eed7 (patch) | |
tree | a01204e11f88d7a6bdc5eb682e8b13849f494d1e /tools | |
parent | 692e8bf36103763f8093c7e0d3bf7b44066178fa (diff) | |
download | FreeBSD-src-79dd32579dec1496cc19af7c112f76c3d892eed7.zip FreeBSD-src-79dd32579dec1496cc19af7c112f76c3d892eed7.tar.gz |
Fix the knob twiddling to work properly per src.opts.mk
MFC after: 1 week
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/sockets/so_setfib/Makefile | 10 |
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..90111fb 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> |