]> git.wh0rd.org - fontconfig.git/blob - src/Imakefile
Various config changes plus a couple of optimizations from Owen
[fontconfig.git] / src / Imakefile
1 #ifdef UseInstalled
2 /* building outside the tree, use private defines */
3 #include "../local.def"
4 #endif
5
6 #define LibHeaders NO
7
8 FONTCONFIGSRC=.
9
10 FC_DEFAULT_FONTS=$(FONTDIR)/Type1
11
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
19 SOFONTCONFIGREV=1.0
20 #define SoRev SOFONTCONFIGREV
21
22 #include <Threads.tmpl>
23
24 INCLUDES=$(FREETYPE2INCLUDES) -I..
25
26 DEFINES=-DFC_DEFAULT_FONTS='"$(FC_DEFAULT_FONTS)"' -DHAVE_EXPAT
27
28 EXPATLIB=-lexpat
29 REQUIREDLIBS=$(LDPRELIBS) $(FREETYPE2LIB) $(EXPATLIB)
30
31 SRCS=fcatomic.c fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c \
32 fcdefault.c fcdir.c fcfreetype.c fcfs.c fcinit.c fclang.c fclist.c \
33 fcmatch.c fcmatrix.c fcname.c fcpat.c fcstr.c fcxml.c
34
35 OBJS=fcatomic.o fcblanks.o fccache.o fccfg.o fccharset.o fcdbg.o \
36 fcdefault.o fcdir.o fcfreetype.o fcfs.o fcinit.o fclang.o fclist.o \
37 fcmatch.o fcmatrix.o fcname.o fcpat.o fcstr.o fcxml.o
38
39 #include <Library.tmpl>
40
41 #if DoSharedLib && SharedDataSeparation
42 SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
43 #endif
44
45 MANSUFFIX = $(LIBMANSUFFIX)
46 InstallManPage(fontconfig,$(LIBMANDIR))
47 DependTarget()
48