From 00f7688142617d832d672be2f740669d90e6037a Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 5 Apr 2013 09:16:46 +1100 Subject: [PATCH] Remove scripts that make it too easy to compile CPU mining support. --- autogen-win32.sh | 35 ----------------------------------- autogen-win64.sh | 36 ------------------------------------ 2 files changed, 71 deletions(-) delete mode 100644 autogen-win32.sh delete mode 100644 autogen-win64.sh diff --git a/autogen-win32.sh b/autogen-win32.sh deleted file mode 100644 index c0258af9..00000000 --- a/autogen-win32.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash - -bs_dir="$(dirname $(readlink -f $0))" -build_dir="$PWD" -rm -rf "${bs_dir}"/autom4te.cache -rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh - -echo 'Running autoreconf -ifv...' -autoreconf -ifv -I "/usr/local/share/aclocal/" "$bs_dir" || exit 1 - -if test -z "$NOCONFIGURE" ; then - echo 'Configuring...' - - if [[ "$bs_dir" != "`pwd`" ]]; then - export CPPFLAGS+=" -I $bs_dir" - fi - - if [[ ! -z "$CGMINER_SDK" ]]; then - export CPPFLAGS="-I $CGMINER_SDK/include $CPPFLAGS" - export LDFLAGS="-L $CGMINER_SDK/lib $LDFLAGS" - export PKG_CONFIG_PATH="$CGMINER_SDK/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" - export ADL_SDK="$CGMINER_SDK/include/ADL_SDK" - fi - - CFLAGS="-O3 -msse2" \ - "$bs_dir"/configure \ - --prefix="$build_dir"/opt \ - --enable-cpumining \ - --enable-scrypt \ - --enable-bitforce \ - --enable-icarus \ - --enable-modminer \ - --enable-ztex \ - $@ -fi diff --git a/autogen-win64.sh b/autogen-win64.sh deleted file mode 100644 index c9878485..00000000 --- a/autogen-win64.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -bs_dir="$(dirname $(readlink -f $0))" -build_dir="$PWD" -rm -rf "${bs_dir}"/autom4te.cache -rm -f "${bs_dir}"/aclocal.m4 "${bs_dir}"/ltmain.sh - -echo 'Running autoreconf -ifv...' -autoreconf -ifv -I "/usr/local/share/aclocal/" "$bs_dir" || exit 1 - -if test -z "$NOCONFIGURE" ; then - echo 'Configuring...' - - if [[ "$bs_dir" != "`pwd`" ]]; then - export CPPFLAGS+=" -I $bs_dir" - fi - - if [[ ! -z "$CGMINER_SDK" ]]; then - export CPPFLAGS="-I $CGMINER_SDK/include $CPPFLAGS" - export LDFLAGS="-L $CGMINER_SDK/lib64 $LDFLAGS" - export PKG_CONFIG_PATH="$CGMINER_SDK/lib64/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}" - export ADL_SDK="$CGMINER_SDK/include/ADL_SDK" - fi - - CFLAGS="-O3 -msse4" \ - "$bs_dir"/configure \ - --target=x86_64-w64-mingw32 \ - --prefix="$build_dir"/opt \ - --enable-cpumining \ - --enable-scrypt \ - --enable-bitforce \ - --enable-icarus \ - --enable-modminer \ - --enable-ztex \ - $@ -fi