Home | History | Annotate | Line # | Download | only in stat
Makefile revision 1.8.42.1
      1 #	$NetBSD: Makefile,v 1.8.42.1 2019/06/10 22:10:24 christos Exp $
      2 
      3 PROG=	stat
      4 
      5 .if !defined(HOSTPROG)
      6 LINKS=	${BINDIR}/stat ${BINDIR}/readlink
      7 MLINKS=	stat.1 readlink.1
      8 .endif
      9 
     10 .include <bsd.own.mk>
     11 
     12 # Has fallthru comment that is missed
     13 .if !defined(HOSTPROG) && defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc"
     14 COPTS.stat.c+=	-Wno-error=implicit-fallthrough
     15 .endif
     16 
     17 COPTS.stat.c += -Wno-format-nonliteral
     18 
     19 .include <bsd.prog.mk>
     20