xref: /freebsd/usr.sbin/traceroute6/Makefile (revision 72c16669)
17d56d374SYoshinobu Inoue# Copyright (c) 1996 WIDE Project. All rights reserved.
27d56d374SYoshinobu Inoue#
37d56d374SYoshinobu Inoue# Redistribution and use in source and binary forms, with or without
47d56d374SYoshinobu Inoue# modifications, are permitted provided that the above copyright notice
57d56d374SYoshinobu Inoue# and this paragraph are duplicated in all such forms and that any
67d56d374SYoshinobu Inoue# documentation, advertising materials, and other materials related to
77d56d374SYoshinobu Inoue# such distribution and use acknowledge that the software was developed
87d56d374SYoshinobu Inoue# by the WIDE Project, Japan. The name of the Project may not be used to
97d56d374SYoshinobu Inoue# endorse or promote products derived from this software without
107d56d374SYoshinobu Inoue# specific prior written permission. THIS SOFTWARE IS PROVIDED ``AS IS''
117d56d374SYoshinobu Inoue# AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
127d56d374SYoshinobu Inoue# LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
137d56d374SYoshinobu Inoue# A PARTICULAR PURPOSE.
147d56d374SYoshinobu Inoue
15cc432e23SMariusz Zaborski.include <src.opts.mk>
16cc432e23SMariusz Zaborski
1772c16669SMark JohnstonTRACEROUTE_DISTDIR?= ${SRCTOP}/usr.sbin/traceroute
18d429d720SHajimu UMEMOTO.PATH: ${TRACEROUTE_DISTDIR}
19d429d720SHajimu UMEMOTO
20a7b5a3d4SEmmanuel VadotPACKAGE=	runtime
217d56d374SYoshinobu InouePROG=	traceroute6
2290e655eaSDavid E. O'BrienMAN=	traceroute6.8
23d429d720SHajimu UMEMOTOSRCS=	as.c traceroute6.c
247d56d374SYoshinobu InoueBINOWN=	root
257d56d374SYoshinobu InoueBINMODE= 4555
267d56d374SYoshinobu Inoue
27af58a3c6SAlan SomersCFLAGS+= -DIPSEC -DHAVE_POLL
28d429d720SHajimu UMEMOTOCFLAGS+= -I${.CURDIR} -I${TRACEROUTE_DISTDIR} -I.
2990e655eaSDavid E. O'Brien
30cc432e23SMariusz Zaborski.if ${MK_CASPER} != "no"
31cc432e23SMariusz ZaborskiLIBADD+=	casper
32cc432e23SMariusz ZaborskiLIBADD+=	cap_dns
33cc432e23SMariusz ZaborskiCFLAGS+=	-DWITH_CASPER
34cc432e23SMariusz Zaborski.endif
35cc432e23SMariusz Zaborski
36cc432e23SMariusz ZaborskiLIBADD+=	ipsec
377d56d374SYoshinobu Inoue
387d56d374SYoshinobu Inoue.include <bsd.prog.mk>
39ca19d0d7SMark Johnston
40ca19d0d7SMark JohnstonCWARNFLAGS+= -Wno-cast-align
41