Home | History | Annotate | Line # | Download | only in ping
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 
      4 USE_FORT?= yes	# setuid
      5 PROG=	ping
      6 MAN=	ping.8
      7 BINOWN=	root
      8 BINMODE=4555
      9 LDADD=	-lm
     10 DPADD=	${LIBM}
     11 CPPFLAGS+=	-DIPSEC
     12 LDADD+= -lipsec
     13 DPADD+= ${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
     21 CPPFLAGS+=      -DRUMP_SYS_NETWORKING -DRUMP_SYS_IOCTL -DRUMP_SYS_CLOSE
     22 CPPFLAGS+=      -DRUMP_ACTION
     23 LDADD+=         -lrumpclient
     24 DBG=            -g
     25 .endif
     26 
     27 .include <bsd.prog.mk>
     28