Sync usage with man page.
[netbsd-mini2440.git] / external / mit / xorg / lib / fontconfig / src / Makefile
blob12e2d95ad72d3d79a228f76a72da4ad52aad900b
1 # $NetBSD: Makefile,v 1.4 2008/10/05 18:32:40 cube Exp $
3 .include <bsd.own.mk>
5 LIB= fontconfig
7 .PATH: ${X11SRCDIR.${LIB}}/src
8 SRCS= fcatomic.c fcblanks.c fccache.c fccfg.c fccharset.c fcdbg.c \
9 fcdefault.c fcdir.c fcfreetype.c fcfs.c fcinit.c fclang.c \
10 fclist.c fcmatch.c fcmatrix.c fcname.c fcpat.c fcserialize.c \
11 fcstr.c fcxml.c ftglue.h ftglue.c
13 .PATH: ${X11SRCDIR.${LIB}}/doc
14 MAN= FcAtomicCreate.3 FcAtomicDeleteNew.3 FcAtomicDestroy.3 FcAtomicLock.3 \
15 FcAtomicNewFile.3 FcAtomicOrigFile.3 FcAtomicReplaceOrig.3 \
16 FcAtomicUnlock.3 FcBlanksAdd.3 FcBlanksCreate.3 FcBlanksDestroy.3 \
17 FcBlanksIsMember.3 FcCacheCopySet.3 FcCacheDir.3 FcCacheNumFont.3 \
18 FcCacheNumSubdir.3 FcCacheSubdir.3 FcCharSetAddChar.3 FcCharSetCopy.3 \
19 FcCharSetCount.3 FcCharSetCoverage.3 FcCharSetCreate.3 \
20 FcCharSetDestroy.3 FcCharSetEqual.3 FcCharSetFirstPage.3 \
21 FcCharSetHasChar.3 FcCharSetIntersect.3 FcCharSetIntersectCount.3 \
22 FcCharSetIsSubset.3 FcCharSetNew.3 FcCharSetNextPage.3 \
23 FcCharSetSubtract.3 FcCharSetSubtractCount.3 FcCharSetUnion.3 \
24 FcConfigAppFontAddDir.3 FcConfigAppFontAddFile.3 \
25 FcConfigAppFontClear.3 FcConfigBuildFonts.3 FcConfigCreate.3 \
26 FcConfigDestroy.3 FcConfigEnableHome.3 FcConfigFilename.3 \
27 FcConfigGetBlanks.3 FcConfigGetCache.3 FcConfigGetCacheDirs.3 \
28 FcConfigGetConfigDirs.3 FcConfigGetConfigFiles.3 FcConfigGetCurrent.3 \
29 FcConfigGetFontDirs.3 FcConfigGetFonts.3 FcConfigGetRescanInterval.3 \
30 FcConfigHome.3 FcConfigParseAndLoad.3 FcConfigSetCurrent.3 \
31 FcConfigSetRescanInterval.3 FcConfigSubstitute.3 \
32 FcConfigSubstituteWithPat.3 FcConfigUptoDate.3 FcDefaultSubstitute.3 \
33 FcDirCacheLoad.3 FcDirCacheLoadFile.3 FcDirCacheRead.3 \
34 FcDirCacheUnlink.3 FcDirCacheUnload.3 FcDirCacheValid.3 FcDirSave.3 \
35 FcDirScan.3 FcFileIsDir.3 FcFileScan.3 FcFini.3 FcFontList.3 \
36 FcFontMatch.3 FcFontRenderPrepare.3 FcFontSetAdd.3 FcFontSetCreate.3 \
37 FcFontSetDestroy.3 FcFontSetList.3 FcFontSetMatch.3 FcFontSetPrint.3 \
38 FcFontSetSort.3 FcFontSetSortDestroy.3 FcFontSort.3 \
39 FcFreeTypeCharIndex.3 FcFreeTypeCharSet.3 \
40 FcFreeTypeCharSetAndSpacing.3 FcFreeTypeQuery.3 \
41 FcFreeTypeQueryFace.3 FcGetLangs.3 FcGetVersion.3 FcInit.3 \
42 FcInitBringUptoDate.3 FcInitLoadConfig.3 FcInitLoadConfigAndFonts.3 \
43 FcInitReinitialize.3 FcIsLower.3 FcIsUpper.3 FcLangGetCharSet.3 \
44 FcLangSetAdd.3 FcLangSetCompare.3 FcLangSetContains.3 FcLangSetCopy.3 \
45 FcLangSetCreate.3 FcLangSetDestroy.3 FcLangSetEqual.3 \
46 FcLangSetHasLang.3 FcLangSetHash.3 FcMatrixCopy.3 FcMatrixEqual.3 \
47 FcMatrixInit.3 FcMatrixMultiply.3 FcMatrixRotate.3 FcMatrixScale.3 \
48 FcMatrixShear.3 FcNameConstant.3 FcNameGetConstant.3 \
49 FcNameGetObjectType.3 FcNameParse.3 FcNameRegisterConstants.3 \
50 FcNameRegisterObjectTypes.3 FcNameUnparse.3 \
51 FcNameUnregisterConstants.3 FcNameUnregisterObjectTypes.3 \
52 FcObjectSetAdd.3 FcObjectSetBuild.3 FcObjectSetCreate.3 \
53 FcObjectSetDestroy.3 FcPatternAdd-Type.3 FcPatternAdd.3 \
54 FcPatternAddWeak.3 FcPatternBuild.3 FcPatternCreate.3 FcPatternDel.3 \
55 FcPatternDestroy.3 FcPatternDuplicate.3 FcPatternEqual.3 \
56 FcPatternEqualSubset.3 FcPatternGet-Type.3 FcPatternGet.3 \
57 FcPatternHash.3 FcPatternPrint.3 FcPatternReference.3 \
58 FcPatternRemove.3 FcStrBasename.3 FcStrCmp.3 FcStrCmpIgnoreCase.3 \
59 FcStrCopy.3 FcStrCopyFilename.3 FcStrDirname.3 FcStrDowncase.3 \
60 FcStrFree.3 FcStrListCreate.3 FcStrListDone.3 FcStrListNext.3 \
61 FcStrPlus.3 FcStrSetAdd.3 FcStrSetAddFilename.3 FcStrSetCreate.3 \
62 FcStrSetDel.3 FcStrSetDestroy.3 FcStrSetEqual.3 FcStrSetMember.3 \
63 FcStrStr.3 FcStrStrIgnoreCase.3 FcToLower.3 FcUcs4ToUtf8.3 \
64 FcUtf16Len.3 FcUtf16ToUcs4.3 FcUtf8Len.3 FcUtf8ToUcs4.3 \
65 FcValueDestroy.3 FcValueEqual.3 FcValuePrint.3 FcValueSave.3
66 MAN+= fonts-conf.5
68 LIBDPLIBS=\
69 expat ${.CURDIR}/../../expat \
70 freetype ${.CURDIR}/../../freetype
72 # XXX FONTCONFIG_PATH was arbitrarily chosen
73 CPPFLAGS+= -DFONTCONFIG_PATH='"/etc/fonts"' \
74 -DFC_DEFAULT_FONTS='"${X11FONTDIR}"' \
75 -DFC_CACHEDIR='"/var/cache/fontconfig"' \
76 -DHAVE_FT_BITMAP_SIZE_Y_PPEM \
77 -DHAVE_FT_GET_BDF_PROPERTY \
78 -DHAVE_FT_GET_NEXT_CHAR \
79 -DHAVE_FT_GET_PS_FONT_INFO \
80 -DHAVE_FT_GET_X11_FONT_FORMAT \
81 -DHAVE_FT_HAS_PS_GLYPH_NAMES \
82 -DHAVE_EXPAT -DXFREE86_FT2 -DHAVE_INTTYPES_H \
83 -DHAVE_STDINT_H -DHAVE_RANDOM
85 CPPFLAGS+= ${X11FLAGS.THREADLIB}
86 CPPFLAGS+= -I${DESTDIR}${X11INCDIR}/freetype2 \
87 -I${X11SRCDIR.freetype}/src \
88 -I${X11SRCDIR.freetype}/include \
89 -I${X11SRCDIR.${LIB}}/../include \
90 -I.
92 FCARCH_DEPFILE= fccache.c
93 .include "Makefile.fcarch"
95 CLEANFILES+= fcarch.h
97 PKGCONFIG= fontconfig
98 # fontconfig uses VERSION and not PACKAGE_VERSION
99 PKGCONFIG_VERSION.fontconfig= 2.6.0
101 .include <bsd.x11.mk>
102 .include <bsd.lib.mk>