/*
** 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.
**	16-may-2002 (hanch04)
**		Make sure the lp64 dir keeps the correct permissions
**	21-may-2002 (hanch04)
**		Remove debuging stuff left in by mistake.
*/

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)

$(INGUTIL)/$(PROG1PRFX)zic :: iizic.c $(COMPAT)
$(INGUTIL)/$(PROG1PRFX)zck :: iizck.c $(COMPAT)

files :	
   	@
	echo $(IIZIC) -d $(INGZONE) iiworld.tz
	$(IIZIC) -d $(INGZONE) iiworld.tz 
	$(CHMOD) $(FILEMODE) $(INGZONE)/?*/?*
	$(CHMOD) $(DIRMODE) $(INGZONE)/lp64 
	$(CHMOD) $(DIRMODE) $(INGZONE)/lp64/?*

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