Merge from vendor branch TCSH:
[dragonfly.git] / usr.sbin / ipsend / Makefile
CommitLineData
984263bc 1# $FreeBSD: src/usr.sbin/ipsend/Makefile,v 1.8.2.3 2001/11/14 14:15:05 guido Exp $
91865926 2# $DragonFly: src/usr.sbin/ipsend/Makefile,v 1.8 2004/07/28 00:22:37 hmp Exp $
984263bc
MD
3
4.PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
5 ${.CURDIR}/../../contrib/ipfilter/iplang \
6 ${.CURDIR}/../../contrib/ipfilter
7
8PROG= ipsend
9SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l \
10 y.tab.h
11MAN= ipsend.1 ipsend.5
12
91865926
HP
13CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
14CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
15CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
16CFLAGS+=-I. -I${.CURDIR}/../../contrib/ipfilter/ipsend \
984263bc
MD
17 -I${.CURDIR}/../../contrib/ipfilter/iplang \
18 -I${.CURDIR}/../../contrib/ipfilter
19
edf7ab51
DR
20#Define __FreeBSD__ as is needed when building with gcc3.
21CFLAGS+=-D__FreeBSD__
22
984263bc
MD
23DPADD= ${LIBL}
24LDADD= -ll
25
984263bc 26.include <bsd.prog.mk>