- cleaned up BUILD scripts

- consolidate common functionality into one place
    - make them detect gmake/make
This commit is contained in:
tim@cane.mysql.fi 2000-12-18 23:24:19 +02:00
commit 34efa902b0
10 changed files with 110 additions and 85 deletions

View file

@ -1,6 +1,12 @@
make -k clean
/bin/rm -f */.deps/*.P config.cache
#! /bin/sh
aclocal; autoheader; aclocal; automake; autoconf
path=`dirname $0`
. "$path/SETUP.sh"
CFLAGS="-O6 -mpentiumpro -fomit-frame-pointer" CXX=gcc CXXFLAGS="-O6 -mpentiumpro -fomit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local/mysql --enable-assembler --with-mysqld-ldflags=-all-static --with-extra-charsets=complex --without-server
extra_flags="$pentium_cflags $fast_cflags"
extra_configs="$pentium_configs --without-server"
make=no
strip=yes
. "$path/FINISH.sh"