1 # $NetBSD: Makefile,v 1.17 2014/07/16 14:05:04 nakayama Exp $
7 .PATH
: ${X11SRCDIR.
${LIB}}/src
35 .PATH
: ${X11SRCDIR.
${LIB}}/doc
36 MAN
= FcAtomicCreate
.3 FcAtomicDeleteNew
.3 FcAtomicDestroy
.3 FcAtomicLock
.3 \
37 FcAtomicNewFile
.3 FcAtomicOrigFile
.3 FcAtomicReplaceOrig
.3 \
38 FcAtomicUnlock
.3 FcBlanksAdd
.3 FcBlanksCreate
.3 FcBlanksDestroy
.3 \
39 FcBlanksIsMember
.3 FcCacheCopySet
.3 FcCacheDir
.3 FcCacheNumFont
.3 \
40 FcCacheNumSubdir
.3 FcCacheSubdir
.3 FcCharSetAddChar
.3 FcCharSetCopy
.3 \
41 FcCharSetCount
.3 FcCharSetCoverage
.3 FcCharSetCreate
.3 \
42 FcCharSetDestroy
.3 FcCharSetEqual
.3 FcCharSetFirstPage
.3 \
43 FcCharSetHasChar
.3 FcCharSetIntersect
.3 FcCharSetIntersectCount
.3 \
44 FcCharSetIsSubset
.3 FcCharSetNew
.3 FcCharSetNextPage
.3 \
45 FcCharSetSubtract
.3 FcCharSetSubtractCount
.3 FcCharSetUnion
.3 \
46 FcConfigAppFontAddDir
.3 FcConfigAppFontAddFile
.3 \
47 FcConfigAppFontClear
.3 FcConfigBuildFonts
.3 FcConfigCreate
.3 \
48 FcConfigDestroy
.3 FcConfigEnableHome
.3 FcConfigFilename
.3 \
49 FcConfigGetBlanks
.3 FcConfigGetCache
.3 FcConfigGetCacheDirs
.3 \
50 FcConfigGetConfigDirs
.3 FcConfigGetConfigFiles
.3 FcConfigGetCurrent
.3 \
51 FcConfigGetFontDirs
.3 FcConfigGetFonts
.3 FcConfigGetRescanInterval
.3 \
52 FcConfigHome
.3 FcConfigParseAndLoad
.3 FcConfigSetCurrent
.3 \
53 FcConfigSetRescanInterval
.3 FcConfigSubstitute
.3 \
54 FcConfigSubstituteWithPat
.3 FcConfigUptoDate
.3 FcDefaultSubstitute
.3 \
55 FcDirCacheLoad
.3 FcDirCacheLoadFile
.3 FcDirCacheRead
.3 \
56 FcDirCacheUnlink
.3 FcDirCacheUnload
.3 FcDirCacheValid
.3 FcDirSave
.3 \
57 FcDirScan
.3 FcFileIsDir
.3 FcFileScan
.3 FcFini
.3 FcFontList
.3 \
58 FcFontMatch
.3 FcFontRenderPrepare
.3 FcFontSetAdd
.3 FcFontSetCreate
.3 \
59 FcFontSetDestroy
.3 FcFontSetList
.3 FcFontSetMatch
.3 FcFontSetPrint
.3 \
60 FcFontSetSort
.3 FcFontSetSortDestroy
.3 FcFontSort
.3 \
61 FcFreeTypeCharIndex
.3 FcFreeTypeCharSet
.3 \
62 FcFreeTypeCharSetAndSpacing
.3 FcFreeTypeQuery
.3 \
63 FcFreeTypeQueryFace
.3 FcGetLangs
.3 FcGetVersion
.3 FcInit
.3 \
64 FcInitBringUptoDate
.3 FcInitLoadConfig
.3 FcInitLoadConfigAndFonts
.3 \
65 FcInitReinitialize
.3 FcIsLower
.3 FcIsUpper
.3 FcLangGetCharSet
.3 \
66 FcLangSetAdd
.3 FcLangSetCompare
.3 FcLangSetContains
.3 FcLangSetCopy
.3 \
67 FcLangSetCreate
.3 FcLangSetDestroy
.3 FcLangSetEqual
.3 \
68 FcLangSetHasLang
.3 FcLangSetHash
.3 FcMatrixCopy
.3 FcMatrixEqual
.3 \
69 FcMatrixInit
.3 FcMatrixMultiply
.3 FcMatrixRotate
.3 FcMatrixScale
.3 \
70 FcMatrixShear
.3 FcNameConstant
.3 FcNameGetConstant
.3 \
71 FcNameGetObjectType
.3 FcNameParse
.3 FcNameRegisterConstants
.3 \
72 FcNameRegisterObjectTypes
.3 FcNameUnparse
.3 \
73 FcNameUnregisterConstants
.3 FcNameUnregisterObjectTypes
.3 \
74 FcObjectSetAdd
.3 FcObjectSetBuild
.3 FcObjectSetCreate
.3 \
75 FcObjectSetDestroy
.3 FcPatternAdd-Type
.3 FcPatternAdd
.3 \
76 FcPatternAddWeak
.3 FcPatternBuild
.3 FcPatternCreate
.3 FcPatternDel
.3 \
77 FcPatternDestroy
.3 FcPatternDuplicate
.3 FcPatternEqual
.3 \
78 FcPatternEqualSubset
.3 FcPatternGet-Type
.3 FcPatternGet
.3 \
79 FcPatternHash
.3 FcPatternPrint
.3 FcPatternReference
.3 \
80 FcPatternRemove
.3 FcStrBasename
.3 FcStrCmp
.3 FcStrCmpIgnoreCase
.3 \
81 FcStrCopy
.3 FcStrCopyFilename
.3 FcStrDirname
.3 FcStrDowncase
.3 \
82 FcStrFree
.3 FcStrListCreate
.3 FcStrListDone
.3 FcStrListNext
.3 \
83 FcStrPlus
.3 FcStrSetAdd
.3 FcStrSetAddFilename
.3 FcStrSetCreate
.3 \
84 FcStrSetDel
.3 FcStrSetDestroy
.3 FcStrSetEqual
.3 FcStrSetMember
.3 \
85 FcStrStr
.3 FcStrStrIgnoreCase
.3 FcToLower
.3 FcUcs4ToUtf8.3 \
86 FcUtf16Len
.3 FcUtf16ToUcs4.3 FcUtf8Len
.3 FcUtf8ToUcs4.3 \
87 FcValueDestroy
.3 FcValueEqual
.3 FcValuePrint
.3 FcValueSave
.3 \
88 FcCacheCreateTagFile
.3 FcCharSetDelChar
.3 FcGetDefaultLangs
.3 \
89 FcLangSetDel
.3 FcLangSetSubtract
.3 FcLangSetUnion
.3
94 expat
${NETBSDSRCDIR}/external
/mit
/expat
/lib
/libexpat \
95 freetype
${.CURDIR
}/..
/..
/freetype
97 # XXX FONTCONFIG_PATH was arbitrarily chosen
98 FONTCONFIG_PATH
=/etc
/fonts
99 CPPFLAGS
+= -DHAVE_CONFIG_H
100 CPPFLAGS
+= -DFONTCONFIG_PATH
='"${FONTCONFIG_PATH}"' \
101 -DFC_DEFAULT_FONTS
='"${X11FONTDIR}"' \
102 -DFC_CACHEDIR
='"/var/cache/fontconfig"' \
103 -DHAVE_FT_BITMAP_SIZE_Y_PPEM \
104 -DHAVE_FT_GET_BDF_PROPERTY \
105 -DHAVE_FT_GET_NEXT_CHAR \
106 -DHAVE_FT_GET_PS_FONT_INFO \
107 -DHAVE_FT_GET_X11_FONT_FORMAT \
108 -DHAVE_FT_HAS_PS_GLYPH_NAMES \
109 -DHAVE_EXPAT
-DXFREE86_FT2
-DHAVE_INTTYPES_H \
110 -DHAVE_STDINT_H
-DHAVE_RANDOM
112 CPPFLAGS
+= -DFC_NO_MT
=1
113 .
endif # defined(__MINIX)
115 CPPFLAGS
+= ${X11FLAGS.THREADLIB
}
116 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/freetype2 \
117 -I
${X11SRCDIR.freetype
}/src \
118 -I
${X11SRCDIR.freetype
}/include \
119 -I
${X11SRCDIR.
${LIB}}/..
/include \
121 -I
${X11SRCDIR.
${LIB}}
123 .
include "Makefile.fcarch"
125 CLEANFILES
+= fcarch.h
127 PKGCONFIG
= fontconfig
128 PKGCONFIG_SED_FLAGS
= \
129 -e
"s,@sysconfdir@,${X11ETCDIR},; \
130 s,@localstatedir@,/var,; \
131 s,@BASECONFIGDIR@,/etc/fonts,; \
132 s,@fc_cachedir@,${FONTCONFIG_PATH},"
135 CPPFLAGS.fcxml.c
= -Wno-error
137 CWARNFLAGS.clang
+= -Wno-pointer-sign
-Wno-switch
139 .
include <bsd.x11.mk
>
140 .
include <bsd.lib.mk
>