1#	$NetBSD: Makefile,v 1.2 2012/03/24 02:08:34 christos Exp $
2
3.include <bsd.own.mk>
4.include "../Makefile.inc"
5
6PROG=		ipresend
7SRCS=		ipresend.c ip.c resend.c sbpf.c sock.c 44arp.c
8MAN=		ipresend.1
9
10CPPFLAGS+=	-I. -I${.CURDIR}/../ipsend -I${NETBSDSRCDIR}/sys 
11.PATH:		${UDIST}/ipsend
12
13# There is some very dubious code to locate the values of
14# tcb.rcv_adv, tcb.snd_nxt and tcb.rcv_nxt for a socket.
15CPPFLAGS+=	-D_KMEMUSER
16
17#.BEGIN:
18#	rm -f machine x86
19#	ln -s ${NETBSDSRCDIR}/sys/arch/${MACHINE}/include machine
20#	ln -s ${NETBSDSRCDIR}/sys/arch/x86/include x86
21
22.include <bsd.prog.mk>
23