Home | History | Annotate | Line # | Download | only in rtadvd
Makefile revision 1.22
      1 # $NetBSD: Makefile,v 1.22 2019/01/11 20:41:53 christos Exp $
      2 
      3 WARNS?=	4
      4 
      5 .include <bsd.own.mk>
      6 
      7 USE_FORT?=	yes	# network server
      8 
      9 RUMPPRG=	rtadvd
     10 SRCS=		rtadvd.c rrenum.c advcap.c if.c config.c timer.c dump.c
     11 MAN=		rtadvd.8 rtadvd.conf.5
     12 
     13 CPPFLAGS+=	-DINET6
     14 LDADD+=		-lutil
     15 DPADD+=		${LIBUTIL}
     16 
     17 LIBWRAP=	${NETBSDSRCDIR}/lib/libwrap
     18 SRCS+=		expandm.c
     19 .PATH.c:	${LIBWRAP}
     20 CPPFLAGS+=	-I${LIBWRAP}
     21 
     22 
     23 .if ${MKSHARE} != "no"
     24 FILESDIR=	/usr/share/examples/rtadvd
     25 FILES=	rtadvd.conf
     26 .endif
     27 
     28 .if (${MKRUMP} != "no")
     29 CPPFLAGS+=	-DRUMP_ACTION
     30 LDADD.rump+=	-lrumpres
     31 DPADD.rump+=	${LIBRUMPRES}
     32 .endif
     33 
     34 CWARNFLAGS.clang+=	-Wno-error=address-of-packed-member
     35 
     36 .include <bsd.prog.mk>
     37