ports

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

xorglibxdmcp.mk (727B)


      1 TARG = xorglibxdmcp
      2 DEPS = xorgxproto
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 xorglibxdmcp:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	export XDMCP_CFLAGS="-I${xorgxproto_includedir}"
     10 	export XDMCP_LIBS="-L${xorgxproto_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 	CC="$CC" ./configure \
     15         --build="${TOOLCHAIN_TRIPLET}" \
     16         --host="${HOST_TOOLCHAIN_TRIPLET}" \
     17 		--prefix="$PREFIX" \
     18 		--mandir="$ROOT/share/man" \
     19 		--disable-shared \
     20 		--enable-static
     21 	make -j$nprocs DESTDIR="`pwd`/lib/" install
     22 	# remove .la files for now ?
     23 	find `pwd`/lib -iname "*.la" -exec rm {} \;