summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ipsend
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-03-21 13:53:18 +0000
committerpeter <peter@FreeBSD.org>1998-03-21 13:53:18 +0000
commit52325b15956a60ed8907cc3b370f71a5473b5eb7 (patch)
treecb1ccb3c5e62d0fdd5b608b49730c11cdaca531d /usr.sbin/ipsend
parent8643af65b3b3c2f3c8642ed97b509ad4d9840b5a (diff)
downloadFreeBSD-src-52325b15956a60ed8907cc3b370f71a5473b5eb7.zip
FreeBSD-src-52325b15956a60ed8907cc3b370f71a5473b5eb7.tar.gz
Initial bmake scaffolding for ipfilter userland stuff.
Obtained from: large chunks stolen from OpenBSD and NetBSD
Diffstat (limited to 'usr.sbin/ipsend')
-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