XCOMM $XdotOrg: xc/lib/fontconfig/Imakefile,v 1.6 2005/11/08 06:33:26 jkj Exp $
XCOMM $XFree86: xc/lib/fontconfig/Imakefile,v 1.17 2003/11/19 20:57:37 dawes Exp $

#define DoNormalLib NormalLibFontconfig
#define DoSharedLib SharedLibFontconfig
#define DoExtraLib SharedLibFontconfig
#define DoDebugLib DebugLibFontconfig
#define DoProfileLib ProfileLibFontconfig
#define HasSharedData YES
#define LibName fontconfig
#define SoRev SOFONTCONFIGREV
#define LibInstall InstallFontconfigLibrary
#define LibHeaders InstallFontconfigLibrary

#define IncSubdir fontconfig

HEADERS=fcfreetype.h fcprivate.h fontconfig.h

BuildIncludes($(HEADERS),IncSubdir,..)
#if InstallFontconfigLibrary
InstallMultipleFlags($(HEADERS),$(INCDIR)/IncSubdir,$(INSTINCFLAGS))
#endif

#include <Threads.tmpl>

XCOMM Assume FreeType is at least version 2.1.8 or later
FREETYPE_DEFINES=-DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR \
	-DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT \
	-DHAVE_FT_HAS_PS_GLYPH_NAMES

FONTCONFIGSRC=$(TOP)/extras/fontconfig

INCLUDES= $(EXPATINCLUDES) $(FREETYPE2INCLUDES) -I$(FONTCONFIGSRC)/src \
	-I$(FONTCONFIGSRC) -I$(XBUILDINCDIR)

#if HasMkstemp
MKSTEMP_DEFINES=-DHAVE_MKSTEMP
#endif

#if !defined(Win32Architecture) && !defined(OS2Architecture)
LINK_DEFINES=-DHAVE_LINK
GETUID_DEFINES=-DHAVE_GETUID -DHAVE_GETEUID
#endif

DEFINES=-DFC_DEFAULT_FONTS='"$(FC_DEFAULT_FONTS)"' -DHAVE_EXPAT -DXFREE86_FT2 \
	-DFONTCONFIG_PATH='"$(FONTCONFIGFONTSCONFDIR)"' \
	$(MKSTEMP_DEFINES) $(FREETYPE_DEFINES) $(LINK_DEFINES) $(GETUID_DEFINES)

REQUIREDLIBS=$(LDPRELIBS) $(FREETYPE2LIB) $(EXPATLIB)

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

OBJS=fcatomic.o fcblanks.o fccache.o fccfg.o fccharset.o fcdbg.o \
     fcdefault.o fcdir.o fcfreetype.o fcfs.o fcinit.o fclang.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

DependTarget()

FONTCONFIG_VERSION=2.2.2

#ifndef FontconfigFontsConfDir
#if NothingOutsideProjectRoot
#define FontconfigFontsConfDir $(PROJECTROOT)/etc/fonts
#else
#define FontconfigFontsConfDir /etc/fonts
#endif
#endif

FONTCONFIGFONTSCONFDIR=FontconfigFontsConfDir

#ifdef DarwinArchitecture
MACFONTDIRS = ~/Library/Fonts /Library/Fonts /Network/Library/Fonts \
              /System/Library/Fonts
#endif

#if NothingOutsideProjectRoot
FONTDIRS=$(FONTDIR)
#else
DEFAULTFONTDIRS=/usr/share/fonts
FONTDIRS=$(FONTDIR) $(MACFONTDIRS)
#endif

RPATH_CFLAG = HardCodeLibdirFlag

SUBSTVARS=prefix=$(PROJECTROOT) \
          exec_prefix=$(BINDIR) \
          libdir=$(USRLIBDIR) \
	  hardcode_libdir_flag_spec=$(RPATH_CFLAG) \
          includedir=$(INCROOT) \
          VERSION=$(FONTCONFIG_VERSION)

CONFIG_SUBST_PROG=sh ./config-subst

