summaryrefslogtreecommitdiff
path: root/usr.sbin/ipf/ipsend/Makefile
blob: 590ac77b7bde49a98ee4fac160902a59579e2340 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#	$NetBSD: Makefile,v 1.15 2002/09/18 03:54:31 lukem Exp $

.include <bsd.own.mk>

PROG=	ipsend
SRCS=	ipsend.c ip.c ipsopt.c iplang_l.l iplang_y.y sbpf.c sock.c 44arp.c
YHEADER=1
LDADD=	-ll
DPADD=	${LIBL}

CPPFLAGS+= -I.  -I${NETBSDSRCDIR}/dist/ipf \
		-I${NETBSDSRCDIR}/dist/ipf/ipsend \
		-I${NETBSDSRCDIR}/dist/ipf/iplang

MAN=	ipsend.1 ipsend.5

.PATH:	${NETBSDSRCDIR}/dist/ipf/ipsend \
	${NETBSDSRCDIR}/dist/ipf/iplang

# XXX
# We have a problem with make and linking ipsend
# cc   -o /home/source/src/usr.sbin/ipf/ipsend/../../../dist/ipf/ipsend .....
# isn't correct.
# Use .NOPATH as an workaround for that problem
.NOPATH: ipsend

.include <bsd.prog.mk>