blob: 957d4f7f3e564788a178568402068449ccd9bab4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.27 2023/06/03 09:09:23 lukem Exp $
WARNS?= 4
.include <bsd.own.mk>
USE_FORT?= yes # network server
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}
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
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>
|