1999-12-28 02:37:14 +00:00
|
|
|
# Copyright (c) 1996 WIDE Project. All rights reserved.
|
|
|
|
#
|
|
|
|
# Redistribution and use in source and binary forms, with or without
|
|
|
|
# modifications, are permitted provided that the above copyright notice
|
|
|
|
# and this paragraph are duplicated in all such forms and that any
|
|
|
|
# documentation, advertising materials, and other materials related to
|
|
|
|
# such distribution and use acknowledge that the software was developed
|
|
|
|
# by the WIDE Project, Japan. The name of the Project may not be used to
|
|
|
|
# endorse or promote products derived from this software without
|
|
|
|
# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
|
|
|
|
# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
|
|
|
|
# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
|
|
# A PARTICULAR PURPOSE.
|
|
|
|
# $FreeBSD$
|
|
|
|
|
2020-09-06 14:04:02 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2017-03-01 04:17:59 +00:00
|
|
|
TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
|
2009-08-23 17:00:16 +00:00
|
|
|
.PATH: ${TRACEROUTE_DISTDIR}
|
|
|
|
|
2019-09-05 14:13:08 +00:00
|
|
|
PACKAGE= runtime
|
1999-12-28 02:37:14 +00:00
|
|
|
PROG= traceroute6
|
2001-07-20 06:20:32 +00:00
|
|
|
MAN= traceroute6.8
|
2009-08-23 17:00:16 +00:00
|
|
|
SRCS= as.c traceroute6.c
|
1999-12-28 02:37:14 +00:00
|
|
|
BINOWN= root
|
2001-07-20 06:20:32 +00:00
|
|
|
BINMODE= 4555
|
|
|
|
|
2019-07-22 20:11:33 +00:00
|
|
|
CFLAGS+= -DIPSEC -DHAVE_POLL
|
2009-08-23 17:00:16 +00:00
|
|
|
CFLAGS+= -I${.CURDIR} -I${TRACEROUTE_DISTDIR} -I.
|
1999-12-28 02:37:14 +00:00
|
|
|
|
2020-09-06 14:04:02 +00:00
|
|
|
.if ${MK_CASPER} != "no"
|
|
|
|
LIBADD+= casper
|
|
|
|
LIBADD+= cap_dns
|
|
|
|
CFLAGS+= -DWITH_CASPER
|
|
|
|
.endif
|
|
|
|
|
|
|
|
LIBADD+= ipsec
|
1999-12-28 02:37:14 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
2020-07-21 15:03:36 +00:00
|
|
|
|
|
|
|
CWARNFLAGS+= -Wno-cast-align
|