summaryrefslogtreecommitdiffstats
path: root/sbin/rtsol
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2006-07-27 13:26:29 +0000
committeryar <yar@FreeBSD.org>2006-07-27 13:26:29 +0000
commit51c5aa346aa124a853822a7232945abaa7d17b60 (patch)
treece37a168ff680044697648a8a215dea40f1c639f /sbin/rtsol
parentc6e8412606712a40238dd87fa9c27f8342f2f55b (diff)
downloadFreeBSD-src-51c5aa346aa124a853822a7232945abaa7d17b60.zip
FreeBSD-src-51c5aa346aa124a853822a7232945abaa7d17b60.tar.gz
Obey MK_INET6_SUPPORT.
This is also a good chance to apply style.Makefile(5) in some cases.
Diffstat (limited to 'sbin/rtsol')
-rw-r--r--sbin/rtsol/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/sbin/rtsol/Makefile b/sbin/rtsol/Makefile
index d3d40e8..250f804 100644
--- a/sbin/rtsol/Makefile
+++ b/sbin/rtsol/Makefile
@@ -15,14 +15,20 @@
SRCDIR= ${.CURDIR}/../../usr.sbin/rtsold
+.PATH: ${SRCDIR}
+
PROG= rtsol
SRCS= rtsold.c rtsol.c if.c probe.c rtsock.c
-
-CFLAGS+=-DINET6 -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL
+NO_MAN=
WARNS?= 0
-NO_MAN=
+# after NO_MAN
+.include <bsd.own.mk>
-.PATH: ${SRCDIR}
+CFLAGS+= -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL
+
+.if ${MK_INET6_SUPPORT} != "no"
+CFLAGS+= -DINET6
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud