]> git.wh0rd.org - fontconfig.git/blame - src/Imakefile
Update fontconfig and libxml2 to get them working with in-tree build
[fontconfig.git] / src / Imakefile
CommitLineData
3be03bed
KP
1#ifdef UseInstalled
2/* building outside the tree, use private defines */
3#include "../local.def"
24330d27
KP
4#endif
5
6#define LibHeaders NO
7
8FONTCONFIGSRC=.
9
10FALLBACK_FONTS=$(FONTDIR)/Type1
11
24330d27
KP
12#define DoNormalLib NormalLibFontconfig
13#define DoSharedLib SharedLibFontconfig
14#define DoExtraLib SharedLibFontconfig
15#define DoDebugLib DebugLibFontconfig
16#define DoProfileLib ProfileLibFontconfig
17#define HasSharedData YES
18#define LibName fontconfig
19SOFONTCONFIGREV=1.0
20#define SoRev SOFONTCONFIGREV
21
22#include <Threads.tmpl>
23
3be03bed
KP
24INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I..
25
24330d27
KP
26DEFINES=-DFC_FALLBACK_FONTS='"$(FALLBACK_FONTS)"'
27
3be03bed 28REQUIREDLIBS=$(LDPRELIBS) $(FREETYPE2LIB) $(LIBXML2LIB)
24330d27
KP
29
30SRCS=fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c fcdefault.c fcdir.c \
31 fcfreetype.c fcfs.c fcinit.c fclist.c fcmatch.c fcmatrix.c fcname.c \
32 fcpat.c fcstr.c fcxml.c
33
34OBJS=fcblanks.o fccache.o fccfg.o fccharset.o fcdbg.o fcdefault.o fcdir.o \
35 fcfreetype.o fcfs.o fcinit.o fclist.o fcmatch.o fcmatrix.o fcname.o \
36 fcpat.o fcstr.o fcxml.o
37
24330d27
KP
38#include <Library.tmpl>
39
40#if DoSharedLib && SharedDataSeparation
41SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
42#endif
43
44MANSUFFIX = $(LIBMANSUFFIX)
45InstallManPage(fontconfig,$(LIBMANDIR))
46DependTarget()
47