2012-03-09 09:33:03 +01:00
|
|
|
# -*- encoding: utf-8 -*-
|
2002-05-23 00:59:41 +02:00
|
|
|
#
|
2003-02-24 18:18:50 +01:00
|
|
|
# $Id $
|
2002-05-23 00:59:41 +02:00
|
|
|
#
|
2004-12-07 02:14:46 +01:00
|
|
|
# Copyright © 2003 Keith Packard
|
2002-05-23 00:59:41 +02:00
|
|
|
#
|
|
|
|
# Permission to use, copy, modify, distribute, and sell this software and its
|
|
|
|
# documentation for any purpose is hereby granted without fee, provided that
|
|
|
|
# the above copyright notice appear in all copies and that both that
|
|
|
|
# copyright notice and this permission notice appear in supporting
|
2010-11-10 22:45:42 +01:00
|
|
|
# documentation, and that the name of the author(s) not be used in
|
2002-05-23 00:59:41 +02:00
|
|
|
# advertising or publicity pertaining to distribution of the software without
|
2010-11-10 22:45:42 +01:00
|
|
|
# specific, written prior permission. The authors make no
|
2002-05-23 00:59:41 +02:00
|
|
|
# representations about the suitability of this software for any purpose. It
|
|
|
|
# is provided "as is" without express or implied warranty.
|
|
|
|
#
|
2009-03-12 21:00:08 +01:00
|
|
|
# THE AUTHOR(S) DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
|
2002-05-23 00:59:41 +02:00
|
|
|
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
|
2009-03-12 21:00:08 +01:00
|
|
|
# EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY SPECIAL, INDIRECT OR
|
2002-05-23 00:59:41 +02:00
|
|
|
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
|
|
|
|
# DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
|
|
|
|
# TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
|
# PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
#
|
|
|
|
|
2008-01-02 17:47:14 +01:00
|
|
|
INCLUDES=-I${top_srcdir}/src -I${top_srcdir} $(WARN_CFLAGS)
|
2002-05-23 00:59:41 +02:00
|
|
|
|
2003-02-24 18:18:50 +01:00
|
|
|
TMPL=fclang.tmpl.h
|
2003-10-27 07:30:29 +01:00
|
|
|
STMPL=${top_srcdir}/fc-lang/fclang.tmpl.h
|
2003-02-24 18:18:50 +01:00
|
|
|
TARG=fclang.h
|
2002-05-23 00:59:41 +02:00
|
|
|
|
2003-02-24 18:18:50 +01:00
|
|
|
noinst_PROGRAMS=fc-lang
|
2002-05-23 00:59:41 +02:00
|
|
|
|
2003-03-03 02:13:11 +01:00
|
|
|
noinst_MANS=fc-lang.man
|
|
|
|
|
2010-12-27 20:20:47 +01:00
|
|
|
EXTRA_DIST = $(TARG) $(TMPL) $(ORTH)
|
2003-03-02 08:28:24 +01:00
|
|
|
|
2010-12-27 20:20:47 +01:00
|
|
|
if CROSS_COMPILING
|
|
|
|
$(TARG):$(ORTH) fc-lang.c $(STMPL)
|
|
|
|
@echo Warning: cannot rebuild $(TARG) when cross-compiling
|
|
|
|
else
|
2005-01-13 19:31:50 +01:00
|
|
|
$(TARG):$(ORTH) fc-lang${EXEEXT} $(STMPL)
|
2012-03-10 15:30:30 +01:00
|
|
|
-@rm $(TARG)
|
2012-03-10 14:05:07 +01:00
|
|
|
$(AM_V_GEN) $(builddir)/fc-lang${EXEEXT} -d ${srcdir} $(ORTH) < $(STMPL) > $(TARG).tmp && \
|
2009-03-10 07:15:37 +01:00
|
|
|
mv $(TARG).tmp $(TARG)
|
2010-12-27 20:20:47 +01:00
|
|
|
endif
|
2003-10-27 07:30:29 +01:00
|
|
|
|
2006-09-05 11:24:01 +02:00
|
|
|
ALIAS_FILES = fcalias.h fcaliastail.h
|
|
|
|
|
2007-10-25 06:47:40 +02:00
|
|
|
BUILT_SOURCES = $(ALIAS_FILES) $(TARG)
|
2006-09-05 11:24:01 +02:00
|
|
|
|
2010-12-27 20:20:47 +01:00
|
|
|
$(ALIAS_FILES):
|
2006-09-05 11:24:01 +02:00
|
|
|
touch $(ALIAS_FILES)
|
|
|
|
|
2010-12-27 20:20:47 +01:00
|
|
|
CLEANFILES = $(ALIAS_FILES)
|
|
|
|
|
2012-03-09 09:33:03 +01:00
|
|
|
DISTCLEANFILES = $(TARG)
|
|
|
|
|
2010-12-27 20:20:47 +01:00
|
|
|
MAINTAINERCLEANFILES = $(TARG)
|
2009-03-19 00:28:52 +01:00
|
|
|
|
|
|
|
# NOTE:
|
|
|
|
#
|
|
|
|
# The order of the orth files here is extremely important (part of the cache
|
|
|
|
# format) and should not be modified. New orth files should be added at the
|
|
|
|
# end. No files should be removed either.
|
|
|
|
#
|
|
|
|
ORTH = \
|
|
|
|
aa.orth \
|
|
|
|
ab.orth \
|
|
|
|
af.orth \
|
|
|
|
am.orth \
|
|
|
|
ar.orth \
|
|
|
|
as.orth \
|
|
|
|
ast.orth \
|
|
|
|
av.orth \
|
|
|
|
ay.orth \
|
|
|
|
az_az.orth \
|
|
|
|
az_ir.orth \
|
|
|
|
ba.orth \
|
|
|
|
bm.orth \
|
|
|
|
be.orth \
|
|
|
|
bg.orth \
|
|
|
|
bh.orth \
|
|
|
|
bho.orth \
|
|
|
|
bi.orth \
|
|
|
|
bin.orth \
|
|
|
|
bn.orth \
|
|
|
|
bo.orth \
|
|
|
|
br.orth \
|
|
|
|
bs.orth \
|
|
|
|
bua.orth \
|
|
|
|
ca.orth \
|
|
|
|
ce.orth \
|
|
|
|
ch.orth \
|
|
|
|
chm.orth \
|
|
|
|
chr.orth \
|
|
|
|
co.orth \
|
|
|
|
cs.orth \
|
|
|
|
cu.orth \
|
|
|
|
cv.orth \
|
|
|
|
cy.orth \
|
|
|
|
da.orth \
|
|
|
|
de.orth \
|
|
|
|
dz.orth \
|
|
|
|
el.orth \
|
|
|
|
en.orth \
|
|
|
|
eo.orth \
|
|
|
|
es.orth \
|
|
|
|
et.orth \
|
|
|
|
eu.orth \
|
|
|
|
fa.orth \
|
|
|
|
fi.orth \
|
|
|
|
fj.orth \
|
|
|
|
fo.orth \
|
|
|
|
fr.orth \
|
|
|
|
ff.orth \
|
|
|
|
fur.orth \
|
|
|
|
fy.orth \
|
|
|
|
ga.orth \
|
|
|
|
gd.orth \
|
|
|
|
gez.orth \
|
|
|
|
gl.orth \
|
|
|
|
gn.orth \
|
|
|
|
gu.orth \
|
|
|
|
gv.orth \
|
|
|
|
ha.orth \
|
|
|
|
haw.orth \
|
|
|
|
he.orth \
|
|
|
|
hi.orth \
|
|
|
|
ho.orth \
|
|
|
|
hr.orth \
|
|
|
|
hu.orth \
|
|
|
|
hy.orth \
|
|
|
|
ia.orth \
|
|
|
|
ig.orth \
|
|
|
|
id.orth \
|
|
|
|
ie.orth \
|
|
|
|
ik.orth \
|
|
|
|
io.orth \
|
|
|
|
is.orth \
|
|
|
|
it.orth \
|
|
|
|
iu.orth \
|
|
|
|
ja.orth \
|
|
|
|
ka.orth \
|
|
|
|
kaa.orth \
|
|
|
|
ki.orth \
|
|
|
|
kk.orth \
|
|
|
|
kl.orth \
|
|
|
|
km.orth \
|
|
|
|
kn.orth \
|
|
|
|
ko.orth \
|
|
|
|
kok.orth \
|
|
|
|
ks.orth \
|
|
|
|
ku_am.orth \
|
|
|
|
ku_ir.orth \
|
|
|
|
kum.orth \
|
|
|
|
kv.orth \
|
|
|
|
kw.orth \
|
|
|
|
ky.orth \
|
|
|
|
la.orth \
|
|
|
|
lb.orth \
|
|
|
|
lez.orth \
|
|
|
|
ln.orth \
|
|
|
|
lo.orth \
|
|
|
|
lt.orth \
|
|
|
|
lv.orth \
|
|
|
|
mg.orth \
|
|
|
|
mh.orth \
|
|
|
|
mi.orth \
|
|
|
|
mk.orth \
|
|
|
|
ml.orth \
|
|
|
|
mn_cn.orth \
|
|
|
|
mo.orth \
|
|
|
|
mr.orth \
|
|
|
|
mt.orth \
|
|
|
|
my.orth \
|
|
|
|
nb.orth \
|
|
|
|
nds.orth \
|
|
|
|
ne.orth \
|
|
|
|
nl.orth \
|
|
|
|
nn.orth \
|
|
|
|
no.orth \
|
|
|
|
nr.orth \
|
|
|
|
nso.orth \
|
|
|
|
ny.orth \
|
|
|
|
oc.orth \
|
|
|
|
om.orth \
|
|
|
|
or.orth \
|
|
|
|
os.orth \
|
2009-05-07 23:31:11 +02:00
|
|
|
pa.orth \
|
2009-03-19 00:28:52 +01:00
|
|
|
pl.orth \
|
|
|
|
ps_af.orth \
|
|
|
|
ps_pk.orth \
|
|
|
|
pt.orth \
|
|
|
|
rm.orth \
|
|
|
|
ro.orth \
|
|
|
|
ru.orth \
|
|
|
|
sa.orth \
|
|
|
|
sah.orth \
|
|
|
|
sco.orth \
|
|
|
|
se.orth \
|
|
|
|
sel.orth \
|
|
|
|
sh.orth \
|
|
|
|
shs.orth \
|
|
|
|
si.orth \
|
|
|
|
sk.orth \
|
|
|
|
sl.orth \
|
|
|
|
sm.orth \
|
|
|
|
sma.orth \
|
|
|
|
smj.orth \
|
|
|
|
smn.orth \
|
|
|
|
sms.orth \
|
|
|
|
so.orth \
|
|
|
|
sq.orth \
|
|
|
|
sr.orth \
|
|
|
|
ss.orth \
|
|
|
|
st.orth \
|
|
|
|
sv.orth \
|
|
|
|
sw.orth \
|
|
|
|
syr.orth \
|
|
|
|
ta.orth \
|
|
|
|
te.orth \
|
|
|
|
tg.orth \
|
|
|
|
th.orth \
|
|
|
|
ti_er.orth \
|
|
|
|
ti_et.orth \
|
|
|
|
tig.orth \
|
|
|
|
tk.orth \
|
|
|
|
tl.orth \
|
|
|
|
tn.orth \
|
|
|
|
to.orth \
|
|
|
|
tr.orth \
|
|
|
|
ts.orth \
|
|
|
|
tt.orth \
|
|
|
|
tw.orth \
|
|
|
|
tyv.orth \
|
|
|
|
ug.orth \
|
|
|
|
uk.orth \
|
|
|
|
ur.orth \
|
|
|
|
uz.orth \
|
|
|
|
ve.orth \
|
|
|
|
vi.orth \
|
|
|
|
vo.orth \
|
|
|
|
vot.orth \
|
|
|
|
wa.orth \
|
|
|
|
wen.orth \
|
|
|
|
wo.orth \
|
|
|
|
xh.orth \
|
|
|
|
yap.orth \
|
|
|
|
yi.orth \
|
|
|
|
yo.orth \
|
|
|
|
zh_cn.orth \
|
|
|
|
zh_hk.orth \
|
|
|
|
zh_mo.orth \
|
|
|
|
zh_sg.orth \
|
|
|
|
zh_tw.orth \
|
|
|
|
zu.orth \
|
|
|
|
ak.orth \
|
|
|
|
an.orth \
|
|
|
|
ber_dz.orth \
|
|
|
|
ber_ma.orth \
|
|
|
|
byn.orth \
|
|
|
|
crh.orth \
|
|
|
|
csb.orth \
|
|
|
|
dv.orth \
|
|
|
|
ee.orth \
|
|
|
|
fat.orth \
|
|
|
|
fil.orth \
|
|
|
|
hne.orth \
|
|
|
|
hsb.orth \
|
|
|
|
ht.orth \
|
|
|
|
hz.orth \
|
|
|
|
ii.orth \
|
|
|
|
jv.orth \
|
|
|
|
kab.orth \
|
|
|
|
kj.orth \
|
|
|
|
kr.orth \
|
|
|
|
ku_iq.orth \
|
|
|
|
ku_tr.orth \
|
|
|
|
kwm.orth \
|
|
|
|
lg.orth \
|
|
|
|
li.orth \
|
|
|
|
mai.orth \
|
|
|
|
mn_mn.orth \
|
|
|
|
ms.orth \
|
|
|
|
na.orth \
|
|
|
|
ng.orth \
|
|
|
|
nv.orth \
|
|
|
|
ota.orth \
|
|
|
|
pa_pk.orth \
|
|
|
|
pap_an.orth \
|
|
|
|
pap_aw.orth \
|
|
|
|
qu.orth \
|
|
|
|
rn.orth \
|
|
|
|
rw.orth \
|
|
|
|
sc.orth \
|
|
|
|
sd.orth \
|
|
|
|
sg.orth \
|
|
|
|
sid.orth \
|
|
|
|
sn.orth \
|
|
|
|
su.orth \
|
|
|
|
ty.orth \
|
|
|
|
wal.orth \
|
2009-05-07 23:31:11 +02:00
|
|
|
za.orth \
|
2012-02-21 07:11:30 +01:00
|
|
|
lah.orth \
|
2012-02-23 12:12:06 +01:00
|
|
|
nqo.orth \
|
|
|
|
brx.orth \
|
2012-02-24 08:43:14 +01:00
|
|
|
sat.orth \
|
2012-02-24 08:50:14 +01:00
|
|
|
doi.orth \
|
|
|
|
mni.orth
|
2009-03-19 00:28:52 +01:00
|
|
|
# ^-------------- Add new orth files here
|