freebsd-dev/usr.sbin/ipsend/Makefile
Ruslan Ermilov 2107b6c68e Backout previous change (removal of -I${.CURDIR}/../../sys/netinet).
This is needed to pick up the right headers.  Wrong headers from
src/contrib/ipfilter are used otherwise.

The right fix would be to fix contrib/ipfilter C sources to pick up
headers from <sys/netinet>.

Noticed by:	peter
2001-06-11 17:41:58 +00:00

25 lines
577 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../contrib/ipfilter/ipsend \
${.CURDIR}/../../contrib/ipfilter/iplang \
${.CURDIR}/../../contrib/ipfilter
PROG= ipsend
SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l \
y.tab.h
MAN= ipsend.1 ipsend.5
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" \
-DUSE_INET6 \
-I- -I. -I${.CURDIR}/../../sys/netinet \
-I${.CURDIR}/../../contrib/ipfilter/ipsend \
-I${.CURDIR}/../../contrib/ipfilter/iplang \
-I${.CURDIR}/../../contrib/ipfilter
DPADD= ${LIBL}
LDADD= -ll
MAINTAINER= guido@freebsd.org
.include <bsd.prog.mk>