xref: /titanic_52/usr/src/data/zoneinfo/Makefile (revision 743cf22567cc013b3c62c1efae0455fa7c838c60)
15d0e1406SMarcel Telka#
25d0e1406SMarcel Telka# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
35d0e1406SMarcel Telka# Use is subject to license terms.
45d0e1406SMarcel Telka#
55d0e1406SMarcel Telka
65d0e1406SMarcel Telka# "etcetera" must be listed before "backward" because it sets up links that
75d0e1406SMarcel Telka# "backward" needs.
85d0e1406SMarcel TelkaTZFILES=	africa \
95d0e1406SMarcel Telka		antarctica \
105d0e1406SMarcel Telka		asia \
115d0e1406SMarcel Telka		australasia \
125d0e1406SMarcel Telka		etcetera \
135d0e1406SMarcel Telka		europe \
145d0e1406SMarcel Telka		factory \
155d0e1406SMarcel Telka		northamerica \
165d0e1406SMarcel Telka		southamerica \
175d0e1406SMarcel Telka		backward
185d0e1406SMarcel Telka
195d0e1406SMarcel Telka# Don't build the systemv timezones, but do install the source file.
205d0e1406SMarcel TelkaSRCFILES=	$(TZFILES) systemv README
215d0e1406SMarcel TelkaTABFILES=	continent.tab country.tab zone_sun.tab
225d0e1406SMarcel Telka
235d0e1406SMarcel Telkainclude		$(SRC)/data/Makefile.data
245d0e1406SMarcel Telka
255d0e1406SMarcel TelkaROOTTZD=	$(ROOTSHLIB)/zoneinfo
265d0e1406SMarcel TelkaROOTTZSRCD=	$(ROOTSHLIB)/zoneinfo/src
275d0e1406SMarcel TelkaROOTTZTABD=	$(ROOTSHLIB)/zoneinfo/tab
285d0e1406SMarcel TelkaDIRS=		$(ROOTTZSRCD) $(ROOTTZTABD)
295d0e1406SMarcel Telka
305d0e1406SMarcel TelkaROOTLIBTZSRCFILES=$(SRCFILES:%=$(ROOTTZSRCD)/%)
315d0e1406SMarcel TelkaROOTLIBTZTABFILES=$(TABFILES:%=$(ROOTTZTABD)/%)
325d0e1406SMarcel Telka
335d0e1406SMarcel Telka$(ROOTLIBTZSRCFILES):=FILEMODE=0644
345d0e1406SMarcel Telka$(ROOTLIBTZTABFILES):=FILEMODE=0644
355d0e1406SMarcel Telka
365d0e1406SMarcel Telka# Message catalog
375d0e1406SMarcel TelkaTEXT_DOMAIN=	SUNW_OST_ZONEINFO
385d0e1406SMarcel TelkaMSGDOMAIN=	$(MSGROOT)/$(TEXT_DOMAIN)
395d0e1406SMarcel TelkaPOFILE=		zoneinfo.po
405d0e1406SMarcel Telka
415d0e1406SMarcel Telka.KEEP_STATE:
425d0e1406SMarcel Telka
435d0e1406SMarcel Telkaall:		$(TZFILES) $(TABFILES)
445d0e1406SMarcel Telka
455d0e1406SMarcel Telkainstall:	$(DIRS) $(ROOTTZSRCD) $(ROOTTZTABD) $(ROOTLIBTZSRCFILES) \
465d0e1406SMarcel Telka		$(ROOTLIBTZTABFILES)
475d0e1406SMarcel Telka		$(ZIC) -d $(ROOTTZD) $(TZFILES)
485d0e1406SMarcel Telka
495d0e1406SMarcel Telka$(ROOTTZSRCD)/%: %
505d0e1406SMarcel Telka		$(INS.file)
515d0e1406SMarcel Telka
525d0e1406SMarcel Telka$(ROOTTZTABD)/%: %
535d0e1406SMarcel Telka		$(INS.file)
545d0e1406SMarcel Telka
555d0e1406SMarcel Telka$(DIRS):
565d0e1406SMarcel Telka		$(INS.dir)
575d0e1406SMarcel Telka
585d0e1406SMarcel Telkaclean:
595d0e1406SMarcel Telka
605d0e1406SMarcel Telka# For message catalogue files
615d0e1406SMarcel Telka_msg:		$(MSGDOMAIN) $(POFILE)
625d0e1406SMarcel Telka		$(RM) $(MSGDOMAIN)/$(POFILE)
635d0e1406SMarcel Telka		$(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE)
645d0e1406SMarcel Telka
655d0e1406SMarcel Telka$(MSGDOMAIN):
665d0e1406SMarcel Telka		$(INS.dir)
675d0e1406SMarcel Telka
685d0e1406SMarcel Telka$(POFILE):	$(TABFILES) do_pofile.sh
695d0e1406SMarcel Telka		$(RM) $@
705d0e1406SMarcel Telka		@/bin/sh do_pofile.sh > $@
715d0e1406SMarcel Telka
72*743cf225SAndy Fiddamanupdate:		FRC
73*743cf225SAndy Fiddaman		./update_manifest $(TZFILES)
74*743cf225SAndy Fiddaman
75*743cf225SAndy FiddamanFRC:
76*743cf225SAndy Fiddaman
775d0e1406SMarcel Telkainclude		$(SRC)/data/Makefile.targ
78