29 lines
513 B
Makefile
29 lines
513 B
Makefile
# $NetBSD: Makefile,v 1.26 2019/10/13 07:28:15 mrg Exp $
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
USE_FORT?= yes # setuid
|
|
PROG= fstat
|
|
SRCS= fstat.c isofs.c ntfs.c ptyfs.c tmpfs.c misc.c
|
|
DPADD= ${LIBKVM}
|
|
LDADD= -lkvm
|
|
BINGRP= kmem
|
|
BINMODE=2555
|
|
|
|
CPPFLAGS+= -I${NETBSDSRCDIR}/sys
|
|
|
|
.if (${USE_INET6} != "no")
|
|
CPPFLAGS+=-DINET6
|
|
.endif
|
|
CPPFLAGS+=-D_KMEMUSER
|
|
|
|
LDADD+=-lutil
|
|
DPADD+=${LIBUTIL}
|
|
|
|
.include "../../compat/exec.mk"
|
|
|
|
COPTS.fstat.c+= ${GCC_NO_FORMAT_TRUNCATION}
|
|
|
|
.include <bsd.prog.mk>
|