/*
** Build timezone information files
**
** History:
**	01-oct-1992 (stevet)
**  	    	Created.
**	07-oct-1992 (bonobo)
**		Added rules to create tmtz.o.
**	30-oct-1992 (stevet)
**		Renamed file from MINGS to MINH so that TMGL can be built 
**		directly.
**      09-mar-1993 (stevet)
**              Added iizck.
**	31-mar-93 (vijay)
**		Set the right permissions on the created files.
**	31-mar-93 (vijay)
**		oops, use ming variables for chmod etc.
**	05-may-93 (vijay)
**		Add PIC flag, since this will be linking with front ends.
**  	14-sep-1993 (stevet)
**              Removed CHMOD since zoneinfo only have directory files.
**	27-oct-93 (vijay)
**		Add CHMOD to change mode on zoneinfo/?* /?* files. Else, when
**		we do buildrel, we may end up with a wrong permissions
**		on the files, depending on the umask. Need the '?' to force
**		ming not to confuse this with comments.
**	24-apr-2000 (somsa01)
**		Updated program name to account for different products.
**	02-may-2002 (somsa01)
**		Branched for 64-bit builds.
*/

HDR1 = $(ING_SRC)/gl/glf/$(ING_VERS)/hdr
HDR2 = $(ING_SRC)/cl/hdr/$(ING_VERS)/hdr
HDR3 = $(ING_SRC)/cl/clf/$(ING_VERS)/hdr

CCDEFS += $(CCPICFLAG)

$(INGUTIL64)/$(PROG1PRFX)zic :: iizic.c $(COMPAT64)
$(INGUTIL64)/$(PROG1PRFX)zck :: iizck.c $(COMPAT64)

files :	
   	@
	echo $(INGUTIL64)/$(PROG1PRFX)zic -d $(INGZONE)/lp64 iiworld.tz
	$(INGUTIL64)/$(PROG1PRFX)zic -d $(INGZONE)/lp64 iiworld.tz 
	$(CHMOD) $(FILEMODE) $(INGZONE)/lp64/?*/?*

SPECFILES =
$(COMPAT64:T=N)$(:E=COMPAT64 undefined)
$(COMPAT64) :: .ARCHIVE tmtz.c
$(COMPAT64) :: .ARCHIVE tmtzstr.c
$(COMPAT64) :: .ARCHIVE tmtzbreak.c
