ports

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

xorglibxinerama.mk (770B)


      1 TARG = xorglibxinerama
      2 DEPS = xorglibx11 xorgxproto xorglibxext xorgxineramaproto xorglibxau
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 xorglibxinerama:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	export XINERAMA_CFLAGS="-I${xorgxineramaproto_includedir}"
     10 	export XINERAMA_LIBS="-L${xorgxineramaproto_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 {} \;