]> git.wh0rd.org Git - fontconfig.git/blob - fc-lang/Imakefile
c6fcd067bbf080783a8ebdb9994fcc4a5143e408
[fontconfig.git] / fc-lang / Imakefile
1 XCOMM $XFree86: xc/lib/fontconfig/fc-lang/Imakefile,v 1.8 2002/07/12 07:58:16 keithp Exp $
2
3 #ifdef UseInstalled
4 /* building outside the tree, use private defines */
5 #include "../local.def"
6 #endif
7
8 INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I.. -I../src
9
10 LOCAL_LIBRARIES=FontconfigClientLibs
11         DEPLIBS=FontconfigClientDepLibs
12
13 SRCS=fc-lang.c
14 OBJS=fc-lang.o
15
16 TARG=fclang.h
17 TMPL=fclang.tmpl.h
18
19 #
20 # Basic ISO 639-1 two letter language names, 639-2 are three-letter
21 # language codes
22 #
23
24 ORTH=ab.orth ar.orth ava.orth az.orth ba.orth be.orth bg.orth bh.orth \
25      bho.orth bn.orth bo.orth br.orth bua.orth ca.orth ce.orth chm.orth \
26      chr.orth co.orth cs.orth cv.orth da.orth de.orth el.orth en.orth eo.orth \
27      es.orth et.orth eu.orth fa.orth fi.orth fo.orth fr.orth fy.orth ga.orth \
28      gd.orth gez.orth gl.orth gu.orth he.orth hi.orth hr.orth hu.orth hy.orth \
29      ik.orth is.orth it.orth iu.orth ja.orth ka.orth kaa.orth kk.orth kl.orth \
30      km.orth kn.orth ko.orth kok.orth ks.orth ku.orth kum.orth kv.orth \
31      ky.orth la.orth lez.orth lo.orth lt.orth lv.orth mk.orth ml.orth mn.orth \
32      mo.orth mr.orth mt.orth nb.orth ne.orth nl.orth nn.orth no.orth oc.orth \
33      or.orth os.orth pl.orth pt.orth rm.orth ro.orth ru.orth sa.orth sah.orth \
34      sel.orth sh.orth si.orth sk.orth sl.orth sq.orth sr.orth sv.orth ta.orth \
35      te.orth tg.orth th.orth tk.orth tl.orth tr.orth tt.orth tyv.orth uk.orth \
36      uz.orth vo.orth wa.orth yi.orth zh_cn.orth zh_hk.orth zh_mo.orth \
37      zh_sg.orth zh_tw.orth
38      
39
40 all:: $(TARG)
41      
42 clean::
43         $(RM) $(TARG)
44         
45 $(TARG): fc-lang $(ORTH) $(TMPL)
46         ./fc-lang $(ORTH) < $(TMPL) > $(TARG)
47
48 ComplexProgramTarget(fc-lang)
49 LinkBuildBinary(ProgramTargetName(fc-lang))