blob: 3a53310755226348d2917c8ffae524b2b84d7c6a (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
# $OpenBSD: Makefile,v 1.2 2013/03/12 06:26:25 matthieu Exp $
FONTCONFIG= ${.CURDIR}/../../../dist/fontconfig
LIB= fontconfig
SRCS = \
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 \
fcserialize.c \
fcstat.c \
fcstr.c \
fcxml.c \
ftglue.c
CFLAGS = -DFC_CACHEDIR='"$(FC_CACHEDIR)"' \
-DFONTCONFIG_PATH='"$(BASECONFIGDIR)"' \
-I.
LDADD = -L${X11BASE}/lib -lfreetype -lexpat -lz -lpthread-stubs
PUBLIC_FILES = \
$(FONTCONFIG)/fontconfig/fontconfig.h \
$(FONTCONFIG)/src/fcdeprecate.h \
$(FONTCONFIG)/fontconfig/fcprivate.h
PUBLIC_FT_FILES = \
$(FONTCONFIG)/fontconfig/fcfreetype.h
fcaliastail.h: fcalias.h
fcalias.h: $(FONTCONFIG)/src/makealias $(PUBLIC_FILES)
sh $(FONTCONFIG)/src/makealias "$(FONTCONFIG)/src" \
fcalias.h fcaliastail.h $(PUBLIC_FILES)
fcftaliastail.h: fcftalias.h
fcftalias.h: $(FONTCONFIG)/src/makealias $(PUBLIC_FT_FILES)
sh $(FONTCONFIG)/src/makealias "$(FONTCONFIG)/src" \
fcftalias.h fcftaliastail.h $(PUBLIC_FT_FILES)
.if defined(XENOCARA_RERUN_GPERF) && ${XENOCARA_RERUN_GPERF:L=yes}
fcobjshash.h: fcobjshash.gperf
gperf -m 100 $< > $@.tmp && \
mv -f $@.tmp $@ || ( $(RM) $@.tmp && false )
.endif
beforedepend: fcalias.h fcftalias.h fcobjshash.h
beforeinstall:
@if [ -f ${DESTDIR}${LIBDIR}/libfontconfig.la ]; then \
echo "rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la" ; \
rm -f ${DESTDIR}${LIBDIR}/libfontconfig.la ; \
fi
obj:_xenocara_obj
CLEANFILES = fcalias.h fcaliastail.h fcftalias.h fcftaliastail.h
.PATH: ${FONTCONFIG}/src
.include <bsd.lib.mk>
.include <bsd.xorg.mk>
|