From 51c5aa346aa124a853822a7232945abaa7d17b60 Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 27 Jul 2006 13:26:29 +0000 Subject: Obey MK_INET6_SUPPORT. This is also a good chance to apply style.Makefile(5) in some cases. --- sbin/rtsol/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'sbin/rtsol') 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 -.PATH: ${SRCDIR} +CFLAGS+= -DHAVE_ARC4RANDOM -DHAVE_POLL_H -DSMALL + +.if ${MK_INET6_SUPPORT} != "no" +CFLAGS+= -DINET6 +.endif .include -- cgit v1.1