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