Makefile revision 1.20
11.20Schristos# $NetBSD: Makefile,v 1.20 2017/01/06 17:25:32 christos Exp $ 21.9Slukem 31.11Schristos.include "Makefile.inc" 41.13Sapb.include <bsd.own.mk> 51.11Schristos 61.11SchristosCOPTS.zic.c += -Wno-format-nonliteral 71.7Slukem 81.1SjtcPROG= zic 91.16SchristosSRCS= zic.c 101.1SjtcMAN= zic.8 111.20Schristos.if !empty(TOOL_CAT:M*/*) && !exists(${TOOL_CAT}) 121.20SchristosTZVERSION=0 131.20Schristos.else 141.19SchristosTZVERSION!= ${TOOL_CAT} ${NETBSDSRCDIR}/lib/libc/time/version 151.20Schristos.endif 161.15SchristosCPPFLAGS+=-DPKGVERSION='"(tzcode) "' -DTZVERSION='"${TZVERSION}"' 171.1Sjtc 181.7Slukem.PATH: ${NETBSDSRCDIR}/lib/libc/time 191.6Smrg 201.18Schristos.if !defined(HOSTPROG) 211.17SchristosLDADD+=-lutil 221.17SchristosDPADD+=${LIBUTIL} 231.18Schristos.endif 241.17Schristos 251.20Schristosfoo: 261.20Schristos echo ${TZVERSION} 271.20Schristos 281.2Sjtc.include <bsd.prog.mk> 29