]>
Commit | Line | Data |
---|---|---|
d6dabf36 | 1 | XCOMM $XFree86: xc/lib/fontconfig/fc-lang/Imakefile,v 1.3 2002/07/07 19:18:51 keithp Exp $ |
6446b151 | 2 | |
c1382a3d KP |
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.c | |
17 | TMPL=fclang.tmpl.c | |
18 | ||
19 | # | |
20 | # Basic ISO 639-1 two letter language names | |
2903c146 KP |
21 | ORTH1=ab.orth ar.orth az.orth ba.orth be.orth bg.orth bn.orth bo.orth br.orth\ |
22 | ca.orth co.orth cs.orth da.orth de.orth el.orth en.orth eo.orth es.orth\ | |
23 | et.orth eu.orth fi.orth fo.orth fr.orth fy.orth ga.orth gd.orth gl.orth\ | |
24 | gu.orth he.orth hr.orth hu.orth hy.orth is.orth it.orth ja.orth ka.orth\ | |
25 | kk.orth kl.orth km.orth kn.orth ko.orth la.orth lo.orth lt.orth lv.orth\ | |
26 | mk.orth ml.orth mn.orth mo.orth mt.orth nl.orth no.orth oc.orth or.orth\ | |
27 | pl.orth pt.orth rm.orth ro.orth ru.orth sh.orth si.orth sk.orth sl.orth\ | |
28 | sq.orth sr.orth sv.orth ta.orth te.orth th.orth tl.orth tr.orth uk.orth\ | |
d6dabf36 | 29 | vo.orth wa.orth yi.orth zh_cn.orth zh_tw.orth |
c1382a3d KP |
30 | |
31 | # | |
32 | # ISO 639-2 adds many more three letter language names | |
33 | # | |
34 | ORTH2=chr.orth | |
35 | ||
36 | ORTH=$(ORTH1) $(ORTH2) | |
37 | ||
38 | all:: $(TARG) | |
39 | ||
40 | clean:: | |
41 | $(RM) $(TARG) | |
42 | ||
43 | $(TARG): fc-lang $(ORTH) $(TMPL) | |
44 | ./fc-lang $(ORTH) < $(TMPL) > $(TARG) | |
45 | ||
46 | ComplexProgramTarget(fc-lang) | |
47 | LinkBuildBinary(ProgramTargetName(fc-lang)) |