Cross Reference: Makefile
xref: /src/usr.sbin/zic/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/usr.sbin/zic/
11.22Schristos#	$NetBSD: Makefile,v 1.22 2022/10/29 13:53:19 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.21SchristosCPPFLAGS+=-DZIC_BLOAT_DEFAULT='"slim"'
181.1Sjtc
191.7Slukem.PATH: ${NETBSDSRCDIR}/lib/libc/time
201.6Smrg
211.18Schristos.if !defined(HOSTPROG)
221.22SchristosLDADD+=-lintl -lutil
231.22SchristosDPADD+=${LIBINTL} ${LIBUTIL}
241.18Schristos.endif
251.17Schristos
261.20Schristosfoo:
271.20Schristos	echo ${TZVERSION}
281.20Schristos
291.2Sjtc.include <bsd.prog.mk>
30

Indexes created Mon Nov 10 17:20:41 GMT 2025