Makefile revision 134437
1# $FreeBSD: head/share/timedef/Makefile 134437 2004-08-28 12:52:31Z tjr $ 2 3NOMAN=YES 4CLEANFILES+= ${LOCALES:S/$/.out/g} 5 6LOCALES= am_ET.UTF-8 \ 7 be_BY.CP1131 \ 8 be_BY.CP1251 \ 9 be_BY.ISO8859-5 \ 10 be_BY.UTF-8 \ 11 bg_BG.CP1251 \ 12 bg_BG.UTF-8 \ 13 ca_ES.ISO8859-1 \ 14 ca_ES.UTF-8 \ 15 cs_CZ.ISO8859-2 \ 16 cs_CZ.UTF-8 \ 17 da_DK.ISO8859-1 \ 18 da_DK.UTF-8 \ 19 de_AT.ISO8859-1 \ 20 de_AT.UTF-8 \ 21 de_DE.ISO8859-1 \ 22 de_DE.UTF-8 \ 23 el_GR.ISO8859-7 \ 24 el_GR.UTF-8 \ 25 en_GB.ISO8859-1 \ 26 en_US.ISO8859-1 \ 27 es_ES.ISO8859-1 \ 28 es_ES.UTF-8 \ 29 et_EE.ISO8859-15 \ 30 et_EE.UTF-8 \ 31 eu_ES.ISO8859-1 \ 32 fi_FI.ISO8859-1 \ 33 fi_FI.UTF-8 \ 34 fr_FR.ISO8859-1 \ 35 fr_FR.UTF-8 \ 36 he_IL.UTF-8 \ 37 hi_IN.ISCII-DEV \ 38 hr_HR.ISO8859-2 \ 39 hr_HR.UTF-8 \ 40 hu_HU.ISO8859-2 \ 41 hu_HU.UTF-8 \ 42 hy_AM.ARMSCII-8 \ 43 hy_AM.UTF-8 \ 44 is_IS.ISO8859-1 \ 45 is_IS.UTF-8 \ 46 ja_JP.eucJP \ 47 ja_JP.SJIS \ 48 ja_JP.UTF-8 \ 49 it_IT.ISO8859-1 \ 50 it_IT.UTF-8 \ 51 kk_KZ.PT154 \ 52 kk_KZ.UTF-8 \ 53 ko_KR.eucKR \ 54 ko_KR.UTF-8 \ 55 la_LN.ISO8859-1 \ 56 lt_LT.ISO8859-4 \ 57 lt_LT.ISO8859-13 \ 58 lt_LT.UTF-8 \ 59 nl_NL.ISO8859-1 \ 60 no_NO.ISO8859-1 \ 61 no_NO.UTF-8 \ 62 pl_PL.ISO8859-2 \ 63 pl_PL.UTF-8 \ 64 pt_BR.ISO8859-1 \ 65 pt_BR.UTF-8 \ 66 pt_PT.ISO8859-1 \ 67 pt_PT.UTF-8 \ 68 ro_RO.ISO8859-2 \ 69 ro_RO.UTF-8 \ 70 ru_RU.CP1251 \ 71 ru_RU.CP866 \ 72 ru_RU.ISO8859-5 \ 73 ru_RU.KOI8-R \ 74 ru_RU.UTF-8 \ 75 sk_SK.ISO8859-2 \ 76 sk_SK.UTF-8 \ 77 sl_SI.ISO8859-2 \ 78 sl_SI.UTF-8 \ 79 sr_YU.ISO8859-2 \ 80 sr_YU.ISO8859-5 \ 81 sr_YU.UTF-8 \ 82 sv_SE.ISO8859-1 \ 83 sv_SE.UTF-8 \ 84 tr_TR.ISO8859-9 \ 85 tr_TR.UTF-8 \ 86 uk_UA.ISO8859-5 \ 87 uk_UA.KOI8-U \ 88 uk_UA.UTF-8 \ 89 zh_CN.eucCN \ 90 zh_CN.GB18030 \ 91 zh_CN.GB2312 \ 92 zh_CN.UTF-8 \ 93 zh_TW.Big5 \ 94 zh_TW.UTF-8 95 96LOCALEDIR= ${DESTDIR}/usr/share/locale 97 98UTF8_LATIN1LINKS= en_GB en_US eu_ES nl_NL 99 100LATIN15LINKS= ca_ES da_DK de_AT de_DE en_GB en_US es_ES eu_ES fi_FI fr_FR \ 101 is_IS \ 102 it_IT la_LN nl_NL no_NO pt_PT sv_SE 103DE_LINKS= de_CH 104FR_LINKS= fr_BE fr_CA fr_CH 105IT_LINKS= it_CH 106LN_LINKS= la_LN.US-ASCII la_LN.ISO8859-2 la_LN.ISO8859-4 107NL_LINKS= nl_BE 108US_LINKS= 109GB_LINKS= en_AU en_CA en_NZ 110 111.SUFFIXES: .src .out 112 113.src.out: 114 grep -v '^#' < ${.IMPSRC} > ${.TARGET} 115 116all: ${LOCALES:S/$/.out/g} 117 118afterinstall: 119 for l in ${LOCALES}; do \ 120 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ 121 ${LOCALEDIR}/$$l/LC_TIME; \ 122 done 123 for l in ${LATIN15LINKS}; do \ 124 ln -fs ../$$l.ISO8859-1/LC_TIME \ 125 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 126 done 127 for l in ${DE_LINKS}; do \ 128 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 129 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 130 ln -fs ../de_DE.ISO8859-1/LC_TIME \ 131 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 132 done 133 for l in ${IT_LINKS}; do \ 134 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 135 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 136 ln -fs ../it_IT.ISO8859-1/LC_TIME \ 137 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 138 done 139 for l in ${FR_LINKS}; do \ 140 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 141 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 142 ln -fs ../fr_FR.ISO8859-1/LC_TIME \ 143 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 144 done 145 for l in ${LN_LINKS}; do \ 146 ln -fs ../la_LN.ISO8859-1/LC_TIME \ 147 ${LOCALEDIR}/$$l/LC_TIME; \ 148 done 149 for l in ${NL_LINKS}; do \ 150 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 151 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 152 ln -fs ../nl_NL.ISO8859-1/LC_TIME \ 153 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 154 done 155 for l in ${US_LINKS}; do \ 156 ln -fs ../en_US.ISO8859-1/LC_TIME \ 157 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 158 ln -fs ../en_US.ISO8859-1/LC_TIME \ 159 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 160 ln -fs ../en_US.ISO8859-1/LC_TIME \ 161 ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \ 162 done 163 for l in ${GB_LINKS}; do \ 164 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 165 ${LOCALEDIR}/$$l.ISO8859-1/LC_TIME; \ 166 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 167 ${LOCALEDIR}/$$l.ISO8859-15/LC_TIME; \ 168 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 169 ${LOCALEDIR}/$$l.US-ASCII/LC_TIME; \ 170 done 171 ln -fs ../en_GB.ISO8859-1/LC_TIME \ 172 ${LOCALEDIR}/en_GB.US-ASCII/LC_TIME 173 ln -fs ../en_US.ISO8859-1/LC_TIME \ 174 ${LOCALEDIR}/en_US.US-ASCII/LC_TIME 175 ln -fs ../en_US.ISO8859-1/LC_TIME \ 176 ${LOCALEDIR}/af_ZA.ISO8859-1/LC_TIME 177 ln -fs ../en_US.ISO8859-15/LC_TIME \ 178 ${LOCALEDIR}/af_ZA.ISO8859-15/LC_TIME 179 ln -fs ../ko_KR.eucKR/LC_TIME \ 180 ${LOCALEDIR}/ko_KR.CP949/LC_TIME 181 ln -fs ../zh_CN.GB2312/LC_TIME \ 182 ${LOCALEDIR}/zh_CN.GBK/LC_TIME 183 for l in ${UTF8_LATIN1LINKS}; do \ 184 ln -fs ../$$l.ISO8859-1/LC_TIME \ 185 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 186 done 187 for l in ${DE_LINKS}; do \ 188 ln -fs ../de_DE.UTF-8/LC_TIME \ 189 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 190 done 191 for l in ${IT_LINKS}; do \ 192 ln -fs ../it_IT.UTF-8/LC_TIME \ 193 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 194 done 195 for l in ${FR_LINKS}; do \ 196 ln -fs ../fr_FR.UTF-8/LC_TIME \ 197 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 198 done 199 for l in ${NL_LINKS}; do \ 200 ln -fs ../nl_NL.UTF-8/LC_TIME \ 201 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 202 done 203 for l in ${US_LINKS}; do \ 204 ln -fs ../en_US.UTF-8/LC_TIME \ 205 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 206 done 207 for l in ${GB_LINKS}; do \ 208 ln -fs ../en_GB.UTF-8/LC_TIME \ 209 ${LOCALEDIR}/$$l.UTF-8/LC_TIME; \ 210 done 211 ln -fs ../en_GB.UTF-8/LC_TIME \ 212 ${LOCALEDIR}/en_IE.UTF-8/LC_TIME 213 ln -fs ../en_US.UTF-8/LC_TIME \ 214 ${LOCALEDIR}/af_ZA.UTF-8/LC_TIME 215 ln -fs ../zh_TW.UTF-8/LC_TIME \ 216 ${LOCALEDIR}/zh_HK.UTF-8/LC_TIME 217 ln -fs ../zh_TW.UTF-8/LC_TIME \ 218 ${LOCALEDIR}/zh_HK.Big5HKSCS/LC_TIME 219 220.include <bsd.prog.mk> 221