devfsctl - Add userfriendliness; correct #include
[dragonfly.git] / usr.sbin / ipsend / Makefile
blob1263bf5c6b2a125b9eb12036034f3879bc3afd60
1 # $FreeBSD: src/usr.sbin/ipsend/Makefile,v 1.8.2.3 2001/11/14 14:15:05 guido Exp $
2 # $DragonFly: src/usr.sbin/ipsend/Makefile,v 1.8 2004/07/28 00:22:37 hmp Exp $
4 .PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
5 ${.CURDIR}/../../contrib/ipfilter/iplang \
6 ${.CURDIR}/../../contrib/ipfilter
8 PROG= ipsend
9 SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l \
10 y.tab.h
11 MAN= ipsend.1 ipsend.5
12 WARNS?= 1
14 CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
15 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
16 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
17 CFLAGS+=-I. -I${.CURDIR}/../../contrib/ipfilter/ipsend \
18 -I${.CURDIR}/../../contrib/ipfilter/iplang \
19 -I${.CURDIR}/../../contrib/ipfilter
21 #Define __FreeBSD__ as is needed when building with gcc3.
22 CFLAGS+=-D__FreeBSD__
24 DPADD= ${LIBL}
25 LDADD= -ll
27 .include <bsd.prog.mk>