xorglibxft.mk (1057B)
1 TARG = xorglibxft 2 DEPS = xorglibx11 xorgxproto freetype fontconfig xorglibxrender xorgrenderproto 3 4 <$mkbuild/mk.common-noinst 5 6 xorglibxft:QV: 7 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 8 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 9 #export XRENDER_CFLAGS="-I${xorglibxrender_includedir}" 10 #export XRENDER_LIBS="-lX11 -lXrender -lxcb -lXau -lXdmcp -L${xorglibxrender_libdir}" 11 export XRENDER_CFLAGS="${CFLAGS}" 12 export XRENDER_LIBS="${LDFLAGS}" 13 # include dir is "freetype" not "freetype2". 14 export FREETYPE_CFLAGS="-I${freetype_includedir}../" 15 # export FREETYPE_LIBS="-lfreetype -L${freetype_libdir}" 16 export FREETYPE_LIBS="${LDFLAGS}" 17 export FONTCONFIG_CFLAGS="${CFLAGS}" 18 export FONTCONFIG_LIBS="${LDFLAGS}" 19 #export FONTCONFIG_CFLAGS="-I${fontconfig_includedir}" 20 #export FONTCONFIG_LIBS="-lfontconfig -L${fontconfig_libdir}" 21 CC="$CC" ./configure \ 22 --prefix="$PREFIX" \ 23 --mandir="$ROOT/share/man" \ 24 --disable-shared \ 25 --enable-static 26 make -j$nprocs install DESTDIR="`pwd`/lib" 27 # remove .la files for now ? 28 find `pwd`/lib -iname "*.la" -exec rm {} \;