summaryrefslogtreecommitdiff
path: root/pkg/fontconfig/gen.rc
blob: f3e45e90f77a868b87c2f26999c58fc525f92c5a (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
49
50
51
52
53
54
55
56
57
58
cflags\
	-D HAVE_CONFIG_H\
	-isystem '$builddir'/pkg/expat/include\
	-isystem pkg/freetype/src/include\
	-I include\
	-I '$dir' \
	-I '$outdir' \
	-I '$srcdir'

deps=(pkg/expat/headers '$builddir'/pkg/freetype/fetch.stamp)

rule makealias '$srcdir/src/makealias $srcdir/src $out $in'
fn makealias {
	outs='$outdir'/^($1.h $1^tail.h)
	deps=($deps $outs)
	shift
	build $"outs makealias '$srcdir'/$* '|' '$srcdir'/src/makealias
}

makealias fcalias fontconfig/^(fontconfig.h fcprivate.h) src/fcdeprecate.h
makealias fcftalias fontconfig/fcfreetype.h

phony deps $deps

lib libfontconfig.a -d '$dir'/deps src/^(\
	fcatomic.c\
	fcblanks.c\
	fccache.c\
	fccfg.c\
	fccharset.c\
	fccompat.c\
	fcdbg.c\
	fcdefault.c\
	fcdir.c\
	fcformat.c\
	fcfreetype.c\
	fcfs.c\
	fcinit.c\
	fclang.c\
	fclist.c\
	fcmatch.c\
	fcmatrix.c\
	fcname.c\
	fcobjs.c\
	fcpat.c\
	fcrange.c\
	fcserialize.c\
	fcstat.c\
	fcstr.c\
	fcweight.c\
	fcxml.c\
	ftglue.c\
) '$builddir'/pkg/^(\
	expat/libexpat.a.d\
	freetype/libfreetype.a.d\
)

fetch curl