#if !(HasGnuMake)
#if (defined(SunArchitecture) && defined(SVR4Architecture)) || \
	defined(SCOArchitecture) || defined(USLArchitecture) || \
	defined(UnixWareArchitecture)
 XCOMM Required for the config-subst rules to work with Solaris make
 SHELL=/bin/ksh
#endif
#endif

#if InstallFontconfigLibrary
# ifndef InstallNamedTargetBackup
#  define InstallNamedTargetBackup(step,srcname,flags,dest,dstname)	@@\
step:: srcname								@@\
	MakeDir($(DESTDIR)dest)						@@\
	MoveToBakFile($(DESTDIR)dest/dstname)				@@\
	$(INSTALL) $(INSTALLFLAGS) flags srcname $(DESTDIR)dest/dstname
# endif /* InstallNamedTargetBackup */

# ifndef InstallNonExecFileBackup
#  define InstallNonExecFileBackup(file,dest)				@@\
InstallNamedTargetBackup(install,file,$(INSTDATFLAGS),dest,file)
# endif /* InstallNonExecFileBackup */

InstallNonExecFileBackup(fonts.conf,$(FONTCONFIGFONTSCONFDIR))
InstallNonExecFile(fonts.dtd,$(FONTCONFIGFONTSCONFDIR))
#endif

all:: fonts.conf

fonts.conf: fonts.conf.in
	RemoveFile($@)
	DEFAULTFONTDIR=FC_DEFAULT_FONTS=$(DEFAULTFONTDIRS); \
	FONTDIR=FC_FONTPATH=`for i in  $(FONTDIRS); \
		do echo -n '<dir>'$$i'</dir> '; done;`; \
	FONTDIRDATE=FC_FONTDATE=`date;`;\
	$(CONFIG_SUBST_PROG) "$$DEFAULTFONTDIR" "$$FONTDIR" "$$FONTDIRDATE" \
		< fonts.conf.in > $@;

clean::
	RemoveFile(fonts.conf)

#if SharedLibFontconfig
# if defined(Win32Architecture) || defined(OS2Architecture)
all:: fontconfig-def.cpp 

fontconfig-def.cpp: fontconfig.def.in
	RemoveFile($@)
	MAJ=`expr "$(SOFONTCONFIGREV)" : "\([^\.]*\)\..*"`; \
	MIN=`expr "$(SOFONTCONFIGREV)" : "[^\.]*\.\([^\.]*\)\.*.*"` || true;\
	TEEN=`expr "$(SOFONTCONFIGREV)" : "[^\.]*\.[^\.]*\.*\(.*\)"` || true;\
	CUR=LT_CURRENT=`expr $$MAJ + $$MIN`;\
	REV=LT_REVISION=$$TEEN;\
	$(CONFIG_SUBST_PROG) $$CUR $$REV < fontconfig.def.in > $@

clean::
	RemoveFile(fontconfig-def.cpp)
# endif
#endif

all:: fontconfig.pc

fontconfig.pc: fontconfig.pc.in
	RemoveFile($@)
	$(CONFIG_SUBST_PROG) $(SUBSTVARS) < fontconfig.pc.in > $@

#if InstallFontconfigLibrary
InstallNonExecFile(fontconfig.pc,$(USRLIBDIR)/pkgconfig)
#endif

clean::
	RemoveFile(fontconfig.pc)

/* config stuff */
LinkSourceFile(fontconfig.pc.in,$(FONTCONFIGSRC))
LinkSourceFile(fonts.conf.in,$(FONTCONFIGSRC))
LinkSourceFile(fonts.dtd,$(FONTCONFIGSRC))

/* Source */
LinkSourceFile(fcatomic.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcblanks.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fccache.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fccfg.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fccharset.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcdbg.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcdefault.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcdir.c,$(FONTCONFIGSRC)/src)
/* LinkSourceFile(fcfreetype.c,$(FONTCONFIGSRC)/src) - use custom copy for now */
LinkSourceFile(fcfs.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcinit.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fclang.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fclist.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcmatch.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcmatrix.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcname.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcpat.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcstr.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fcxml.c,$(FONTCONFIGSRC)/src)
LinkSourceFile(fontconfig.def.in,$(FONTCONFIGSRC)/src)

