NetBSD/usr.bin/sockstat/Makefile

20 lines
449 B
Makefile

# $NetBSD: Makefile,v 1.7 2020/08/26 22:57:55 christos Exp $
.include <bsd.own.mk>
RUMPPRG= sockstat
.PATH: ${.CURDIR}/../../lib/libc/gen
CPPFLAGS+= -DRUMP_ACTION
RUMPSRCS+= sysctlgetmibinfo.c sysctlnametomib.c
SANITIZER_RENAME_CLASSES+= rump
SANITIZER_RENAME_FILES.rump+= ${PROG}_rumpops.c ${RUMPSRCS}
SANITIZER_RENAME_SYMBOL.rump+= sysctlgetmibinfo sysctlnametomib
.if (${USE_INET6} != "no")
CPPFLAGS+=-DINET6
.endif
.include <bsd.prog.mk>