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