31 lines
568 B
Makefile
31 lines
568 B
Makefile
# $NetBSD: Makefile,v 1.21 2017/10/10 19:30:41 christos Exp $
|
|
|
|
WARNS?= 4
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # network server
|
|
|
|
RUMPPRG= rtadvd
|
|
SRCS= rtadvd.c rrenum.c advcap.c if.c config.c timer.c dump.c
|
|
MAN= rtadvd.8 rtadvd.conf.5
|
|
|
|
CPPFLAGS+= -DINET6
|
|
LDADD+= -lutil
|
|
DPADD+= ${LIBUTIL}
|
|
|
|
.if ${MKSHARE} != "no"
|
|
FILESDIR= /usr/share/examples/rtadvd
|
|
FILES= rtadvd.conf
|
|
.endif
|
|
|
|
.if (${MKRUMP} != "no")
|
|
CPPFLAGS+= -DRUMP_ACTION
|
|
LDADD.rump+= -lrumpres
|
|
DPADD.rump+= ${LIBRUMPRES}
|
|
.endif
|
|
|
|
CWARNFLAGS.clang+= -Wno-error=address-of-packed-member
|
|
|
|
.include <bsd.prog.mk>
|