summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipsend/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ipsend/Makefile')
-rw-r--r--usr.sbin/ipsend/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/usr.sbin/ipsend/Makefile b/usr.sbin/ipsend/Makefile
new file mode 100644
index 0000000..7e36cf1
--- /dev/null
+++ b/usr.sbin/ipsend/Makefile
@@ -0,0 +1,23 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../contrib/ipfilter/ipsend \
+ ${.CURDIR}/../../../contrib/ipfilter/iplang \
+ ${.CURDIR}/../../../contrib/ipfilter
+
+PROG= ipsend
+MAN1= ipsend.1
+MAN5= ipsend.5
+SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l
+
+CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
+ -I- -I. -I${.CURDIR}/../../../sys/netinet \
+ -I${.CURDIR}/../../../contrib/ipfilter/ipsend \
+ -I${.CURDIR}/../../../contrib/ipfilter/iplang \
+ -I${.CURDIR}/../../../contrib/ipfilter
+
+LDADD+= -lfl
+DPADD+= ${LIBFL}
+
+CLEANFILES+= y.tab.h
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud