Makefile revision 1.15
1#	$NetBSD: Makefile,v 1.15 2010/11/11 22:56:38 pooka Exp $
2#	@(#)Makefile	8.1 (Berkeley) 6/5/93
3
4USE_FORT?= yes	# setuid
5PROG=	ping
6MAN=	ping.8
7BINOWN=	root
8BINMODE=4555
9LDADD=	-lm
10DPADD=	${LIBM}
11CPPFLAGS+=	-DIPSEC
12LDADD+= -lipsec
13DPADD+= ${LIBIPSEC}
14
15#
16# Compile-time debug flag.  If compiled with "make RUMP_ACTION=1",
17# make rump system calls.  This allows to single-step ioctl commands
18# to figure out where ioctl's go in the kernel.
19#
20.ifdef RUMP_ACTION
21CPPFLAGS+=      -DRUMP_SYS_NETWORKING -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE
22CPPFLAGS+=      -DRUMP_ACTION
23LDADD+=         -lrumpclient
24DBG=            -g
25.endif
26
27.include <bsd.prog.mk>
28