{read,write}.2: A bit more cleanup. Also add ext*() MLINKS.
[dragonfly.git] / share / zoneinfo / Makefile
blobaa20ba6ca4204fe97c4efdde9933b40794ecbc26
1 # $FreeBSD: src/share/zoneinfo/Makefile,v 1.16.2.3 2002/08/07 16:31:52 ru Exp $
3 CLEANFILES+= yearistype
5 .if defined(LEAPSECONDS)
6 LEAPFILE= -L leapseconds
7 .else
8 LEAPFILE=
9 .endif
11 TZFILES= africa antarctica asia australasia etcetera europe \
12 northamerica southamerica systemv
13 TZFILES+= dragonfly
14 POSIXRULES= America/New_York
16 .if defined(OLDTIMEZONES)
17 TZFILES+= backward
18 .endif
20 .if exists(${.OBJDIR}/yearistype)
21 YEARISTYPE= ${.OBJDIR}/yearistype
22 .else
23 YEARISTYPE= ${.CURDIR}/yearistype
24 .endif
26 FILES= iso3166.tab zone.tab
27 FILESDIR_iso3166.tab= ${SHAREDIR}/misc
28 FILESNAME_iso3166.tab= iso3166
29 FILESDIR_zone.tab= ${SHAREDIR}/zoneinfo
31 all: yearistype
33 yearistype: yearistype.sh
34 cp ${.ALLSRC} ${.TARGET}
35 chmod +x ${.TARGET}
37 beforeinstall:
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>