Clean up some coverage files; a few accidentally included PUA values and
[platform/upstream/fontconfig.git] / local.def
1 #ifndef SharedLibFontconfig
2 #define SharedLibFontconfig             YES
3 #endif
4
5 #ifndef NormalLibFontconfig
6 #define NormalLibFontconfig (!SharedLibFontconfig | ForceNormalLib)
7 #endif
8
9 #ifndef DebugLibFontconfig
10 #define DebugLibFontconfig              NO
11 #endif
12
13 #ifndef ProfileLibFontconfig
14 #define ProfileLibFontconfig            NO
15 #endif
16
17 #define _FUse(a,b) b hello
18 #if (defined(__STDC__) && !defined(UnixCpp)) || defined(AnsiCpp)
19 # define _FUseCat(a,b,c) b##c fllop
20 #else
21 # define _FUseCat(a,b,c) b/**/c
22 #endif
23
24 #undef _Use
25 #undef _UseCat
26 #define _Use    _FUse
27 #define _UseCat _FUseCat
28
29 #ifndef ExpatClientLibs
30 #define ExpatClientLibs -lexpat
31 #endif
32 #ifndef ExpatClientDepLibs
33 #define ExpatClientDepLibs
34 #endif
35
36 #ifndef FontconfigClientDepLibs
37 #define FontconfigClientDepLibs $(DEPFONTCONFIGLIB) $(DEPFREETYPE2LIB) ExpatClientDepLibs
38 #endif
39 #ifndef FontconfigClientLibs
40 #define FontconfigClientLibs $(FONTCONFIGLIB) $(FREETYPE2LIB) ExpatClientLibs
41 #endif
42
43 #if SharedLibFontconfig
44 #define SharedFontconfigRev 1.0
45 SharedLibReferences(FONTCONFIG,fontconfig,$(FONTCONFIGSRC),SOXLIBREV,SharedFontconfigRev)
46 #else
47 ProjectUnsharedLibReferences(FONTCONFIG,fontconfig,$(FONTCONFIGSRC),BuildLibDir)
48 #endif
49
50 FCCACHE=$(TOP)/fc-cache/fc-cache
51
52 #undef LinkBuildLibrary
53 #define LinkBuildLibrary(lib) MakeDir($(BUILDLIBDIR))                   @@\
54         RemoveFile($(BUILDLIBDIR)/lib)                                  @@\
55         cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .
56 #undef _LinkBuildLibrary
57 #define _LinkBuildLibrary(lib) LinkBuildLibrary(lib)
58
59 #undef LinkBuildLibraryMaybe
60 #define LinkBuildLibraryMaybe(lib,doit) MakeDir($(BUILDLIBDIR))         @@\
61         @if doit; then (set -x; \                                       @@\
62           RemoveFile($(BUILDLIBDIR)/lib); \                             @@\
63           cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .); fi
64
65 #ifdef LdPreLibs
66 # undef LdPreLibs
67 #endif
68 #define LdPreLibs -L$(BUILDLIBDIR) LdPreLib XLdPreLibs
69
70 LDPRELIBS=LdPreLibs