1# $FreeBSD: src/share/zoneinfo/Makefile,v 1.16.2.3 2002/08/07 16:31:52 ru Exp $ 2 3CLEANFILES+= yearistype 4 5.if defined(LEAPSECONDS) 6LEAPFILE= -L leapseconds 7.else 8LEAPFILE= 9.endif 10 11TZFILES= africa antarctica asia australasia etcetera europe \ 12 northamerica southamerica systemv 13POSIXRULES= America/New_York 14 15.if defined(OLDTIMEZONES) 16TZFILES+= backward 17.endif 18 19.if exists(${.OBJDIR}/yearistype) 20YEARISTYPE= ${.OBJDIR}/yearistype 21.else 22YEARISTYPE= ${.CURDIR}/yearistype 23.endif 24 25FILES= iso3166.tab zone.tab 26FILESDIR_iso3166.tab= ${SHAREDIR}/misc 27FILESNAME_iso3166.tab= iso3166 28FILESDIR_zone.tab= ${SHAREDIR}/zoneinfo 29 30all: yearistype 31 32yearistype: yearistype.sh 33 cp ${.ALLSRC} ${.TARGET} 34 chmod +x ${.TARGET} 35 36beforeinstall: 37 umask 022; cd ${.CURDIR}; \ 38 zic -D -d ${DESTDIR}/usr/share/zoneinfo -p ${POSIXRULES} \ 39 -u ${BINOWN} -g ${BINGRP} \ 40 ${LEAPFILE} -y ${YEARISTYPE} ${TZFILES} 41 42.include <bsd.prog.mk> 43