]> git.wh0rd.org - fontconfig.git/blame - fc-lang/Makefile.am
Make most generated-files cross-compiling-safe
[fontconfig.git] / fc-lang / Makefile.am
CommitLineData
442678fb 1#
20fa60c9 2# $Id $
442678fb 3#
46b51147 4# Copyright © 2003 Keith Packard
442678fb
KP
5#
6# Permission to use, copy, modify, distribute, and sell this software and its
7# documentation for any purpose is hereby granted without fee, provided that
8# the above copyright notice appear in all copies and that both that
9# copyright notice and this permission notice appear in supporting
5aaf466d 10# documentation, and that the name of the author(s) not be used in
442678fb 11# advertising or publicity pertaining to distribution of the software without
5aaf466d 12# specific, written prior permission. The authors make no
442678fb
KP
13# representations about the suitability of this software for any purpose. It
14# is provided "as is" without express or implied warranty.
15#
3074a73b 16# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
442678fb 17# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
3074a73b 18# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
442678fb
KP
19# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
20# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
21# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
22# PERFORMANCE OF THIS SOFTWARE.
23#
24
dbd065ad 25INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
442678fb 26
20fa60c9 27TMPL=fclang.tmpl.h
394b2bf0 28STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
20fa60c9 29TARG=fclang.h
442678fb 30
20fa60c9 31noinst_PROGRAMS=fc-lang
442678fb 32
22dc6fc6
OT
33noinst_MANS=fc-lang.man
34
2a6b235f 35EXTRA_DIST = $(TARG) $(TMPL) $(ORTH)
8fc10a72 36
2a6b235f
BE
37if CROSS_COMPILING
38$(TARG):$(ORTH) fc-lang.c $(STMPL)
39 @echo Warning: cannot rebuild $(TARG) when cross-compiling
40else
d8ae9c92 41$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
d2fb6837 42 $(AM_V_GEN) $(RM) $(TARG); \
916640ce
BE
43 ./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
44 mv $(TARG).tmp $(TARG)
2a6b235f 45endif
394b2bf0 46
23816bf9
KP
47ALIAS_FILES = fcalias.h fcaliastail.h
48
d50cfeb8 49BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
23816bf9 50
2a6b235f 51$(ALIAS_FILES):
23816bf9
KP
52 touch $(ALIAS_FILES)
53
2a6b235f
BE
54CLEANFILES = $(ALIAS_FILES)
55
56MAINTAINERCLEANFILES = $(TARG)
ffd6668b
BE
57
58# NOTE:
59#
60# The order of the orth files here is extremely important (part of the cache
61# format) and should not be modified. New orth files should be added at the
62# end. No files should be removed either.
63#
64ORTH = \
65 aa.orth \
66 ab.orth \
67 af.orth \
68 am.orth \
69 ar.orth \
70 as.orth \
71 ast.orth \
72 av.orth \
73 ay.orth \
74 az_az.orth \
75 az_ir.orth \
76 ba.orth \
77 bm.orth \
78 be.orth \
79 bg.orth \
80 bh.orth \
81 bho.orth \
82 bi.orth \
83 bin.orth \
84 bn.orth \
85 bo.orth \
86 br.orth \
87 bs.orth \
88 bua.orth \
89 ca.orth \
90 ce.orth \
91 ch.orth \
92 chm.orth \
93 chr.orth \
94 co.orth \
95 cs.orth \
96 cu.orth \
97 cv.orth \
98 cy.orth \
99 da.orth \
100 de.orth \
101 dz.orth \
102 el.orth \
103 en.orth \
104 eo.orth \
105 es.orth \
106 et.orth \
107 eu.orth \
108 fa.orth \
109 fi.orth \
110 fj.orth \
111 fo.orth \
112 fr.orth \
113 ff.orth \
114 fur.orth \
115 fy.orth \
116 ga.orth \
117 gd.orth \
118 gez.orth \
119 gl.orth \
120 gn.orth \
121 gu.orth \
122 gv.orth \
123 ha.orth \
124 haw.orth \
125 he.orth \
126 hi.orth \
127 ho.orth \
128 hr.orth \
129 hu.orth \
130 hy.orth \
131 ia.orth \
132 ig.orth \
133 id.orth \
134 ie.orth \
135 ik.orth \
136 io.orth \
137 is.orth \
138 it.orth \
139 iu.orth \
140 ja.orth \
141 ka.orth \
142 kaa.orth \
143 ki.orth \
144 kk.orth \
145 kl.orth \
146 km.orth \
147 kn.orth \
148 ko.orth \
149 kok.orth \
150 ks.orth \
151 ku_am.orth \
152 ku_ir.orth \
153 kum.orth \
154 kv.orth \
155 kw.orth \
156 ky.orth \
157 la.orth \
158 lb.orth \
159 lez.orth \
160 ln.orth \
161 lo.orth \
162 lt.orth \
163 lv.orth \
164 mg.orth \
165 mh.orth \
166 mi.orth \
167 mk.orth \
168 ml.orth \
169 mn_cn.orth \
170 mo.orth \
171 mr.orth \
172 mt.orth \
173 my.orth \
174 nb.orth \
175 nds.orth \
176 ne.orth \
177 nl.orth \
178 nn.orth \
179 no.orth \
180 nr.orth \
181 nso.orth \
182 ny.orth \
183 oc.orth \
184 om.orth \
185 or.orth \
186 os.orth \
aa82a4f8 187 pa.orth \
ffd6668b
BE
188 pl.orth \
189 ps_af.orth \
190 ps_pk.orth \
191 pt.orth \
192 rm.orth \
193 ro.orth \
194 ru.orth \
195 sa.orth \
196 sah.orth \
197 sco.orth \
198 se.orth \
199 sel.orth \
200 sh.orth \
201 shs.orth \
202 si.orth \
203 sk.orth \
204 sl.orth \
205 sm.orth \
206 sma.orth \
207 smj.orth \
208 smn.orth \
209 sms.orth \
210 so.orth \
211 sq.orth \
212 sr.orth \
213 ss.orth \
214 st.orth \
215 sv.orth \
216 sw.orth \
217 syr.orth \
218 ta.orth \
219 te.orth \
220 tg.orth \
221 th.orth \
222 ti_er.orth \
223 ti_et.orth \
224 tig.orth \
225 tk.orth \
226 tl.orth \
227 tn.orth \
228 to.orth \
229 tr.orth \
230 ts.orth \
231 tt.orth \
232 tw.orth \
233 tyv.orth \
234 ug.orth \
235 uk.orth \
236 ur.orth \
237 uz.orth \
238 ve.orth \
239 vi.orth \
240 vo.orth \
241 vot.orth \
242 wa.orth \
243 wen.orth \
244 wo.orth \
245 xh.orth \
246 yap.orth \
247 yi.orth \
248 yo.orth \
249 zh_cn.orth \
250 zh_hk.orth \
251 zh_mo.orth \
252 zh_sg.orth \
253 zh_tw.orth \
254 zu.orth \
255 ak.orth \
256 an.orth \
257 ber_dz.orth \
258 ber_ma.orth \
259 byn.orth \
260 crh.orth \
261 csb.orth \
262 dv.orth \
263 ee.orth \
264 fat.orth \
265 fil.orth \
266 hne.orth \
267 hsb.orth \
268 ht.orth \
269 hz.orth \
270 ii.orth \
271 jv.orth \
272 kab.orth \
273 kj.orth \
274 kr.orth \
275 ku_iq.orth \
276 ku_tr.orth \
277 kwm.orth \
278 lg.orth \
279 li.orth \
280 mai.orth \
281 mn_mn.orth \
282 ms.orth \
283 na.orth \
284 ng.orth \
285 nv.orth \
286 ota.orth \
287 pa_pk.orth \
288 pap_an.orth \
289 pap_aw.orth \
290 qu.orth \
291 rn.orth \
292 rw.orth \
293 sc.orth \
294 sd.orth \
295 sg.orth \
296 sid.orth \
297 sn.orth \
298 su.orth \
299 ty.orth \
300 wal.orth \
aa82a4f8
RP
301 za.orth \
302 lah.orth
ffd6668b 303# ^-------------- Add new orth files here