From fbb405f3b5f25353babee1e813eb86d53912503f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Fri, 31 May 2002 06:38:43 +0000 Subject: [PATCH] Fix up support for building Xft1, Xrender and fontconfig out of the tree --- fc-list/Imakefile | 5 +++++ local.def | 14 ++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/fc-list/Imakefile b/fc-list/Imakefile index 13a1280..d4016db 100644 --- a/fc-list/Imakefile +++ b/fc-list/Imakefile @@ -1,3 +1,8 @@ +#ifdef UseInstalled +/* building outside the tree, use private defines */ +#include "../local.def" +#endif + INCLUDES=$(FREETYPE2INCLUDES) $(LIBXML2INCLUDES) -I.. LOCAL_LIBRARIES=FontconfigClientLibs diff --git a/local.def b/local.def index 483dd76..aea4212 100644 --- a/local.def +++ b/local.def @@ -26,6 +26,20 @@ #define _Use _FUse #define _UseCat _FUseCat +#ifndef ExpatClientLibs +#define ExpatClientLibs -lexpat +#endif +#ifndef ExpatClientDepLibs +#define ExpatClientDepLibs +#endif + +#ifndef FontconfigClientDepLibs +#define FontconfigClientDepLibs $(DEPFONTCONFIGLIB) $(DEPFREETYPE2LIB) ExpatClientDepLibs +#endif +#ifndef FontconfigClientLibs +#define FontconfigClientLibs $(FONTCONFIGLIB) $(FREETYPE2LIB) ExpatClientLibs +#endif + #if SharedLibFontconfig #define SharedFontconfigRev 1.0 SharedLibReferences(FONTCONFIG,fontconfig,$(FONTCONFIGSRC),SOXLIBREV,SharedFontconfigRev) -- 2.39.5