Imakefile 1.23 KB
Newer Older
1 2 3
#ifdef UseInstalled
/* building outside the tree, use private defines */
#include "../local.def"
Keith Packard's avatar
Keith Packard committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#endif

#define LibHeaders NO

FONTCONFIGSRC=.

FALLBACK_FONTS=$(FONTDIR)/Type1

#define DoNormalLib NormalLibFontconfig
#define DoSharedLib SharedLibFontconfig
#define DoExtraLib SharedLibFontconfig
#define DoDebugLib DebugLibFontconfig
#define DoProfileLib ProfileLibFontconfig
#define HasSharedData YES
#define LibName fontconfig
SOFONTCONFIGREV=1.0
#define SoRev SOFONTCONFIGREV

#include <Threads.tmpl>

24 25
INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I..

Keith Packard's avatar
Keith Packard committed
26 27
DEFINES=-DFC_FALLBACK_FONTS='"$(FALLBACK_FONTS)"'

28 29
EXPATLIB=-lexpat
REQUIREDLIBS=$(LDPRELIBS) $(FREETYPE2LIB) $(EXPATLIB)
Keith Packard's avatar
Keith Packard committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48

SRCS=fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c fcdefault.c fcdir.c \
     fcfreetype.c fcfs.c fcinit.c fclist.c fcmatch.c fcmatrix.c fcname.c \
     fcpat.c fcstr.c fcxml.c

OBJS=fcblanks.o fccache.o fccfg.o fccharset.o fcdbg.o fcdefault.o fcdir.o \
     fcfreetype.o fcfs.o fcinit.o fclist.o fcmatch.o fcmatrix.o fcname.o \
     fcpat.o fcstr.o fcxml.o

#include <Library.tmpl>

#if DoSharedLib && SharedDataSeparation
SpecialCObjectRule(sharedlib,NullParameter,$(SHLIBDEF))
#endif

MANSUFFIX = $(LIBMANSUFFIX)
InstallManPage(fontconfig,$(LIBMANDIR))
DependTarget()