1 # $NetBSD: Makefile,v 1.3.4.2 2001/07/29 20:32:32 he Exp $ 2 # Build ping6 without IPSEC 3 4 SRCDIR= ${.CURDIR}/../../../sbin/ping6 5 PROG= ping6 6 NOMAN= yes 7 8 CPPFLAGS+=-I${SRCDIR} 9 CPPFLAGS+=-DINET6 10 .if ${MACHINE_ARCH} != "sparc64" 11 COPTS+= -Os 12 .endif 13 LDSTATIC?=-static 14 15 # KAME scope id hack 16 CPPFLAGS+=-DKAME_SCOPEID 17 18 LDADD+= -lm 19 DPADD+= ${LIBM} 20 21 .include <bsd.prog.mk> 22 23 .PATH: ${SRCDIR} 24