xref: /f-stack/tools/ndp/Makefile (revision 22ce4aff)
1ebf5cedbSchopin# Copyright (c) 1996 WIDE Project. All rights reserved.
2ebf5cedbSchopin#
3ebf5cedbSchopin# Redistribution and use in source and binary forms, with or without
4ebf5cedbSchopin# modifications, are permitted provided that the above copyright notice
5ebf5cedbSchopin# and this paragraph are duplicated in all such forms and that any
6ebf5cedbSchopin# documentation, advertising materials, and other materials related to
7ebf5cedbSchopin# such distribution and use acknowledge that the software was developed
8ebf5cedbSchopin# by the WIDE Project, Japan. The name of the Project may not be used to
9ebf5cedbSchopin# endorse or promote products derived from this software without
10ebf5cedbSchopin# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
11ebf5cedbSchopin# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12ebf5cedbSchopin# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
13ebf5cedbSchopin# A PARTICULAR PURPOSE.
14*22ce4affSfengbojiang# $FreeBSD$
15ebf5cedbSchopin
16*22ce4affSfengbojiang.include <src.opts.mk>
17ebf5cedbSchopin
18*22ce4affSfengbojiang.PATH: ${SRCTOP}/contrib/tcpdump
19ebf5cedbSchopin
20ebf5cedbSchopinPROG=	ndp
21*22ce4affSfengbojiangMAN=	ndp.8
22*22ce4affSfengbojiangSRCS=	ndp.c gmt2local.c
23ebf5cedbSchopin
24*22ce4affSfengbojiangCFLAGS+= -I. -I${.CURDIR} -I${SRCTOP}/contrib/tcpdump
25*22ce4affSfengbojiangCFLAGS+= -D_U_=""
26ebf5cedbSchopin
27*22ce4affSfengbojiang.if ${MK_EXPERIMENTAL} != "no"
28*22ce4affSfengbojiangCFLAGS+=	-DEXPERIMENTAL
29*22ce4affSfengbojiangCFLAGS+=	-DDRAFT_IETF_6MAN_IPV6ONLY_FLAG
30*22ce4affSfengbojiang.endif
31*22ce4affSfengbojiang
32*22ce4affSfengbojiangWARNS?=	3
33*22ce4affSfengbojiang
34*22ce4affSfengbojiang.include <bsd.prog.mk>
35