mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
60f0cd8b13
BUILD/FINISH.sh: s/(dist)?clean/maintainer-clean/ BUILD/compile-alpha-ccc: s/(dist)?clean/maintainer-clean/ BUILD/compile-alpha-cxx: s/(dist)?clean/maintainer-clean/ BUILD/compile-alpha-debug: s/(dist)?clean/maintainer-clean/ BUILD/compile-dist: s/(dist)?clean/maintainer-clean/ BUILD/compile-hpux11-parisc2-aCC: s/(dist)?clean/maintainer-clean/ BUILD/compile-ia64-debug-max: s/(dist)?clean/maintainer-clean/ BUILD/compile-irix-mips64-mipspro: s/(dist)?clean/maintainer-clean/ BUILD/compile-pentium-pgcc: s/(dist)?clean/maintainer-clean/ BUILD/compile-solaris-sparc-forte: s/(dist)?clean/maintainer-clean/ BUILD/compile-solaris-sparc-purify: s/(dist)?clean/maintainer-clean/
42 lines
942 B
Bash
42 lines
942 B
Bash
cflags="$c_warnings $extra_flags"
|
|
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
|
|
extra_configs="$extra_configs $local_infile_configs"
|
|
configure="./configure $base_configs $extra_configs"
|
|
|
|
commands="\
|
|
$make -k maintainer-clean || true
|
|
/bin/rm -rf */.deps/*.P configure config.cache storage/*/configure storage/*/config.cache autom4te.cache storage/*/autom4te.cache;
|
|
|
|
path=`dirname $0`
|
|
. \"$path/autorun.sh\""
|
|
|
|
if [ -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" \
|
|
$configure"
|
|
fi
|
|
|
|
if [ -z "$just_configure" -a -z "$just_clean" ]
|
|
then
|
|
commands="$commands
|
|
|
|
$make $AM_MAKEFLAGS"
|
|
|
|
if [ "x$strip" = "xyes" ]
|
|
then
|
|
commands="$commands
|
|
|
|
mkdir -p tmp
|
|
nm --numeric-sort sql/mysqld > tmp/mysqld.sym
|
|
objdump -d sql/mysqld > tmp/mysqld.S
|
|
strip sql/mysqld"
|
|
fi
|
|
fi
|
|
|
|
if test -z "$just_print"
|
|
then
|
|
eval "set -x; $commands"
|
|
else
|
|
echo "$commands"
|
|
fi
|