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