xorglibxext.mk (726B)
1 TARG = xorglibxext 2 DEPS = xorglibx11 xorgxproto xorgxextproto xorglibxau 3 4 <$mkbuild/mk.common-noinst 5 6 xorglibxext:QV: 7 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 8 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 9 export XEXT_CFLAGS="-I${xorgxextproto_libdir}" 10 export XEXT_LIBS="-L${xorgxextproto_libdir}" 11 # HAVE__XEATDATAWORDS is set, but it isn't detected with configure 12 # set set it. 13 CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ 14 --build="${TOOLCHAIN_TRIPLET}" \ 15 --host="${HOST_TOOLCHAIN_TRIPLET}" \ 16 --prefix="$PREFIX" \ 17 --mandir="$ROOT/share/man" \ 18 --disable-shared \ 19 --enable-static 20 make -j$nprocs DESTDIR="`pwd`/lib/" install 21 # remove .la files for now ? 22 find `pwd`/lib -iname "*.la" -exec rm {} \;