xorglibdrm.mk (596B)
1 TARG = xorglibdrm 2 DEPS = libpthreadstubs xorglibpciaccess 3 4 <$mkbuild/mk.common-noinst 5 6 xorglibdrm:QV: 7 export CFLAGS="$CFLAGS $DEPS_CFLAGS" 8 export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS" 9 export PTHREADSTUBS_CFLAGS="${CFLAGS}" 10 export PTHREADSTUBS_LIBS="${LDFLAGS}" 11 export PCIACCESS_CFLAGS="${CFLAGS}" 12 export PCIACCESS_LIBS="${LDFLAGS}" 13 CC="$CC" ./configure \ 14 --prefix="$PREFIX" \ 15 --mandir="$ROOT/share/man" \ 16 --disable-nouveau \ 17 --disable-vmwgfx \ 18 --disable-shared \ 19 --enable-static 20 make -j$nprocs 21 make -j$nprocs install DESTDIR=`pwd`/lib 22 find `pwd`/lib -iname "*.la" -exec rm {} \;