ports

zandra's ports tree
git clone git://zandra.org/ports
Log | Files | Refs | README | LICENSE

mpc.mk (434B)


      1 TARG = mpc
      2 DEPS = gmp mpfr
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 mpc:QV:
      7 	CC="$CC" ./configure \
      8 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
      9 		--prefix="$PREFIX" \
     10 		--disable-shared \
     11 		--enable-static \
     12 		--with-gmp-include=$gmp_includedir \
     13 		--with-gmp-lib=$gmp_libdir \
     14 		--with-mpfr-include=$mpfr_includedir \
     15 		--with-mpfr-lib=$mpfr_libdir
     16 	make -j$nprocs
     17 	make DESTDIR=`pwd`/lib install
     18 
     19 install:QV:
     20 	make -j$nprocs install DESTDIR="$ROOT"