Makefile.am revision ca08ab68
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
26INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
27
28TMPL=fclang.tmpl.h
29STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
30TARG=fclang.h
31
32noinst_PROGRAMS=fc-lang
33
34noinst_MANS=fc-lang.man
35
36EXTRA_DIST = $(TARG) $(TMPL) $(ORTH)
37
38if CROSS_COMPILING
39$(TARG):$(ORTH) fc-lang.c $(STMPL)
40	@echo Warning: cannot rebuild $(TARG) when cross-compiling
41else
42$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
43	$(AM_V_GEN) $(RM) $(TARG); \
44	./fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
45	mv $(TARG).tmp $(TARG)
46endif
47
48ALIAS_FILES = fcalias.h fcaliastail.h
49
50BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
51
52$(ALIAS_FILES):
53	touch $(ALIAS_FILES)
54
55CLEANFILES = $(ALIAS_FILES)
56
57DISTCLEANFILES = $(TARG)
58
59MAINTAINERCLEANFILES = $(TARG)
60
61# NOTE:
62#
63# The order of the orth files here is extremely important (part of the cache
64# format) and should not be modified.  New orth files should be added at the
65# end.  No files should be removed either.
66#
67ORTH = \
68	aa.orth \
69	ab.orth \
70	af.orth \
71	am.orth \
72	ar.orth \
73	as.orth \
74	ast.orth \
75	av.orth \
76	ay.orth \
77	az_az.orth \
78	az_ir.orth \
79	ba.orth \
80	bm.orth \
81	be.orth \
82	bg.orth \
83	bh.orth \
84	bho.orth \
85	bi.orth \
86	bin.orth \
87	bn.orth \
88	bo.orth \
89	br.orth \
90	bs.orth \
91	bua.orth \
92	ca.orth \
93	ce.orth \
94	ch.orth \
95	chm.orth \
96	chr.orth \
97	co.orth \
98	cs.orth \
99	cu.orth \
100	cv.orth \
101	cy.orth \
102	da.orth \
103	de.orth \
104	dz.orth \
105	el.orth \
106	en.orth \
107	eo.orth \
108	es.orth \
109	et.orth \
110	eu.orth \
111	fa.orth \
112	fi.orth \
113	fj.orth \
114	fo.orth \
115	fr.orth \
116	ff.orth \
117	fur.orth \
118	fy.orth \
119	ga.orth \
120	gd.orth \
121	gez.orth \
122	gl.orth \
123	gn.orth \
124	gu.orth \
125	gv.orth \
126	ha.orth \
127	haw.orth \
128	he.orth \
129	hi.orth \
130	ho.orth \
131	hr.orth \
132	hu.orth \
133	hy.orth \
134	ia.orth \
135	ig.orth \
136	id.orth \
137	ie.orth \
138	ik.orth \
139	io.orth \
140	is.orth \
141	it.orth \
142	iu.orth \
143	ja.orth \
144	ka.orth \
145	kaa.orth \
146	ki.orth \
147	kk.orth \
148	kl.orth \
149	km.orth \
150	kn.orth \
151	ko.orth \
152	kok.orth \
153	ks.orth \
154	ku_am.orth \
155	ku_ir.orth \
156	kum.orth \
157	kv.orth \
158	kw.orth \
159	ky.orth \
160	la.orth \
161	lb.orth \
162	lez.orth \
163	ln.orth \
164	lo.orth \
165	lt.orth \
166	lv.orth \
167	mg.orth \
168	mh.orth \
169	mi.orth \
170	mk.orth \
171	ml.orth \
172	mn_cn.orth \
173	mo.orth \
174	mr.orth \
175	mt.orth \
176	my.orth \
177	nb.orth \
178	nds.orth \
179	ne.orth \
180	nl.orth \
181	nn.orth \
182	no.orth \
183	nr.orth \
184	nso.orth \
185	ny.orth \
186	oc.orth \
187	om.orth \
188	or.orth \
189	os.orth \
190	pa.orth \
191	pl.orth \
192	ps_af.orth \
193	ps_pk.orth \
194	pt.orth \
195	rm.orth \
196	ro.orth \
197	ru.orth \
198	sa.orth \
199	sah.orth \
200	sco.orth \
201	se.orth \
202	sel.orth \
203	sh.orth \
204	shs.orth \
205	si.orth \
206	sk.orth \
207	sl.orth \
208	sm.orth \
209	sma.orth \
210	smj.orth \
211	smn.orth \
212	sms.orth \
213	so.orth \
214	sq.orth \
215	sr.orth \
216	ss.orth \
217	st.orth \
218	sv.orth \
219	sw.orth \
220	syr.orth \
221	ta.orth \
222	te.orth \
223	tg.orth \
224	th.orth \
225	ti_er.orth \
226	ti_et.orth \
227	tig.orth \
228	tk.orth \
229	tl.orth \
230	tn.orth \
231	to.orth \
232	tr.orth \
233	ts.orth \
234	tt.orth \
235	tw.orth \
236	tyv.orth \
237	ug.orth \
238	uk.orth \
239	ur.orth \
240	uz.orth \
241	ve.orth \
242	vi.orth \
243	vo.orth \
244	vot.orth \
245	wa.orth \
246	wen.orth \
247	wo.orth \
248	xh.orth \
249	yap.orth \
250	yi.orth \
251	yo.orth \
252	zh_cn.orth \
253	zh_hk.orth \
254	zh_mo.orth \
255	zh_sg.orth \
256	zh_tw.orth \
257	zu.orth \
258	ak.orth \
259	an.orth \
260	ber_dz.orth \
261	ber_ma.orth \
262	byn.orth \
263	crh.orth \
264	csb.orth \
265	dv.orth \
266	ee.orth \
267	fat.orth \
268	fil.orth \
269	hne.orth \
270	hsb.orth \
271	ht.orth \
272	hz.orth \
273	ii.orth \
274	jv.orth \
275	kab.orth \
276	kj.orth \
277	kr.orth \
278	ku_iq.orth \
279	ku_tr.orth \
280	kwm.orth \
281	lg.orth \
282	li.orth \
283	mai.orth \
284	mn_mn.orth \
285	ms.orth \
286	na.orth \
287	ng.orth \
288	nv.orth \
289	ota.orth \
290	pa_pk.orth \
291	pap_an.orth \
292	pap_aw.orth \
293	qu.orth \
294	rn.orth \
295	rw.orth \
296	sc.orth \
297	sd.orth \
298	sg.orth \
299	sid.orth \
300	sn.orth \
301	su.orth \
302	ty.orth \
303	wal.orth \
304	za.orth \
305	lah.orth \
306	nqo.orth \
307	brx.orth \
308	sat.orth \
309	doi.orth \
310	mni.orth
311#	^-------------- Add new orth files here
312