#	@(#)Makefile	5.9 (Berkeley) 2/28/91

# Change the line below for your time zone (after finding the zone you want in
# the time zone files, or adding it to a time zone file).
# Alternately, if you discover you've got the wrong time zone, you can just
#	zic -l rightzone

LOCALTIME=	MET

# If you want something other than Eastern United States time as a template
# for handling POSIX-style time zone environment variables,
# change the line below (after finding the zone you want in the
# time zone files, or adding it to a time zone file).
# Alternately, if you discover you've got the wrong time zone, you can just
#	zic -p rightzone

POSIXRULES=	MET

# Use an absolute path name for TZDIR unless you're just testing the software.

TZDIR=	s:zoneinfo

# If you always want time values interpreted as "seconds since the epoch
# (not counting leap seconds)", use
# 	REDO=		posix_only
# below.  If you always want right time values interpreted as "seconds since
# the epoch" (counting leap seconds)", use
#	REDO=		right_only
# below.  If you want both sets of data available, with leap seconds not
# counted normally, use
#	REDO=		posix_right
# below.  If you want both sets of data available, with leap seconds counted
# normally, use
#	REDO=		right_posix
# below.

# This should be left as is for the Amiga

REDO=		posix_only

YDATA=	africa antarctica asia australasia europe northamerica \
	southamerica pacificnew etcetera factory
NDATA=	systemv
#SDATA=	solar87 solar88 solar89
TDATA=	${YDATA} ${NDATA} ${SDATA}
DATA=	${YDATA} ${NDATA} ${SDATA} leapseconds
USNO=	usno1988 usno1989

all: $(REDO)

posix_only: ${TDATA}
	    /zic -d ${TZDIR} -L nil: ${TDATA}

right_only: leapseconds ${TDATA}
	    /zic -d ${TZDIR} -L leapseconds ${TDATA}

other_two: leapseconds ${TDATA}
	    /zic -d ${TZDIR} -L leapseconds ${TDATA}
	    /zic -d ${TZDIR} -L nil: ${TDATA}

posix_right: posix_only other_two

right_posix: right_only other_two

install: ${TDATA} ${REDO}
	/zic -d ${TZDIR} -p ${POSIXRULES}
	/zic -d ${TZDIR} -l ${LOCALTIME}
