]>
Commit | Line | Data |
---|---|---|
c1382a3d KP |
1 | #ifdef UseInstalled |
2 | /* building outside the tree, use private defines */ | |
3 | #include "../local.def" | |
4 | #endif | |
5 | ||
6 | INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I.. -I../src | |
7 | ||
8 | LOCAL_LIBRARIES=FontconfigClientLibs | |
9 | DEPLIBS=FontconfigClientDepLibs | |
10 | ||
11 | SRCS=fc-lang.c | |
12 | OBJS=fc-lang.o | |
13 | ||
14 | TARG=fclang.c | |
15 | TMPL=fclang.tmpl.c | |
16 | ||
17 | # | |
18 | # Basic ISO 639-1 two letter language names | |
19 | ORTH1=ab.orth ar.orth az.orth ba.orth be.orth bg.orth br.orth ca.orth co.orth\ | |
20 | cs.orth da.orth de.orth el.orth en.orth eo.orth es.orth et.orth eu.orth\ | |
21 | fi.orth fo.orth fr.orth fy.orth ga.orth gd.orth gl.orth he.orth hr.orth\ | |
22 | hu.orth hy.orth is.orth it.orth ja.orth ka.orth kk.orth kl.orth ko.orth\ | |
23 | la.orth lt.orth lv.orth mk.orth mo.orth mt.orth nl.orth no.orth oc.orth\ | |
24 | pl.orth pt.orth rm.orth ro.orth ru.orth sh.orth sk.orth sl.orth sq.orth\ | |
25 | sr.orth sv.orth th.orth tr.orth uk.orth vo.orth yi.orth zh_cn.orth\ | |
26 | zh_tw.orth | |
27 | ||
28 | # | |
29 | # ISO 639-2 adds many more three letter language names | |
30 | # | |
31 | ORTH2=chr.orth | |
32 | ||
33 | ORTH=$(ORTH1) $(ORTH2) | |
34 | ||
35 | all:: $(TARG) | |
36 | ||
37 | clean:: | |
38 | $(RM) $(TARG) | |
39 | ||
40 | $(TARG): fc-lang $(ORTH) $(TMPL) | |
41 | ./fc-lang $(ORTH) < $(TMPL) > $(TARG) | |
42 | ||
43 | ComplexProgramTarget(fc-lang) | |
44 | LinkBuildBinary(ProgramTargetName(fc-lang)) |