]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/traceroute6/Makefile
ping(8): Fix a mandoc related issue
[FreeBSD/FreeBSD.git] / usr.sbin / traceroute6 / 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 # $FreeBSD$
15
16 .include <src.opts.mk>
17
18 TRACEROUTE_DISTDIR?= ${SRCTOP}/contrib/traceroute
19 .PATH: ${TRACEROUTE_DISTDIR}
20
21 PACKAGE=        runtime
22 PROG=   traceroute6
23 MAN=    traceroute6.8
24 SRCS=   as.c traceroute6.c
25 BINOWN= root
26 BINMODE= 4555
27
28 CFLAGS+= -DIPSEC -DHAVE_POLL
29 CFLAGS+= -I${.CURDIR} -I${TRACEROUTE_DISTDIR} -I.
30
31 .if ${MK_CASPER} != "no"
32 LIBADD+=        casper
33 LIBADD+=        cap_dns
34 CFLAGS+=        -DWITH_CASPER
35 .endif
36
37 LIBADD+=        ipsec
38
39 .include <bsd.prog.mk>
40
41 CWARNFLAGS+= -Wno-cast-align