ports

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

attr.mk (490B)


      1 TARG = attr
      2 
      3 <$mkbuild/mk.common-noinst
      4 
      5 attr:QV:
      6 	export CFLAGS="$CFLAGS"
      7 	export LDFLAGS="$LDFLAGS"
      8 	CC="$CC" ./configure \
      9 		--build="${TOOLCHAIN_TRIPLET}" \
     10 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
     11 		--prefix="$PREFIX" \
     12 		--disable-shared \
     13 		--enable-static
     14 	make -j$nprocs
     15 	# install lib for use as a dependency.
     16 	make -j$nprocs install DESTDIR="`pwd`/lib"
     17 	# remove .la files for now ?
     18 	find `pwd`/lib -iname "*.la" -exec rm {} \;
     19 
     20 install:QV:
     21 	make -j$nprocs install DESTDIR="$ROOT"