]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/ndp/Makefile
Merge libcxxrt master 03c83f5a57be8c5b1a29a68de5638744f17d28ba
[FreeBSD/FreeBSD.git] / usr.sbin / ndp / Makefile
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 .include <src.opts.mk>
16
17 PROG=   ndp
18 MAN=    ndp.8
19 SRCS=   ndp.c
20
21 LIBADD= xo
22
23 CFLAGS+= -I. -I${.CURDIR}
24 CFLAGS+= -D_U_=""
25
26 .if ${MK_EXPERIMENTAL} != "no"
27 CFLAGS+=        -DEXPERIMENTAL
28 CFLAGS+=        -DDRAFT_IETF_6MAN_IPV6ONLY_FLAG
29 .endif
30
31 .if ${MK_NETLINK_SUPPORT} != "no"
32 SRCS+=  ndp_netlink.c
33 .else
34 CFLAGS+=-DWITHOUT_NETLINK
35 .endif
36
37
38 WARNS?= 3
39
40 .include <bsd.prog.mk>