-XCOMM $XFree86: xc/lib/fontconfig/fc-lang/Imakefile,v 1.3 2002/07/07 19:18:51 keithp Exp $
+XCOMM $XFree86: xc/lib/fontconfig/fc-lang/Imakefile,v 1.14 2002/08/08 00:10:49 keithp Exp $
#ifdef UseInstalled
/* building outside the tree, use private defines */
#include "../local.def"
#endif
-INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I.. -I../src
+INCLUDES=$(FREETYPE2INCLUDES) -I.. -I../src
LOCAL_LIBRARIES=FontconfigClientLibs
DEPLIBS=FontconfigClientDepLibs
SRCS=fc-lang.c
OBJS=fc-lang.o
-TARG=fclang.c
-TMPL=fclang.tmpl.c
+TARG=fclang.h
+TMPL=fclang.tmpl.h
#
-# Basic ISO 639-1 two letter language names
-ORTH1=ab.orth ar.orth az.orth ba.orth be.orth bg.orth bn.orth bo.orth br.orth\
- ca.orth co.orth cs.orth da.orth de.orth el.orth en.orth eo.orth es.orth\
- et.orth eu.orth fi.orth fo.orth fr.orth fy.orth ga.orth gd.orth gl.orth\
- gu.orth he.orth hr.orth hu.orth hy.orth is.orth it.orth ja.orth ka.orth\
- kk.orth kl.orth km.orth kn.orth ko.orth la.orth lo.orth lt.orth lv.orth\
- mk.orth ml.orth mn.orth mo.orth mt.orth nl.orth no.orth oc.orth or.orth\
- pl.orth pt.orth rm.orth ro.orth ru.orth sh.orth si.orth sk.orth sl.orth\
- sq.orth sr.orth sv.orth ta.orth te.orth th.orth tl.orth tr.orth uk.orth\
- vo.orth wa.orth yi.orth zh_cn.orth zh_tw.orth
-
-#
-# ISO 639-2 adds many more three letter language names
+# Basic ISO 639-1 two letter language names, 639-2 are three-letter
+# language codes
#
-ORTH2=chr.orth
-
-ORTH=$(ORTH1) $(ORTH2)
+ORTH=aa.orth ab.orth af.orth am.orth ar.orth ast.orth ava.orth ay.orth\
+ az.orth bam.orth ba.orth be.orth bg.orth bho.orth bh.orth bin.orth\
+ bi.orth bn.orth bo.orth br.orth bs.orth bua.orth ca.orth ce.orth\
+ chm.orth ch.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 ful.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\
+ ibo.orth id.orth ie.orth ik.orth io.orth is.orth it.orth iu.orth ja.orth\
+ kaa.orth ka.orth ki.orth kk.orth kl.orth km.orth kn.orth kok.orth\
+ ko.orth ks.orth kum.orth ku.orth kv.orth kw.orth ky.orth la.orth lb.orth\
+ lez.orth lo.orth lt.orth lv.orth mg.orth mh.orth mi.orth mk.orth ml.orth\
+ mn.orth mo.orth mr.orth mt.orth my.orth nb.orth ne.orth nl.orth nn.orth\
+ no.orth ny.orth oc.orth om.orth or.orth os.orth pl.orth pt.orth rm.orth\
+ ro.orth ru.orth sah.orth sa.orth sco.orth sel.orth se.orth sh.orth\
+ si.orth sk.orth sl.orth sma.orth smj.orth smn.orth sm.orth sms.orth\
+ so.orth sq.orth sr.orth sv.orth sw.orth syr.orth ta.orth te.orth tg.orth\
+ th.orth ti.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 ven.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
+
all:: $(TARG)
-
+
clean::
$(RM) $(TARG)
$(TARG): fc-lang $(ORTH) $(TMPL)
+ chmod +w $(TARG)
./fc-lang $(ORTH) < $(TMPL) > $(TARG)
ComplexProgramTarget(fc-lang)