mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
8ae9f14591
netware/BUILD/compile-linux-tools: Need to run make on sql_yacc.cc. netware/BUILD/compile-netware-END: Use .zip package. netware/BUILD/compile-netware-all: Add compile-netware-src. netware/BUILD/compile-netware-standard: Need backslash to avoid error. netware/BUILD/mwenv: Add additional include, library paths, -dialect and -map flags for CW. netware/BUILD/nwbootstrap: Additional status messages, update versions in .def files. netware/Makefile.am: Cosmetic change, add @openssl_libs@ in case of OpenSSL feature usage. netware/isamchk.def: Add SCREENNAME to allow interaction. netware/my_manage.c: Take out unused args to mysqladmin. netware/myisamchk.def: Add SCREENNAME to allow interaction. netware/myisamlog.def: Add SCREENNAME to allow interaction. netware/myisampack.def: Add SCREENNAME to allow interaction. netware/mysql_test_run.c: Multiple changes to help test suite. netware/mysqlbinlog.def: Add SCREENNAME to allow interaction. netware/mysqlcheck.def: Add SCREENNAME to allow interaction. netware/mysqld_safe.c: Make error message more accurate/descriptive. netware/mysqldump.def: Add SCREENNAME to allow interaction. netware/mysqlimport.def: Add SCREENNAME to allow interaction.
58 lines
1.2 KiB
Bash
Executable file
58 lines
1.2 KiB
Bash
Executable file
#! /bin/sh
|
|
|
|
# debug
|
|
#set -x
|
|
|
|
# stop on errors
|
|
set -e
|
|
|
|
if test ! -r ./sql/mysqld.cc
|
|
then
|
|
echo "you must start from the top source directory"
|
|
exit 1
|
|
fi
|
|
|
|
path=`dirname $0`
|
|
|
|
# clean
|
|
if test -e "Makefile"; then make -k clean; fi
|
|
|
|
# remove files
|
|
rm -f NEW-RPMS/*
|
|
rm -f */.deps/*.P
|
|
rm -f */*.linux
|
|
|
|
# run autotools
|
|
. $path/compile-AUTOTOOLS
|
|
|
|
# configure
|
|
./configure --without-innodb --without-docs
|
|
|
|
# build tools only
|
|
make clean config.h
|
|
(cd dbug; make libdbug.a)
|
|
(cd strings; make libmystrings.a)
|
|
(cd mysys; make libmysys.a)
|
|
(cd heap; make libheap.a)
|
|
(cd vio; make libvio.a)
|
|
(cd regex; make libregex.a)
|
|
(cd isam; make libnisam.a)
|
|
(cd merge; make libmerge.a)
|
|
(cd myisam; make libmyisam.a)
|
|
(cd myisammrg; make libmyisammrg.a)
|
|
(cd extra; make comp_err)
|
|
(cd libmysql; make conf_to_src)
|
|
(cd libmysql_r; make conf_to_src)
|
|
(cd sql; make gen_lex_hash)
|
|
(cd strings; make conf_to_src)
|
|
|
|
# so the file will be linked
|
|
(cd sql; make sql_yacc.cc)
|
|
|
|
# copying required linux tools
|
|
cp extra/comp_err extra/comp_err.linux
|
|
cp libmysql/conf_to_src libmysql/conf_to_src.linux
|
|
cp libmysql_r/conf_to_src libmysql_r/conf_to_src.linux
|
|
cp sql/gen_lex_hash sql/gen_lex_hash.linux
|
|
cp strings/conf_to_src strings/conf_to_src.linux
|
|
|