1 # $FreeBSD: src/share/zoneinfo/Makefile,v 1.16.2.3 2002/08/07 16:31:52 ru Exp $
2 # $DragonFly: src/share/zoneinfo/Makefile,v 1.3 2008/03/02 14:28:37 swildner Exp $
4 CLEANFILES+= yearistype
6 .if defined(LEAPSECONDS)
7 LEAPFILE= -L leapseconds
12 TZFILES= africa antarctica asia australasia etcetera europe \
13 factory northamerica southamerica systemv
14 POSIXRULES= America/New_York
16 .if defined(OLDTIMEZONES)
20 .if exists(${.OBJDIR}/yearistype)
21 YEARISTYPE= ${.OBJDIR}/yearistype
23 YEARISTYPE= ${.CURDIR}/yearistype
26 FILES= iso3166.tab zone.tab
27 FILESDIR_iso3166.tab= ${SHAREDIR}/misc
28 FILESNAME_iso3166.tab= iso3166
29 FILESDIR_zone.tab= ${SHAREDIR}/zoneinfo
33 yearistype: yearistype.sh
34 cp ${.ALLSRC} ${.TARGET}
38 umask 022; cd ${.CURDIR}; \
39 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \
40 -u ${BINOWN} -g ${BINGRP} \
41 ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES}
43 .include <bsd.prog.mk>