blob: 53df48ebab70e0893de3d5376aaf1eeff3ac6326 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# "etcetera" must be listed before "backward" because it sets up links that
# "backward" needs.
TZFILES= africa \
antarctica \
asia \
australasia \
etcetera \
europe \
factory \
northamerica \
southamerica \
backward
# Don't build the systemv timezones, but do install the source file.
SRCFILES= $(TZFILES) systemv README
TABFILES= continent.tab country.tab zone_sun.tab
include $(SRC)/data/Makefile.data
ROOTTZD= $(ROOTSHLIB)/zoneinfo
ROOTTZSRCD= $(ROOTSHLIB)/zoneinfo/src
ROOTTZTABD= $(ROOTSHLIB)/zoneinfo/tab
DIRS= $(ROOTTZSRCD) $(ROOTTZTABD)
ROOTLIBTZSRCFILES=$(SRCFILES:%=$(ROOTTZSRCD)/%)
ROOTLIBTZTABFILES=$(TABFILES:%=$(ROOTTZTABD)/%)
$(ROOTLIBTZSRCFILES):=FILEMODE=0644
$(ROOTLIBTZTABFILES):=FILEMODE=0644
# Message catalog
TEXT_DOMAIN= SUNW_OST_ZONEINFO
MSGDOMAIN= $(MSGROOT)/$(TEXT_DOMAIN)
POFILE= zoneinfo.po
.KEEP_STATE:
all: $(TZFILES) $(TABFILES)
install: $(DIRS) $(ROOTTZSRCD) $(ROOTTZTABD) $(ROOTLIBTZSRCFILES) \
$(ROOTLIBTZTABFILES)
$(ZIC) -d $(ROOTTZD) $(TZFILES)
$(ROOTTZSRCD)/%: %
$(INS.file)
$(ROOTTZTABD)/%: %
$(INS.file)
$(DIRS):
$(INS.dir)
clean:
# For message catalogue files
_msg: $(MSGDOMAIN) $(POFILE)
$(RM) $(MSGDOMAIN)/$(POFILE)
$(CP) $(POFILE) $(MSGDOMAIN)/$(POFILE)
$(MSGDOMAIN):
$(INS.dir)
$(POFILE): $(TABFILES) do_pofile.sh
$(RM) $@
@/bin/sh do_pofile.sh > $@
update: FRC
./update_manifest $(TZFILES)
FRC:
include $(SRC)/data/Makefile.targ
|