]> git.wh0rd.org - fontconfig.git/blob - local.def
483dd76904ffce4fab76efedf7c0f717cfa4596f
[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 #if SharedLibFontconfig
30 #define SharedFontconfigRev 1.0
31 SharedLibReferences(FONTCONFIG,fontconfig,$(FONTCONFIGSRC),SOXLIBREV,SharedFontconfigRev)
32 #else
33 ProjectUnsharedLibReferences(FONTCONFIG,fontconfig,$(FONTCONFIGSRC),BuildLibDir)
34 #endif
35
36 #undef LinkBuildLibrary
37 #define LinkBuildLibrary(lib) MakeDir($(BUILDLIBDIR)) @@\
38 RemoveFile($(BUILDLIBDIR)/lib) @@\
39 cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .
40 #undef _LinkBuildLibrary
41 #define _LinkBuildLibrary(lib) LinkBuildLibrary(lib)
42
43 #undef LinkBuildLibraryMaybe
44 #define LinkBuildLibraryMaybe(lib,doit) MakeDir($(BUILDLIBDIR)) @@\
45 @if doit; then (set -x; \ @@\
46 RemoveFile($(BUILDLIBDIR)/lib); \ @@\
47 cd $(BUILDLIBDIR) && $(LN) $(BUILDLIBTOP)/$(CURRENT_DIR)/lib .); fi
48
49 #ifdef LdPreLibs
50 # undef LdPreLibs
51 #endif
52 #define LdPreLibs -L$(BUILDLIBDIR) LdPreLib XLdPreLibs
53
54 LDPRELIBS=LdPreLibs