xref: /freebsd/usr.sbin/rtadvd/Makefile (revision cc426dd31990b8b50b210efc450e404596548ca1)
1# Copyright (c) 1996 WIDE Project. All rights reserved.
2#
3# Redistribution and use in source and binary forms, with or without
4# modifications, are permitted provided that the above copyright notice
5# and this paragraph are duplicated in all such forms and that any
6# documentation, advertising materials, and other materials related to
7# such distribution and use acknowledge that the software was developed
8# by the WIDE Project, Japan. The name of the Project may not be used to
9# endorse or promote products derived from this software without
10# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13# A PARTICULAR PURPOSE.
14#
15# $FreeBSD$
16
17.include <src.opts.mk>
18
19PROG=	rtadvd
20MAN=	rtadvd.conf.5 rtadvd.8
21SRCS=	rtadvd.c rrenum.c advcap.c if.c config.c timer.c timer_subr.c	\
22	control.c control_server.c
23
24.if ${MK_EXPERIMENTAL} != "no"
25CFLAGS+=	-DEXPERIMENTAL
26CFLAGS+=	-DDRAFT_IETF_6MAN_IPV6ONLY_FLAG
27.endif
28
29LIBADD=	util
30
31WARNS?=	1
32
33.include <bsd.prog.mk>
34