MP probe: Get rid of cpu_apic_address
[dragonfly.git] / share / zoneinfo / Makefile
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 $
3
4 CLEANFILES+=    yearistype
5
6 .if defined(LEAPSECONDS)
7 LEAPFILE=       -L leapseconds
8 .else
9 LEAPFILE=
10 .endif
11
12 TZFILES=        africa antarctica asia australasia etcetera europe \
13                 factory northamerica southamerica systemv
14 POSIXRULES=     America/New_York
15
16 .if defined(OLDTIMEZONES)
17 TZFILES+=       backward
18 .endif
19
20 .if exists(${.OBJDIR}/yearistype)
21 YEARISTYPE=     ${.OBJDIR}/yearistype
22 .else
23 YEARISTYPE=     ${.CURDIR}/yearistype
24 .endif
25
26 FILES=                  iso3166.tab zone.tab
27 FILESDIR_iso3166.tab=   ${SHAREDIR}/misc
28 FILESNAME_iso3166.tab=  iso3166
29 FILESDIR_zone.tab=      ${SHAREDIR}/zoneinfo
30
31 all: yearistype
32
33 yearistype: yearistype.sh
34         cp ${.ALLSRC} ${.TARGET}
35         chmod +x ${.TARGET}
36
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}
42
43 .include <bsd.prog.mk>