Emulate __FreeBSD__ till 3rd party applications later add in DragonFly
[dragonfly.git] / usr.sbin / ipsend / Makefile
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.7 2004/07/23 18:15:08 drhodus Exp $
3
4 .PATH:  ${.CURDIR}/../../contrib/ipfilter/ipsend \
5         ${.CURDIR}/../../contrib/ipfilter/iplang \
6         ${.CURDIR}/../../contrib/ipfilter
7
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
13 CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6 \
14         -I. -I${.CURDIR}/../../sys/contrib/ipfilter/netinet \
15         -I${.CURDIR}/../../contrib/ipfilter/ipsend \
16         -I${.CURDIR}/../../contrib/ipfilter/iplang \
17         -I${.CURDIR}/../../contrib/ipfilter
18
19 #Define __FreeBSD__ as is needed when building with gcc3.
20 CFLAGS+=-D__FreeBSD__
21
22 DPADD=  ${LIBL}
23 LDADD=  -ll
24
25 .include <bsd.prog.mk>