ports

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

cares.mk (595B)


      1 LIB = cares
      2 INSTALL_LIB = lib/lib/libcares.a
      3 INSTALL_OTHER1 = ares_build.h ares_dns.h ares.h ares_rules.h ares_version.h
      4 INSTALL_OTHER1_DIR = /include
      5 
      6 <$mkbuild/mk.common
      7 
      8 cares:QV:
      9 	export CPPFLAGS="-D_BSD_SOURCE -D_GNU_SOURCE"
     10 	CC="${CC} -static" CFLAGS="" ./configure \
     11 		--build="${TOOLCHAIN_TRIPLET}" \
     12 		--host="${HOST_TOOLCHAIN_TRIPLET}" \
     13 		--prefix="$PREFIX" \
     14 		--mandir="$ROOT/share/man" \
     15 		--disable-werror \
     16 		--disable-shared \
     17 		--enable-static
     18 	make -j$nprocs
     19 	make -j$nprocs install DESTDIR=`pwd`/lib
     20 	# remove .la files for now ?
     21 	find `pwd`/lib -iname "*.la" -exec rm {} \;