1 1.13 apb # $NetBSD: Makefile,v 1.13 2013/03/05 13:42:04 apb Exp $ 2 1.9 lukem 3 1.11 christos .include "Makefile.inc" 4 1.13 apb .include <bsd.own.mk> 5 1.11 christos 6 1.11 christos COPTS.zic.c += -Wno-format-nonliteral 7 1.11 christos COPTS.scheck.c += -Wno-format-nonliteral 8 1.7 lukem 9 1.13 apb .if defined(HAVE_GCC) && ${HAVE_GCC} < 45 10 1.13 apb # gcc-4.1 says: 11 1.13 apb # "warning: comparison is always false due to limited range of data type" 12 1.13 apb # and there is no -Wno-foo option to suppress that warning. 13 1.13 apb # 14 1.13 apb COPTS.zic.c+= ${${ACTIVE_CC} == "gcc" :? -Wno-error :} 15 1.13 apb .endif # HAVE_GCC < 45 16 1.1 jtc 17 1.1 jtc PROG= zic 18 1.1 jtc SRCS= zic.c scheck.c ialloc.c 19 1.1 jtc MAN= zic.8 20 1.5 enami CPPFLAGS+=-Dunix 21 1.1 jtc 22 1.7 lukem .PATH: ${NETBSDSRCDIR}/lib/libc/time 23 1.6 mrg 24 1.2 jtc .include <bsd.prog.mk> 25