summaryrefslogtreecommitdiffstats
path: root/sbin/ping6/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/ping6/Makefile')
-rw-r--r--sbin/ping6/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile
index 0cac4c0..8c77c96 100644
--- a/sbin/ping6/Makefile
+++ b/sbin/ping6/Makefile
@@ -1,25 +1,19 @@
-# 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$
PROG= ping6
MAN8= ping6.8
-BINMODE = 4555
-COPTS+= -Wall -Wmissing-prototypes
-.if ${MACHINE_ARCH} == "alpha"
-COPTS+= -fno-builtin # GCC's builtin memcpy doesn't do unaligned copies
-.endif
-CFLAGS+= -DINET6
+SRCS= ping6.c
+
+CFLAGS+=-DINET6 -DIPSEC
+
+BINOWN= root
+BINGRP= bin
+BINMODE=4555
+
+LDADD+= -lipsec -lmd
+DPADD+= ${LIBIPSEC} ${LIBMD}
+
+# kame scopeid hack
+CFLAGS+=-DKAME_SCOPEID
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud