aboutsummaryrefslogtreecommitdiff
path: root/fontconfig/src/makefile
blob: 25130f82f69f1a831311d4bab490dab8be806b30 (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
59
60
61
62
63
$(OBJDIR)\fcobjshash.gperf: fcobjshash.gperf.h fcobjs.h
	cp $< $<.c
	$(CPP) -EP -I.. $<.c | \
	python cleangperf.py | \
	gawk '/CUT_OUT_BEGIN/ { no_write=1; next; }; /CUT_OUT_END/ { no_write=0; next; }; { if (!no_write) print; next; };' - > $@.tmp
	mv -f $@.tmp $@
	rm $<.c

$(OBJDIR)\fcobjshash.h: $(OBJDIR)\fcobjshash.gperf
	gperf -m 100 $< > $@


load_makefile NORELDBG=1 ..\fc-case\makefile
load_makefile NORELDBG=1 ..\fc-glyphname\makefile
load_makefile NORELDBG=1 ..\fc-lang\makefile

CSRCS = \
	fcatomic.c \
	fcblanks.c \
	fccache.c \
	fccfg.c \
	fccharset.c \
	fccompat.c \
	fcdbg.c \
	fcdefault.c \
	fcdir.c \
	fcformat.c \
	fcfreetype.c \
	fcfs.c \
	fchash.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 \
	fcxml.c \
	ftglue.c

LIBRARY = libfontconfig

PUBLIC_FILES = \
	..\fontconfig\fontconfig.h \
	fcdeprecate.h \
	..\fontconfig\fcprivate.h

PUBLIC_FT_FILES = \
	..\fontconfig\fcfreetype.h

INCLUDES := .. $(OBJDIR) $(INCLUDES) $(MHMAKECONF)\freetype\include $(MHMAKECONF)\libxml2\include $(MHMAKECONF)\iconv\include

fcalias.h fcaliastail.h: makealias.py $(PUBLIC_FILES)
	python makealias.py . fcalias.h fcaliastail.h $(PUBLIC_FILES)

fcftalias.h fcftaliastail.h: makealias.py $(PUBLIC_FT_FILES)
	python makealias.py . fcftalias.h fcftaliastail.h $(PUBLIC_FT_FILES)