Commit 00f7688142617d832d672be2f740669d90e6037a

Con Kolivas 2013-04-05T09:16:46

Remove scripts that make it too easy to compile CPU mining support.

diff --git a/autogen-win32.sh b/autogen-win32.sh
deleted file mode 100644
index c0258af..0000000
--- 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 c987848..0000000
--- 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