1 1.9 mrg # $NetBSD: Makefile,v 1.9 2019/02/04 09:51:47 mrg Exp $ 2 1.1 atatat 3 1.1 atatat PROG= stat 4 1.4 lukem 5 1.5 agc .if !defined(HOSTPROG) 6 1.2 atatat LINKS= ${BINDIR}/stat ${BINDIR}/readlink 7 1.2 atatat MLINKS= stat.1 readlink.1 8 1.4 lukem .endif 9 1.1 atatat 10 1.9 mrg .include <bsd.own.mk> 11 1.9 mrg 12 1.9 mrg # Has fallthru comment that is missed 13 1.9 mrg .if defined(HAVE_GCC) && ${HAVE_GCC} == 7 && ${ACTIVE_CC} == "gcc" 14 1.9 mrg COPTS.stat.c+= -Wno-error=implicit-fallthrough 15 1.9 mrg .endif 16 1.9 mrg 17 1.8 christos COPTS.stat.c += -Wno-format-nonliteral 18 1.8 christos 19 1.1 atatat .include <bsd.prog.mk> 20