Sync getcap() with FreeBSD:
[dragonfly.git] / usr.sbin / ipsend / Makefile
blobc784d07a003661255f6d4bbf80b1592b437c1b1d
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
13 CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
14 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
15 CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
16 CFLAGS+=-I. -I${.CURDIR}/../../contrib/ipfilter/ipsend \
17 -I${.CURDIR}/../../contrib/ipfilter/iplang \
18 -I${.CURDIR}/../../contrib/ipfilter
20 #Define __FreeBSD__ as is needed when building with gcc3.
21 CFLAGS+=-D__FreeBSD__
23 DPADD= ${LIBL}
24 LDADD= -ll
26 .include <bsd.prog.mk>