summaryrefslogtreecommitdiff
path: root/usr.sbin/rtadvd/Makefile
blob: e5b7044073d1f4f747979d3b4f1b4e31ec8a27dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: Makefile,v 1.10 2006/05/11 08:35:47 mrg Exp $

.include <bsd.own.mk>

PROG=	rtadvd
SRCS=	rtadvd.c rrenum.c advcap.c if.c config.c timer.c dump.c

CPPFLAGS+=-DINET6
MAN=	rtadvd.8 rtadvd.conf.5
LDADD+=	-lutil
DPADD+=	${LIBUTIL}

.if ${MKSHARE} != "no"
FILESDIR=	/usr/share/examples/rtadvd
FILES=	rtadvd.conf
.endif

.include <bsd.prog.mk>

.if (${HAVE_GCC} == 4)
COPTS.dump.c=-fno-strict-aliasing
.endif