Makefile revision 86cd95d530af3f6114d62965ed5d646783015345
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync# This file and its contents are supplied under the terms of the
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Common Development and Distribution License ("CDDL"), version 1.0.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# You may only use this file in accordance with the terms of version
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# 1.0 of the CDDL.
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync#
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# A full copy of the text of the CDDL should have accompanied this
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# source. A copy of the CDDL is also available via the Internet at
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# http://www.illumos.org/license/CDDL.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync#
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Copyright 2011 Nexenta Systems, Inc. All rights reserved.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Copyright 2011 EveryCity Ltd. All rights reserved.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Copyright 2013 DEY Storage Systems, Inc.
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Copyright 2015 Joyent, Inc.
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync#
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncPROG=localedef
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncNDIR=native
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncNPROG=$(NDIR)/localedef
9f72be0517ae135bdd3e6ee140d3321b40aeb6e7vboxsync
18b80092844ac2b9171ddf150c54eefda051d771vboxsyncinclude ../Makefile.cmd
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncOBJS = charmap.o collate.o ctype.o messages.o monetary.o numeric.o time.o \
00031748183bd40981c72a07e5248a1a57efa171vboxsync scanner.o localedef.o wide.o parser.tab.o
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncNOBJS = $(OBJS:%.o=native/%.o) native/avl.o native/mkdirp.o
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncHDRS = localedef.h
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncSRCS = $(OBJS:%.o=%.c)
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsync
0ae258e7d0d2520036514d896a9eea58bf285f03vboxsyncCPPFLAGS += -I $(SRC)/lib/libc/port/locale
40b38a663dc0fd3003f7cdb0a69a01959d79b1f0vboxsyncNATIVE_CPPFLAGS += -I $(SRC)/lib/libc/port/locale
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsyncCERRWARN += -_gcc=-Wno-char-subscripts
9161d9a8318db73b2848c1feaef3880980474e64vboxsyncCERRWARN += -_gcc=-Wno-uninitialized
04e845ee9ef813501cd2570a4188cb852d170408vboxsyncCERRWARN += -_gcc=-Wno-unused-label
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncLDLIBS += -lgen
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncLDLIBS += -lavl
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsync
8bf8c6b1914c9e7e60b1547888400668f1774497vboxsyncNATIVELDLIBS=
04e845ee9ef813501cd2570a4188cb852d170408vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncYFLAGS = -d -b parser
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncCLEANFILES = $(NOBJS) $(OBJS) parser.tab.c parser.tab.h
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncCLEANFILES += \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync UTF-8.cm UTF-8.ct \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync 8859-1.cm 8859-2.cm 8859-3.cm 8859-4.cm \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync 8859-5.cm 8859-5.cm 8859-6.cm 8859-7.cm \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync 8859-8.cm 8859-9.cm 8859-9.cm 8859-10.cm \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync 8859-11.cm 8859-13.cm 8859-14.cm 8859-15.cm \
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync 8859-16.cm \
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync KOI8-R.cm
22500d40977b2e17949f8598de4f3c6d59ab405avboxsyncCLOBBERFILES = $(PROG) $(NPROG) $(POFILE) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync GB18030.cm UTF-8.cm
22500d40977b2e17949f8598de4f3c6d59ab405avboxsync
3933885bc0c2c93436d858a14564c6179ec72872vboxsyncPIFILES = $(OBJS:%.o=%.i)
3933885bc0c2c93436d858a14564c6179ec72872vboxsyncPOFILE = localedef_cmd.po
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncISO8859_1_LOCALES = \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync da_DK \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync de_CH de_DE \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync en_AU en_CA en_GB en_NZ en_US \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync es_AR es_BO es_CL es_CO es_EC es_ES es_GT es_MX es_NI es_PA \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync es_PE es_SV es_UY es_VE \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync fr_CA fr_CH fr_FR \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync is_IS \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync it_CH it_IT \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync sv_SE
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncISO8859_2_LOCALES = \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync cs_CZ \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync hr_HR \
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsync hu_HU \
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsync pl_PL \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync sq_AL
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsyncISO8859_5_LOCALES = \
d9d070cfd2c99624fe6974842b7ad4a30d5b71e7vboxsync bg_BG \
17b7eff404131866d50161b72ce9cc739536e26evboxsync mk_MK \
8a85d6fc8b2f19b9a9b64b2bcbd4f56033edb1b9vboxsync ru_RU
17b7eff404131866d50161b72ce9cc739536e26evboxsync
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsyncISO8859_6_LOCALES =
d9d070cfd2c99624fe6974842b7ad4a30d5b71e7vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncISO8859_7_LOCALES = \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync el_GR
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncISO8859_9_LOCALES = \
9161d9a8318db73b2848c1feaef3880980474e64vboxsync tr_TR
2bb5e094693f5a82438792bb7946cee00db72f66vboxsync
00031748183bd40981c72a07e5248a1a57efa171vboxsyncISO8859_11_LOCALES = \
00031748183bd40981c72a07e5248a1a57efa171vboxsync th_TH
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsync
04e845ee9ef813501cd2570a4188cb852d170408vboxsyncISO8859_13_LOCALES = \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync lt_LT \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync lv_LV
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsyncISO8859_15_LOCALES = \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ca_ES \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync da_DK \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync de_AT de_DE \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync en_GB en_IE en_US \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync es_ES \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync fi_FI \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync fr_BE fr_FR \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync it_IT \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync nl_BE nl_NL \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync pt_PT \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync sv_FI sv_SE
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsyncKOI8_R_LOCALES = \
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ru_RU
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsyncGB18030_LOCALES = \
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync zh_CN
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync#
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync# All new locales should be in UTF-8 form.
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync#
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsyncUTF_8_LOCALES = \
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync af_ZA \
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync ar_AE ar_BH ar_DZ ar_EG ar_IQ ar_JO ar_KW ar_LB ar_LY ar_MA \
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync ar_OM ar_QA ar_SA ar_TN ar_YE \
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync as_IN \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync az_AZ \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync be_BY \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync bg_BG \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync bn_BD bn_IN \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync bo_CN bo_IN \
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync bs_BA \
f7fc64d533369ec29bd0f79f3f80e2f56aac2fc4vboxsync ca_ES \
f7fc64d533369ec29bd0f79f3f80e2f56aac2fc4vboxsync cs_CZ \
f7fc64d533369ec29bd0f79f3f80e2f56aac2fc4vboxsync da_DK \
f7fc64d533369ec29bd0f79f3f80e2f56aac2fc4vboxsync de_AT de_BE de_CH de_DE de_LI de_LU \
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync el_CY el_GR \
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync en_AU en_BW en_BZ en_CA en_GB en_HK en_IE en_IN en_JM en_MH \
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync en_MT en_NA en_NZ en_PH en_PK en_SG en_TT en_US en_ZA en_ZW \
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync es_AR es_BO es_CL es_CO es_CR es_DO es_EC es_ES es_GQ es_GT \
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY \
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync es_VE \
f7fc64d533369ec29bd0f79f3f80e2f56aac2fc4vboxsync et_EE \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync fi_FI \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync fil_PH \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync fr_BE fr_CA fr_CF fr_CH fr_FR fr_GN fr_LU fr_MC fr_MG fr_ML \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync fr_NE fr_SN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ga_IE \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync gu_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync he_IL \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync hi_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync hr_HR \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync hu_HU \
8a85d6fc8b2f19b9a9b64b2bcbd4f56033edb1b9vboxsync hy_AM \
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync id_ID \
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync ii_CN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync is_IS \
00c120c036112e6430a84cb41ddc3e847ba1e9e2vboxsync it_CH it_IT \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ja_JP \
6361862f262bb5f90ed82f2a6e926c35bfa9cf18vboxsync ka_GE \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync kk_KZ \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync km_KH \
08de95260e5829c72e66326016c7e2fc861d9f26vboxsync kn_IN \
e99106e1706f8e87456f34b22c40becae61e1ed0vboxsync ko_KR \
e99106e1706f8e87456f34b22c40becae61e1ed0vboxsync kok_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync lt_LT \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync lv_LV \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync mk_MK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ml_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync mn_CN mn_MN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync mr_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ms_MY \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync mt_MT \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ne_IN ne_NP \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync nl_BE nl_NL \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync nb_NO \
1e55c91541549682278f13c784f4ecc57bd9a2b3vboxsync nn_NO \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync or_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync pa_IN pa_PK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync pl_PL \
08640b1dc58f26140fca6525ced3dbdef4ce45f7vboxsync pt_BR pt_GW pt_MZ pt_PT \
770da3dbb247278c98d1b21d2e11a0a7769131a4vboxsync ro_MD ro_RO \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ru_MD ru_RU ru_UA \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync sa_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync si_LK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync sk_SK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync sl_SI \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync sq_AL \
6361862f262bb5f90ed82f2a6e926c35bfa9cf18vboxsync sr_BA sr_ME sr_RS \
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync sv_FI sv_SE \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ta_IN ta_LK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync te_IN \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync th_TH \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync tr_TR \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync uk_UA \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ug_CN \
4bc74a1db929517da626b12e61cc468fa0947927vboxsync ur_IN ur_PK \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync vi_VN \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync zh_CN zh_HK zh_MO zh_SG zh_TW \
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync zz_AA
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync
41f11838cf4a7f490889239ae52b83c27830c52bvboxsyncUTF8SRCS = $(UTF_8_LOCALES:%=data/%.UTF-8.src)
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsyncLOCNAMES = \
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(ISO8859_1_LOCALES:%=%.ISO8859-1) \
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(ISO8859_2_LOCALES:%=%.ISO8859-2) \
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(ISO8859_5_LOCALES:%=%.ISO8859-5) \
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(ISO8859_6_LOCALES:%=%.ISO8859-6) \
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(ISO8859_7_LOCALES:%=%.ISO8859-7) \
ddfcbd0a2ee61ce75ecc10a6001d5d834893bf8fvboxsync $(ISO8859_9_LOCALES:%=%.ISO8859-9) \
847a4da13640ce406e7ef5178ce40e5507b9aa1fvboxsync $(ISO8859_11_LOCALES:%=%.ISO8859-11) \
e07c39ed4d2a98465af6e17ac4b4edf2f2f3dfaevboxsync $(ISO8859_13_LOCALES:%=%.ISO8859-13) \
847a4da13640ce406e7ef5178ce40e5507b9aa1fvboxsync $(ISO8859_15_LOCALES:%=%.ISO8859-15) \
e07c39ed4d2a98465af6e17ac4b4edf2f2f3dfaevboxsync $(KOI8_R_LOCALES:%=%.KOI8-R) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(GB18030_LOCALES:%=%.GB18030) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(UTF_8_LOCALES:%=%.UTF-8)
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsyncLOCDIRS = $(LOCNAMES:%=locale/%)
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncSTAMPFILES = $(LOCDIRS:%=%/stamp)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncCATDIRS = \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(LOCDIRS:%=%/LC_COLLATE) \
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(LOCDIRS:%=%/LC_CTYPE) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(LOCDIRS:%=%/LC_MESSAGES) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(LOCDIRS:%=%/LC_MONETARY) \
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(LOCDIRS:%=%/LC_NUMERIC) \
5d96aa0d3ade93ae2970f61342432246c9842466vboxsync $(LOCDIRS:%=%/LC_TIME)
4feb9880954f5fcb0c98feb110721798baccf992vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncDATA = $(CATDIRS:%=%/LCL_DATA)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncDCOLL = LC_COLLATE/LCL_DATA
374979da4e9440f386798bce28aa9165f3fb5e3avboxsyncDCTYPE = LC_CTYPE/LCL_DATA
303ea6bb23384a122bac365c48db3dc4971cf9b1vboxsyncDMSGS = LC_MESSAGES/LCL_DATA
303ea6bb23384a122bac365c48db3dc4971cf9b1vboxsyncDMON = LC_MONETARY/LCL_DATA
303ea6bb23384a122bac365c48db3dc4971cf9b1vboxsyncDNUM = LC_NUMERIC/LCL_DATA
103b0154d1ec1325cacf0cabaedab9581a317ce2vboxsyncDTIME = LC_TIME/LCL_DATA
19a29c5b8ea65c618ae3825b6cf84bc3688a36b0vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsyncROOTLOCDIRS = $(LOCDIRS:%=$(ROOTLIB)/%)
5e501d9a99709f24f1acf642d70566cd204fc156vboxsyncROOTCATDIRS = $(CATDIRS:%=$(ROOTLIB)/%)
cbd1ed83d0cdb2ea0224838309642a9042a25e5fvboxsyncROOTDATA = $(DATA:%=$(ROOTLIB)/%)
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync
16ac7a7560ee6ba89cf330dd2a45436e58f099c8vboxsync#
24ecfcc82c2eecb44373198021e69229e1c66490vboxsync# This is a list of locales that happen to have translations for them
d9d070cfd2c99624fe6974842b7ad4a30d5b71e7vboxsync# present in the gate.
24ecfcc82c2eecb44373198021e69229e1c66490vboxsync#
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsyncTRANSDIR = translations
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsyncTRANSLOCS = \
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsync zz_AA.UTF-8
0019a5195e700f7380e64717fcb10e1ce0fcfd91vboxsyncTRANSMOS = $(TRANSLOCS:%=$(TRANSDIR)/%.mo)
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsync
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsyncOSTMOFILE = LC_MESSAGES/SUNW_OST_OSLIB.mo
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsyncPRIVTRANSLOCS = \
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync zz_AA.UTF-8
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsyncPRIVFILE = LC_MESSAGES/priv_names
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsyncROOTTRANSLATIONS = $(TRANSLOCS:%=$(ROOTLIB)/locale/%/$(OSTMOFILE))
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsyncROOTPRIVTRANS = $(PRIVTRANSLOCS:%=$(ROOTLIB)/locale/%/$(PRIVFILE))
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync
c7769c4b7e84511fcc4a12a85a04dd7fbfd82b46vboxsync$(ROOTDATA) := FILEMODE=0444
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsync
3ccee5c41caa6fc3f805f12d4bf92174aca739e3vboxsyncall: $(PROG) $(DATA)
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsynctranslate: $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
346af0930020342df40a1ca8d13eb185ad48067evboxsync
1e55c91541549682278f13c784f4ecc57bd9a2b3vboxsyncinstall: all $(ROOTPROG) $(ROOTDATA) $(ROOTTRANSLATIONS) $(ROOTPRIVTRANS)
346af0930020342df40a1ca8d13eb185ad48067evboxsync
346af0930020342df40a1ca8d13eb185ad48067evboxsync$(NDIR):
346af0930020342df40a1ca8d13eb185ad48067evboxsync -@mkdir -p $@
5d96aa0d3ade93ae2970f61342432246c9842466vboxsync
4feb9880954f5fcb0c98feb110721798baccf992vboxsync$(NDIR)/%.o: %.c
e44aaa77f3bdded3846f3831452bf1a2a69cd4c0vboxsync $(NATIVECC) $(NATIVE_CFLAGS) $(NATIVE_CPPFLAGS) -o $@ -c $<
346af0930020342df40a1ca8d13eb185ad48067evboxsync
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync$(NDIR)/avl.o : ../../common/avl/avl.c
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync $(NATIVECC) $(NATIVE_CFLAGS) $(NATIVE_CPPFLAGS) -o $@ -c \
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync ../../common/avl/avl.c
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync$(NDIR)/mkdirp.o : ../../lib/libgen/common/mkdirp.c
cbd1ed83d0cdb2ea0224838309642a9042a25e5fvboxsync $(NATIVECC) $(NATIVE_CFLAGS) $(NATIVE_CPPFLAGS) -o $@ -c \
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync ../../lib/libgen/common/mkdirp.c
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync$(NPROG): $(NDIR) .WAIT $(NOBJS)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(LINK.c) $(NOBJS) -o $@ $(NATIVELDLIBS)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(POST_PROCESS)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync$(PROG): $(OBJS)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
16ac7a7560ee6ba89cf330dd2a45436e58f099c8vboxsync $(POST_PROCESS)
2bb5e094693f5a82438792bb7946cee00db72f66vboxsync
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync$(OBJS) $(NOBJS): parser.tab.h
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsyncparser.tab.c parser.tab.h: parser.y $(HDRS)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(YACC) $(YFLAGS) parser.y
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsynclint: $(SRCS)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(LINT.c) $(CPPFLAGS) $(SRCS)
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsync
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsyncclean:
16ac7a7560ee6ba89cf330dd2a45436e58f099c8vboxsync $(RM) $(CLEANFILES)
2bb5e094693f5a82438792bb7946cee00db72f66vboxsync $(RM) $(STAMPFILES)
5e501d9a99709f24f1acf642d70566cd204fc156vboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsyncclobber: clean
8e3e3d87779f1144f6bcc42429430134b6790f3evboxsync $(RM) $(CLOBBERFILES)
8e3e3d87779f1144f6bcc42429430134b6790f3evboxsync $(RM) -r $(LOCDIRS)
8e3e3d87779f1144f6bcc42429430134b6790f3evboxsync $(RM) -r $(NDIR)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(RM) $(TRANSMOS)
224edf755dff839a1896d3930ea7627f69eb0d9fvboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync$(POFILE): $(PIFILES)
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsync $(RM) $@
a862207daec7a8b36daec6f728951872af6a2aafvboxsync $(RM) messages.po
e44aaa77f3bdded3846f3831452bf1a2a69cd4c0vboxsync $(XGETTEXT) -s $(PIFILES)
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(SED) -e '/domain/d' messages.po > $@
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync $(RM) $(PIFILES) messages.po
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale $(ROOTLOCDIRS) $(ROOTCATDIRS):
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync $(INS.dir)
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync$(ROOTBIN)/%: $(ROOTBIN) %
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync $(INS.file)
7e77c8f54449be6f28ccbf32f7e651554d9f4060vboxsync
085bc29163eb87e345acaae02789e4c233d51f3bvboxsync# Strip LC_CTYPE contents for UTF-8 locales and replace them
83fd17a3a00dc7bf6a36e23bbd2393dfc953da06vboxsync# with UTF-8.ct we compiled
04e845ee9ef813501cd2570a4188cb852d170408vboxsynclocale/%.UTF-8/stamp: data/%.UTF-8.src UTF-8.cm \
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync UTF-8.ct locale $(NPROG)
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync $(SED) '/^LC_CTYPE/,/^END LC_CTYPE/d;$$r UTF-8.ct' $< | \
41f11838cf4a7f490889239ae52b83c27830c52bvboxsync ./$(NPROG) -U -w data/widths.txt -f UTF-8.cm $(@D)
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync $(TOUCH) $@
495d29c29d5aeaf966ec9e7148631e751c1862d1vboxsync# Convert EURO_SIGN to CURRENCY_SIGN for the ISO8859-1 locales
ddfcbd0a2ee61ce75ecc10a6001d5d834893bf8fvboxsynclocale/%.ISO8859-1/stamp: data/%.UTF-8.src 8859-1.cm locale $(NPROG)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync sed 's/EURO_SIGN/CURRENCY_SIGN/' $< > $<.tmp
74e03e3bff53d9ff9b266e0a8af97f59d54f4e23vboxsync ./$(NPROG) -U -w data/widths.txt -i $<.tmp -f 8859-1.cm $(@D)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync rm -f $<.tmp
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(TOUCH) $@
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsynclocale/%.ISO8859-2/stamp: data/%.UTF-8.src 8859-2.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-2.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-5/stamp: data/%.UTF-8.src 8859-5.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-5.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-7/stamp: data/%.UTF-8.src 8859-7.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-7.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-6/stamp: data/%.UTF-8.src 8859-6.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-6.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-9/stamp: data/%.UTF-8.src 8859-9.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-9.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-11/stamp: data/%.UTF-8.src 8859-11.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-11.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsynclocale/%.ISO8859-13/stamp: data/%.UTF-8.src 8859-13.cm locale $(NPROG)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-13.cm $(@D)
878731e72e401b7e2a0434e5ab36ca633c7f2586vboxsync $(TOUCH) $@
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsynclocale/%.ISO8859-15/stamp: data/%.UTF-8.src 8859-15.cm locale $(NPROG)
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f 8859-15.cm $(@D)
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync $(TOUCH) $@
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsynclocale/%.KOI8-R/stamp: data/%.UTF-8.src KOI8-R.cm locale $(NPROG)
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f KOI8-R.cm $(@D)
f979659894ba6ea0f1a467c7c21ca6f20062caafvboxsync $(TOUCH) $@
0de1998ac52682bb5322df476e45f237265ea9b7vboxsynclocale/%.GB18030/stamp: data/%.UTF-8.src GB18030.cm locale $(NPROG)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync ./$(NPROG) -U -w data/widths.txt -i $< -f GB18030.cm $(@D)
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(TOUCH) $@
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DCOLL): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DCTYPE): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DMSGS): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DMON): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DNUM): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsynclocale/%/$(DTIME): locale/%/stamp
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsyncUTF-8.cm: data/UTF-8.cm
cd4f52d994a7121c3c9db83163c686fffa6089e5vboxsync $(LN) -sf data/UTF-8.cm $@
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsyncUTF-8.ct: $(UTF8SRCS)
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync $(SH) data/ctype.sh $(UTF8SRCS) > $@
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsyncGB18030.cm: data/GB18030.cm
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync $(LN) -sf data/GB18030.cm $@
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync%.cm: data/%.TXT UTF-8.cm
7625bf133b6da1bcac8b5a2bbc69696c9152ac02vboxsync $(RM) $@
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync $(PERL) data/convert_map.pl $< > $@
586a142e4f1569abf0f6f71fdfa735b39602d93dvboxsync
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync$(ROOTDATA): $(ROOTLOCDIRS) $(ROOTCATDIRS) $(DATA)
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync $(RM) $@
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync $(CP) $(@:$(ROOTLIB)/%=%) $@
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync $(CHMOD) 0444 $@
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync
e38b80676801b8fa7128f29c45eab0e2bc9c225cvboxsync%.mo: %.po
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(MSGFMT) -o $@ $<
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync
00c120c036112e6430a84cb41ddc3e847ba1e9e2vboxsync$(ROOTLIB)/locale/%/$(OSTMOFILE): $(TRANSDIR)/%.mo
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(INS.rename)
6361862f262bb5f90ed82f2a6e926c35bfa9cf18vboxsync $(CHMOD) 0444 $@
8e3e3d87779f1144f6bcc42429430134b6790f3evboxsync
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync$(ROOTLIB)/locale/%/$(PRIVFILE): $(TRANSDIR)/%.priv
0de1998ac52682bb5322df476e45f237265ea9b7vboxsync $(INS.rename)
0229ec87789aab83ed0595b9ad5151351778e2cfvboxsync $(CHMOD) 0444 $@
0229ec87789aab83ed0595b9ad5151351778e2cfvboxsync