2001-10-05 05:17:27 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 2001/10/05 01:17:31 jmc Exp $
|
1999-01-10 16:50:35 +03:00
|
|
|
|
|
|
|
PROG= netstat
|
|
|
|
SRCS= if.c inet.c main.c mbuf.c route.c
|
|
|
|
|
1999-06-21 05:19:36 +04:00
|
|
|
SRCDIR= ${.CURDIR}/../../../usr.bin/netstat
|
1999-01-10 16:50:35 +03:00
|
|
|
CPPFLAGS+= -DSMALL -I${SRCDIR}
|
2001-08-20 16:19:43 +04:00
|
|
|
.if ${MACHINE_ARCH} != "sparc64"
|
2001-10-05 05:17:27 +04:00
|
|
|
DBG= -Os
|
2001-08-20 16:19:43 +04:00
|
|
|
.endif
|
1999-01-10 16:50:35 +03:00
|
|
|
LDADD= -lkvm
|
2000-05-18 05:10:22 +04:00
|
|
|
LDSTATIC?=-static
|
1999-01-10 16:50:35 +03:00
|
|
|
DPADD= ${LIBKVM}
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1999-01-10 16:50:35 +03:00
|
|
|
BINOWN= root
|
|
|
|
BINMODE=4555
|
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1999-05-23 14:25:43 +04:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|