xref: /freebsd/usr.sbin/ndp/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
19a4365d0SYoshinobu Inoue# Copyright (c) 1996 WIDE Project. All rights reserved.
29a4365d0SYoshinobu Inoue#
39a4365d0SYoshinobu Inoue# Redistribution and use in source and binary forms, with or without
49a4365d0SYoshinobu Inoue# modifications, are permitted provided that the above copyright notice
59a4365d0SYoshinobu Inoue# and this paragraph are duplicated in all such forms and that any
69a4365d0SYoshinobu Inoue# documentation, advertising materials, and other materials related to
79a4365d0SYoshinobu Inoue# such distribution and use acknowledge that the software was developed
89a4365d0SYoshinobu Inoue# by the WIDE Project, Japan. The name of the Project may not be used to
99a4365d0SYoshinobu Inoue# endorse or promote products derived from this software without
109a4365d0SYoshinobu Inoue# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
119a4365d0SYoshinobu Inoue# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
129a4365d0SYoshinobu Inoue# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
139a4365d0SYoshinobu Inoue# A PARTICULAR PURPOSE.
149a4365d0SYoshinobu Inoue
15201100c5SBjoern A. Zeeb.include <src.opts.mk>
16201100c5SBjoern A. Zeeb
179a4365d0SYoshinobu InouePROG=	ndp
18345e52e7SRuslan ErmilovMAN=	ndp.8
19*1cdec283SJoseph MingroneSRCS=	ndp.c
209a4365d0SYoshinobu Inoue
21e1c7783eSAlexander V. ChernikovLIBADD=	xo
22e1c7783eSAlexander V. Chernikov
23*1cdec283SJoseph MingroneCFLAGS+= -I. -I${.CURDIR}
24457180a4SBruce M SimpsonCFLAGS+= -D_U_=""
259a4365d0SYoshinobu Inoue
26201100c5SBjoern A. Zeeb.if ${MK_EXPERIMENTAL} != "no"
27201100c5SBjoern A. ZeebCFLAGS+=	-DEXPERIMENTAL
28201100c5SBjoern A. ZeebCFLAGS+=	-DDRAFT_IETF_6MAN_IPV6ONLY_FLAG
29201100c5SBjoern A. Zeeb.endif
30201100c5SBjoern A. Zeeb
3191fbe081SAlexander V. Chernikov.if ${MK_NETLINK_SUPPORT} != "no"
3291fbe081SAlexander V. ChernikovSRCS+=	ndp_netlink.c
3391fbe081SAlexander V. Chernikov.else
3491fbe081SAlexander V. ChernikovCFLAGS+=-DWITHOUT_NETLINK
3591fbe081SAlexander V. Chernikov.endif
3691fbe081SAlexander V. Chernikov
3791fbe081SAlexander V. Chernikov
387ae43b31SRenato BotelhoWARNS?=	3
3971ccf092SEd Schouten
409a4365d0SYoshinobu Inoue.include <bsd.prog.mk>
41