/* Public headers */
LinkSourceFile(fcfreetype.h,$(FONTCONFIGSRC)/fontconfig)
LinkSourceFile(fcprivate.h,$(FONTCONFIGSRC)/fontconfig)
LinkSourceFile(fontconfig.h,$(FONTCONFIGSRC)/fontconfig)

/* Man pages */
LinkFile(FcAtomicCreate.man,$(FONTCONFIGSRC)/doc/FcAtomicCreate.3)
InstallGenManPage(FcAtomicCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicDeleteNew.man,$(FONTCONFIGSRC)/doc/FcAtomicDeleteNew.3)
InstallGenManPage(FcAtomicDeleteNew,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicDestroy.man,$(FONTCONFIGSRC)/doc/FcAtomicDestroy.3)
InstallGenManPage(FcAtomicDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicLock.man,$(FONTCONFIGSRC)/doc/FcAtomicLock.3)
InstallGenManPage(FcAtomicLock,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicNewFile.man,$(FONTCONFIGSRC)/doc/FcAtomicNewFile.3)
InstallGenManPage(FcAtomicNewFile,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicOrigFile.man,$(FONTCONFIGSRC)/doc/FcAtomicOrigFile.3)
InstallGenManPage(FcAtomicOrigFile,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicReplaceOrig.man,$(FONTCONFIGSRC)/doc/FcAtomicReplaceOrig.3)
InstallGenManPage(FcAtomicReplaceOrig,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcAtomicUnlock.man,$(FONTCONFIGSRC)/doc/FcAtomicUnlock.3)
InstallGenManPage(FcAtomicUnlock,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcBlanksAdd.man,$(FONTCONFIGSRC)/doc/FcBlanksAdd.3)
InstallGenManPage(FcBlanksAdd,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcBlanksCreate.man,$(FONTCONFIGSRC)/doc/FcBlanksCreate.3)
InstallGenManPage(FcBlanksCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcBlanksDestroy.man,$(FONTCONFIGSRC)/doc/FcBlanksDestroy.3)
InstallGenManPage(FcBlanksDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcBlanksIsMember.man,$(FONTCONFIGSRC)/doc/FcBlanksIsMember.3)
InstallGenManPage(FcBlanksIsMember,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetAddChar.man,$(FONTCONFIGSRC)/doc/FcCharSetAddChar.3)
InstallGenManPage(FcCharSetAddChar,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetCopy.man,$(FONTCONFIGSRC)/doc/FcCharSetCopy.3)
InstallGenManPage(FcCharSetCopy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetCount.man,$(FONTCONFIGSRC)/doc/FcCharSetCount.3)
InstallGenManPage(FcCharSetCount,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetCreate.man,$(FONTCONFIGSRC)/doc/FcCharSetCreate.3)
InstallGenManPage(FcCharSetCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetDestroy.man,$(FONTCONFIGSRC)/doc/FcCharSetDestroy.3)
InstallGenManPage(FcCharSetDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetEqual.man,$(FONTCONFIGSRC)/doc/FcCharSetEqual.3)
InstallGenManPage(FcCharSetEqual,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetFirstPage.man,$(FONTCONFIGSRC)/doc/FcCharSetFirstPage.3)
InstallGenManPage(FcCharSetFirstPage,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetHasChar.man,$(FONTCONFIGSRC)/doc/FcCharSetHasChar.3)
InstallGenManPage(FcCharSetHasChar,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetIntersect.man,$(FONTCONFIGSRC)/doc/FcCharSetIntersect.3)
InstallGenManPage(FcCharSetIntersect,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetIntersectCount.man,$(FONTCONFIGSRC)/doc/FcCharSetIntersectCount.3)
InstallGenManPage(FcCharSetIntersectCount,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetIsSubset.man,$(FONTCONFIGSRC)/doc/FcCharSetIsSubset.3)
InstallGenManPage(FcCharSetIsSubset,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetNextPage.man,$(FONTCONFIGSRC)/doc/FcCharSetNextPage.3)
InstallGenManPage(FcCharSetNextPage,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetSubtract.man,$(FONTCONFIGSRC)/doc/FcCharSetSubtract.3)
InstallGenManPage(FcCharSetSubtract,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetSubtractCount.man,$(FONTCONFIGSRC)/doc/FcCharSetSubtractCount.3)
InstallGenManPage(FcCharSetSubtractCount,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcCharSetUnion.man,$(FONTCONFIGSRC)/doc/FcCharSetUnion.3)
InstallGenManPage(FcCharSetUnion,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigAppFontAddDir.man,$(FONTCONFIGSRC)/doc/FcConfigAppFontAddDir.3)
InstallGenManPage(FcConfigAppFontAddDir,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigAppFontAddFile.man,$(FONTCONFIGSRC)/doc/FcConfigAppFontAddFile.3)
InstallGenManPage(FcConfigAppFontAddFile,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigAppFontClear.man,$(FONTCONFIGSRC)/doc/FcConfigAppFontClear.3)
InstallGenManPage(FcConfigAppFontClear,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigBuildFonts.man,$(FONTCONFIGSRC)/doc/FcConfigBuildFonts.3)
InstallGenManPage(FcConfigBuildFonts,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigCreate.man,$(FONTCONFIGSRC)/doc/FcConfigCreate.3)
InstallGenManPage(FcConfigCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigDestroy.man,$(FONTCONFIGSRC)/doc/FcConfigDestroy.3)
InstallGenManPage(FcConfigDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigFilename.man,$(FONTCONFIGSRC)/doc/FcConfigFilename.3)
InstallGenManPage(FcConfigFilename,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetBlanks.man,$(FONTCONFIGSRC)/doc/FcConfigGetBlanks.3)
InstallGenManPage(FcConfigGetBlanks,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetCache.man,$(FONTCONFIGSRC)/doc/FcConfigGetCache.3)
InstallGenManPage(FcConfigGetCache,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetConfigDirs.man,$(FONTCONFIGSRC)/doc/FcConfigGetConfigDirs.3)
InstallGenManPage(FcConfigGetConfigDirs,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetConfigFiles.man,$(FONTCONFIGSRC)/doc/FcConfigGetConfigFiles.3)
InstallGenManPage(FcConfigGetConfigFiles,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetCurrent.man,$(FONTCONFIGSRC)/doc/FcConfigGetCurrent.3)
InstallGenManPage(FcConfigGetCurrent,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetFontDirs.man,$(FONTCONFIGSRC)/doc/FcConfigGetFontDirs.3)
InstallGenManPage(FcConfigGetFontDirs,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetFonts.man,$(FONTCONFIGSRC)/doc/FcConfigGetFonts.3)
InstallGenManPage(FcConfigGetFonts,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigGetRescanInverval.man,$(FONTCONFIGSRC)/doc/FcConfigGetRescanInverval.3)
InstallGenManPage(FcConfigGetRescanInverval,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigParseAndLoad.man,$(FONTCONFIGSRC)/doc/FcConfigParseAndLoad.3)
InstallGenManPage(FcConfigParseAndLoad,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigSetCurrent.man,$(FONTCONFIGSRC)/doc/FcConfigSetCurrent.3)
InstallGenManPage(FcConfigSetCurrent,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigSetRescanInverval.man,$(FONTCONFIGSRC)/doc/FcConfigSetRescanInverval.3)
InstallGenManPage(FcConfigSetRescanInverval,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigSubstitute.man,$(FONTCONFIGSRC)/doc/FcConfigSubstitute.3)
InstallGenManPage(FcConfigSubstitute,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigSubstituteWithPat.man,$(FONTCONFIGSRC)/doc/FcConfigSubstituteWithPat.3)
InstallGenManPage(FcConfigSubstituteWithPat,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcConfigUptoDate.man,$(FONTCONFIGSRC)/doc/FcConfigUptoDate.3)
InstallGenManPage(FcConfigUptoDate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcDefaultSubstitute.man,$(FONTCONFIGSRC)/doc/FcDefaultSubstitute.3)
InstallGenManPage(FcDefaultSubstitute,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcDirCacheValid.man,$(FONTCONFIGSRC)/doc/FcDirCacheValid.3)
InstallGenManPage(FcDirCacheValid,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcDirSave.man,$(FONTCONFIGSRC)/doc/FcDirSave.3)
InstallGenManPage(FcDirSave,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcDirScan.man,$(FONTCONFIGSRC)/doc/FcDirScan.3)
InstallGenManPage(FcDirScan,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFileScan.man,$(FONTCONFIGSRC)/doc/FcFileScan.3)
InstallGenManPage(FcFileScan,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFini.man,$(FONTCONFIGSRC)/doc/FcFini.3)
InstallGenManPage(FcFini,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontList.man,$(FONTCONFIGSRC)/doc/FcFontList.3)
InstallGenManPage(FcFontList,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontMatch.man,$(FONTCONFIGSRC)/doc/FcFontMatch.3)
InstallGenManPage(FcFontMatch,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontRenderPrepare.man,$(FONTCONFIGSRC)/doc/FcFontRenderPrepare.3)
InstallGenManPage(FcFontRenderPrepare,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontSetAdd.man,$(FONTCONFIGSRC)/doc/FcFontSetAdd.3)
InstallGenManPage(FcFontSetAdd,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontSetCreate.man,$(FONTCONFIGSRC)/doc/FcFontSetCreate.3)
InstallGenManPage(FcFontSetCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontSetDestroy.man,$(FONTCONFIGSRC)/doc/FcFontSetDestroy.3)
InstallGenManPage(FcFontSetDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFontSort.man,$(FONTCONFIGSRC)/doc/FcFontSort.3)
InstallGenManPage(FcFontSort,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFreeTypeCharIndex.man,$(FONTCONFIGSRC)/doc/FcFreeTypeCharIndex.3)
InstallGenManPage(FcFreeTypeCharIndex,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFreeTypeCharSet.man,$(FONTCONFIGSRC)/doc/FcFreeTypeCharSet.3)
InstallGenManPage(FcFreeTypeCharSet,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcFreeTypeQuery.man,$(FONTCONFIGSRC)/doc/FcFreeTypeQuery.3)
InstallGenManPage(FcFreeTypeQuery,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcGetVersion.man,$(FONTCONFIGSRC)/doc/FcGetVersion.3)
InstallGenManPage(FcGetVersion,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcInit.man,$(FONTCONFIGSRC)/doc/FcInit.3)
InstallGenManPage(FcInit,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcInitBringUptoDate.man,$(FONTCONFIGSRC)/doc/FcInitBringUptoDate.3)
InstallGenManPage(FcInitBringUptoDate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcInitLoadConfig.man,$(FONTCONFIGSRC)/doc/FcInitLoadConfig.3)
InstallGenManPage(FcInitLoadConfig,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcInitLoadConfigAndFonts.man,$(FONTCONFIGSRC)/doc/FcInitLoadConfigAndFonts.3)
InstallGenManPage(FcInitLoadConfigAndFonts,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcInitReinitialize.man,$(FONTCONFIGSRC)/doc/FcInitReinitialize.3)
InstallGenManPage(FcInitReinitialize,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixCopy.man,$(FONTCONFIGSRC)/doc/FcMatrixCopy.3)
InstallGenManPage(FcMatrixCopy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixEqual.man,$(FONTCONFIGSRC)/doc/FcMatrixEqual.3)
InstallGenManPage(FcMatrixEqual,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixInit.man,$(FONTCONFIGSRC)/doc/FcMatrixInit.3)
InstallGenManPage(FcMatrixInit,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixMultiply.man,$(FONTCONFIGSRC)/doc/FcMatrixMultiply.3)
InstallGenManPage(FcMatrixMultiply,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixRotate.man,$(FONTCONFIGSRC)/doc/FcMatrixRotate.3)
InstallGenManPage(FcMatrixRotate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixScale.man,$(FONTCONFIGSRC)/doc/FcMatrixScale.3)
InstallGenManPage(FcMatrixScale,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcMatrixShear.man,$(FONTCONFIGSRC)/doc/FcMatrixShear.3)
InstallGenManPage(FcMatrixShear,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameConstant.man,$(FONTCONFIGSRC)/doc/FcNameConstant.3)
InstallGenManPage(FcNameConstant,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameGetConstant.man,$(FONTCONFIGSRC)/doc/FcNameGetConstant.3)
InstallGenManPage(FcNameGetConstant,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameGetObjectType.man,$(FONTCONFIGSRC)/doc/FcNameGetObjectType.3)
InstallGenManPage(FcNameGetObjectType,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameParse.man,$(FONTCONFIGSRC)/doc/FcNameParse.3)
InstallGenManPage(FcNameParse,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameRegisterConstants.man,$(FONTCONFIGSRC)/doc/FcNameRegisterConstants.3)
InstallGenManPage(FcNameRegisterConstants,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameRegisterObjectTypes.man,$(FONTCONFIGSRC)/doc/FcNameRegisterObjectTypes.3)
InstallGenManPage(FcNameRegisterObjectTypes,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameUnparse.man,$(FONTCONFIGSRC)/doc/FcNameUnparse.3)
InstallGenManPage(FcNameUnparse,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameUnregisterConstants.man,$(FONTCONFIGSRC)/doc/FcNameUnregisterConstants.3)
InstallGenManPage(FcNameUnregisterConstants,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcNameUnregisterObjectTypes.man,$(FONTCONFIGSRC)/doc/FcNameUnregisterObjectTypes.3)
InstallGenManPage(FcNameUnregisterObjectTypes,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcObjectSetAdd.man,$(FONTCONFIGSRC)/doc/FcObjectSetAdd.3)
InstallGenManPage(FcObjectSetAdd,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcObjectSetBuild.man,$(FONTCONFIGSRC)/doc/FcObjectSetBuild.3)
InstallGenManPage(FcObjectSetBuild,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcObjectSetCreate.man,$(FONTCONFIGSRC)/doc/FcObjectSetCreate.3)
InstallGenManPage(FcObjectSetCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcObjectSetDestroy.man,$(FONTCONFIGSRC)/doc/FcObjectSetDestroy.3)
InstallGenManPage(FcObjectSetDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternAdd-Type.man,$(FONTCONFIGSRC)/doc/FcPatternAdd-Type.3)
InstallGenManPage(FcPatternAdd-Type,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternAdd.man,$(FONTCONFIGSRC)/doc/FcPatternAdd.3)
InstallGenManPage(FcPatternAdd,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternAddWeak.man,$(FONTCONFIGSRC)/doc/FcPatternAddWeak.3)
InstallGenManPage(FcPatternAddWeak,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternBuild.man,$(FONTCONFIGSRC)/doc/FcPatternBuild.3)
InstallGenManPage(FcPatternBuild,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternCreate.man,$(FONTCONFIGSRC)/doc/FcPatternCreate.3)
InstallGenManPage(FcPatternCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternDel.man,$(FONTCONFIGSRC)/doc/FcPatternDel.3)
InstallGenManPage(FcPatternDel,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternDestroy.man,$(FONTCONFIGSRC)/doc/FcPatternDestroy.3)
InstallGenManPage(FcPatternDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternEqual.man,$(FONTCONFIGSRC)/doc/FcPatternEqual.3)
InstallGenManPage(FcPatternEqual,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternEqualSubset.man,$(FONTCONFIGSRC)/doc/FcPatternEqualSubset.3)
InstallGenManPage(FcPatternEqualSubset,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternGet-Type.man,$(FONTCONFIGSRC)/doc/FcPatternGet-Type.3)
InstallGenManPage(FcPatternGet-Type,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternGet.man,$(FONTCONFIGSRC)/doc/FcPatternGet.3)
InstallGenManPage(FcPatternGet,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternHash.man,$(FONTCONFIGSRC)/doc/FcPatternHash.3)
InstallGenManPage(FcPatternHash,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternPrint.man,$(FONTCONFIGSRC)/doc/FcPatternPrint.3)
InstallGenManPage(FcPatternPrint,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcPatternRemove.man,$(FONTCONFIGSRC)/doc/FcPatternRemove.3)
InstallGenManPage(FcPatternRemove,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrBasename.man,$(FONTCONFIGSRC)/doc/FcStrBasename.3)
InstallGenManPage(FcStrBasename,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrCmpIgnoreCase.man,$(FONTCONFIGSRC)/doc/FcStrCmpIgnoreCase.3)
InstallGenManPage(FcStrCmpIgnoreCase,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrCopy.man,$(FONTCONFIGSRC)/doc/FcStrCopy.3)
InstallGenManPage(FcStrCopy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrCopyFilename.man,$(FONTCONFIGSRC)/doc/FcStrCopyFilename.3)
InstallGenManPage(FcStrCopyFilename,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrDirname.man,$(FONTCONFIGSRC)/doc/FcStrDirname.3)
InstallGenManPage(FcStrDirname,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrDowncase.man,$(FONTCONFIGSRC)/doc/FcStrDowncase.3)
InstallGenManPage(FcStrDowncase,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrListCreate.man,$(FONTCONFIGSRC)/doc/FcStrListCreate.3)
InstallGenManPage(FcStrListCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrListDone.man,$(FONTCONFIGSRC)/doc/FcStrListDone.3)
InstallGenManPage(FcStrListDone,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrListNext.man,$(FONTCONFIGSRC)/doc/FcStrListNext.3)
InstallGenManPage(FcStrListNext,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetAdd.man,$(FONTCONFIGSRC)/doc/FcStrSetAdd.3)
InstallGenManPage(FcStrSetAdd,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetAddFilename.man,$(FONTCONFIGSRC)/doc/FcStrSetAddFilename.3)
InstallGenManPage(FcStrSetAddFilename,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetCreate.man,$(FONTCONFIGSRC)/doc/FcStrSetCreate.3)
InstallGenManPage(FcStrSetCreate,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetDel.man,$(FONTCONFIGSRC)/doc/FcStrSetDel.3)
InstallGenManPage(FcStrSetDel,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetDestroy.man,$(FONTCONFIGSRC)/doc/FcStrSetDestroy.3)
InstallGenManPage(FcStrSetDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrSetMember.man,$(FONTCONFIGSRC)/doc/FcStrSetMember.3)
InstallGenManPage(FcStrSetMember,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrStr.man,$(FONTCONFIGSRC)/doc/FcStrStr.3)
InstallGenManPage(FcStrStr,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcStrStrIgnoreCase.man,$(FONTCONFIGSRC)/doc/FcStrStrIgnoreCase.3)
InstallGenManPage(FcStrStrIgnoreCase,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcUcs4ToUtf8.man,$(FONTCONFIGSRC)/doc/FcUcs4ToUtf8.3)
InstallGenManPage(FcUcs4ToUtf8,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcUtf16Len.man,$(FONTCONFIGSRC)/doc/FcUtf16Len.3)
InstallGenManPage(FcUtf16Len,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcUtf16ToUcs4.man,$(FONTCONFIGSRC)/doc/FcUtf16ToUcs4.3)
InstallGenManPage(FcUtf16ToUcs4,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcUtf8Len.man,$(FONTCONFIGSRC)/doc/FcUtf8Len.3)
InstallGenManPage(FcUtf8Len,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcUtf8ToUcs4.man,$(FONTCONFIGSRC)/doc/FcUtf8ToUcs4.3)
InstallGenManPage(FcUtf8ToUcs4,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcValueDestroy.man,$(FONTCONFIGSRC)/doc/FcValueDestroy.3)
InstallGenManPage(FcValueDestroy,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(FcValueSave.man,$(FONTCONFIGSRC)/doc/FcValueSave.3)
InstallGenManPage(FcValueSave,${LIBMANDIR},${LIBMANSUFFIX})
LinkFile(fonts-conf.man,$(FONTCONFIGSRC)/doc/fonts-conf.5)
InstallGenManPage(fonts-conf,${FILEMANDIR},${FILEMANSUFFIX})