ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

xorglibxrandr.mk (536B)


      1 TARG = xorglibxrandr
      2 DEPS = xorgxproto xorglibx11 xorglibxrender xorgrenderproto xorglibxext xorgrandrproto
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 xorglibxrandr:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	export RANDR_CFLAGS="${CFLAGS}"
     10 	export RANDR_LIBS="${LDFLAGS}"
     11 	CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \
     12 		--prefix="$PREFIX" \
     13 		--mandir="$ROOT/share/man"
     14 	make -j$nprocs DESTDIR="`pwd`/lib/" install
     15 	# remove .la files for now ?
     16 	find `pwd`/lib -iname "*.la" -exec rm {} \;