head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2013.02.16.22.43.21;	author svnexp;	state dead;
branches;
next	1.2;

1.2
date	2012.11.17.06.01.06;	author svnexp;	state Exp;
branches;
next	1.1;

1.1
date	2012.07.16.18.36.15;	author hrs;	state Exp;
branches;
next	;


desc
@@


1.3
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/312388
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@--- /dev/null	2012-07-17 03:00:00.000000000 +0900
+++ tools/Makefile	2012-07-17 02:59:01.000000000 +0900
@@@@ -0,0 +1,37 @@@@
+# $FreeBSD: head/security/ipv6toolkit/files/patch-tools-Makefile 300968 2012-07-16 18:36:15Z hrs $
+
+PREFIX?=	/usr/local
+BINDIR?=	${DESTDIR}${PREFIX}/bin
+CFLAGS+=	-Wall
+
+PROG=	flow6 frag6 icmp6 jumbo6 na6 ni6 ns6 ra6 rd6 rs6 scan6 tcp6
+
+.for P in ${PROG}
+PT:=${P}
+${P}.o: ${P}.c ${P}.h
+${P}: ${P}.o
+.if ${PT:Mflow6}
+	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${P}.o -lpcap -lm
+.elif ${PT:Mfrag6}
+	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${P}.o -lpcap -lm
+.else
+	${CC} ${CFLAGS} ${LDFLAGS} -o ${.TARGET} ${P}.o -lpcap
+.endif
+CLEANFILES+=	${P} ${P}.o
+.endfor
+
+all: ${PROG}
+
+beforeinstall:
+	mkdir -p ${BINDIR}
+
+realinstall: _proginstall
+
+_proginstall:
+	${INSTALL} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+	    ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${BINDIR}
+
+.include <bsd.init.mk>
+.include <bsd.files.mk>
+.include <bsd.obj.mk>
+.include <bsd.sys.mk>
@


1.2
log
@Switch exporter over
@
text
@@


1.1
log
@SVN rev 300968 on 2012-07-16 18:36:15Z by hrs

Add security/ipv6toolkit, a portable IPv6 security assessment suite.

WWW:	http://www.si6networks.com/research/tools.html
@
text
@d4 1
a4 1
+# $FreeBSD$
@

