summaryrefslogtreecommitdiffstats
path: root/contrib/build-scripts/build-libevent-linux.sh
diff options
context:
space:
mode:
authorStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
committerStefan Radomski <github@mintwerk.de>2016-05-12 13:12:33 (GMT)
commitb62e7979600feee23dc7cdb61042a8fc7673122b (patch)
treef7351372f37979dd2d048e0b68a16a4cd3b2aadb /contrib/build-scripts/build-libevent-linux.sh
parent1b11b310be61e51b3ac5ebb83f7c8a33aef3d6e8 (diff)
downloaduscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.zip
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.gz
uscxml-b62e7979600feee23dc7cdb61042a8fc7673122b.tar.bz2
Major Refactoring v2.0
Diffstat (limited to 'contrib/build-scripts/build-libevent-linux.sh')
-rwxr-xr-xcontrib/build-scripts/build-libevent-linux.sh63
1 files changed, 0 insertions, 63 deletions
diff --git a/contrib/build-scripts/build-libevent-linux.sh b/contrib/build-scripts/build-libevent-linux.sh
deleted file mode 100755
index 401e16d..0000000
--- a/contrib/build-scripts/build-libevent-linux.sh
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/bash
-
-#
-# build libevent for linux
-#
-
-# exit on error
-set -e
-
-ME=`basename $0`
-DIR="$( cd "$( dirname "$0" )" && pwd )"
-CPUARCH=`uname -m`
-PLATFORM_ID=`${DIR}/platform-id-linux.sh`
-DEST_DIR="${DIR}/../prebuilt/${PLATFORM_ID}"
-
-if [ ! -f event.c ]; then
- echo
- echo "Cannot find event.c"
- echo "Run script from within libevent directory"
- echo
- exit
-fi
-
-#rm lib*.a
-
-if [ -f Makefile ]; then
- make clean
-fi
-
-./configure \
-CFLAGS="-g" \
-CXXFLAGS="-g" \
-LDFLAGS="-g" \
---enable-gcc-hardening \
---with-pic \
---prefix=${DEST_DIR}
-
-make
-cp ./.libs/libevent.a ./libevent_d.a
-cp ./.libs/libevent_core.a ./libevent_core_d.a
-cp ./.libs/libevent_extra.a ./libevent_extra_d.a
-cp ./.libs/libevent_openssl.a ./libevent_openssl_d.a
-cp ./.libs/libevent_pthreads.a ./libevent_pthreads_d.a
-make install # once for headers
-rm ${DEST_DIR}/lib/libevent*
-make clean
-
-
-./configure \
---enable-gcc-hardening \
---with-pic \
---disable-debug-mode \
---disable-libevent-install
-
-make
-cp ./.libs/libevent.a ./libevent.a
-cp ./.libs/libevent_core.a ./libevent_core.a
-cp ./.libs/libevent_extra.a ./libevent_extra.a
-cp ./.libs/libevent_openssl.a ./libevent_openssl.a
-cp ./.libs/libevent_pthreads.a ./libevent_pthreads.a
-make clean
-
-cp ./*.a ${DEST_DIR}/lib