NetBSD/usr.sbin/rtadvd/Makefile

38 lines
693 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.27 2023/06/03 09:09:23 lukem Exp $
WARNS?= 4
2001-05-15 21:07:49 +04:00
.include <bsd.own.mk>
USE_FORT?= yes # network server
2007-05-28 16:06:17 +04:00
RUMPPRG= rtadvd
SRCS= rtadvd.c advcap.c if.c config.c timer.c dump.c
MAN= rtadvd.8 rtadvd.conf.5
CPPFLAGS+= -DINET6
LDADD+= -lutil
DPADD+= ${LIBUTIL}
2019-01-11 23:41:53 +03:00
LIBWRAP= ${NETBSDSRCDIR}/lib/libwrap
SRCS+= expandm.c
.PATH.c: ${LIBWRAP}
CPPFLAGS+= -I${LIBWRAP}
.if ${MKSHARE} != "no"
FILESDIR= /usr/share/examples/rtadvd
FILES= rtadvd.conf
.endif
.if (${MKRUMP} != "no")
CPPFLAGS+= -DRUMP_ACTION
2017-10-10 22:30:41 +03:00
LDADD.rump+= -lrumpres
DPADD.rump+= ${LIBRUMPRES}
.endif
COPTS.if.c+= ${CC_WNO_STRINGOP_TRUNCATION}
COPTS.config.c+= ${CC_WNO_STRINGOP_TRUNCATION}
.include <bsd.prog.mk>