summaryrefslogtreecommitdiff
path: root/fc-lang/Imakefile
blob: 735ab4e0cc3699ae78f068f4deeb55a44b509ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
XCOMM $XFree86: xc/lib/fontconfig/fc-lang/Imakefile,v 1.7 2002/07/12 07:52:15 keithp Exp $

#ifdef UseInstalled
/* building outside the tree, use private defines */
#include "../local.def"
#endif

INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I.. -I../src

LOCAL_LIBRARIES=FontconfigClientLibs
        DEPLIBS=FontconfigClientDepLibs

SRCS=fc-lang.c
OBJS=fc-lang.o

TARG=fclang.h
TMPL=fclang.tmpl.h

#
# Basic ISO 639-1 two letter language names, 639-2 are three-letter
# language codes
#

ORTH=ab.orth ar.orth ava.orth az.orth ba.orth be.orth bg.orth bh.orth\
     bho.orth bn.orth bo.orth br.orth bua.orth ca.orth ce.orth chm.orth\
     chr.orth co.orth cs.orth cv.orth da.orth de.orth el.orth en.orth eo.orth\
     es.orth et.orth eu.orth fa.orth fi.orth fo.orth fr.orth fy.orth ga.orth\
     gd.orth gez.orth gl.orth gu.orth he.orth hi.orth hr.orth hu.orth hy.orth\
     ik.orth is.orth it.orth iu.orth ja.orth ka.orth kaa.orth kk.orth kl.orth\
     km.orth kn.orth ko.orth kok.orth ks.orth ku.orth kum.orth kv.orth\
     ky.orth la.orth lez.orth lo.orth lt.orth lv.orth mk.orth ml.orth mn.orth\
     mo.orth mr.orth mt.orth ne.orth nl.orth no.orth oc.orth or.orth os.orth\
     pl.orth pt.orth rm.orth ro.orth ru.orth sa.orth sah.orth sel.orth\
     sh.orth si.orth sk.orth sl.orth sq.orth sr.orth sv.orth ta.orth te.orth\
     tg.orth th.orth tk.orth tl.orth tr.orth tt.orth tyv.orth uk.orth uz.orth\
     vo.orth wa.orth yi.orth zh_cn.orth zh_hk.orth zh_mo.orth zh_sg.orth\
     zh_tw.orth

all:: $(TARG)
     
clean::
	$(RM) $(TARG)
	
$(TARG): fc-lang $(ORTH) $(TMPL)
	./fc-lang $(ORTH) < $(TMPL) > $(TARG)

ComplexProgramTarget(fc-lang)
LinkBuildBinary(ProgramTargetName(fc-lang))