mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
d497966a18
configure.in: To configure InnoDB for cross compilation. include/config-netware.h: NetWare specific change to fix the compilation errors caused by event.h NetWare specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3) netware/BUILD/compile-AUTOTOOLS: Netware specific change reflecting the change in source code directory structure. netware/BUILD/compile-linux-tools: Netware specific change to fix the location where gen_lex_hash gets created. Fixed also directory structure reflecting changes. netware/BUILD/compile-netware-END: Netware specific change for creating mysqld_error.h netware/BUILD/mwenv: Netware specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3). netware/BUILD/nwbootstrap: NetWare Specific change to produce absoulte path for XDC file. netware/Makefile.am: Netware specific changes to fix to match new directory structure. netware/my_manage.h: Netware specific change required for WINE PATH and for new versions LibC(Jun 05) and zlib(1.2.3). netware/mysql_test_run.c: Netware specific change, added --autoclose option for mysql_test_run.nlm. scripts/make_binary_distribution.sh: Fix to reflect change in directory structure. sql/mysqld.cc: Stacksize change for Netware. Netware specific change to fix the compilation errors caused by event.h sql/set_var.cc: Minor indending related fix. sql/sql_class.cc: Added #ifdef HAVE_EXPLICIT_TEMPLATE_INSTANTIATION macro. storage/innobase/os/os0thread.c: Netware specific change to increase the thread stack size. storage/myisam/mi_locking.c: Enclosed MMAP related code under HAVE_MMAP preprocessor directive.
64 lines
1.5 KiB
Bash
Executable file
64 lines
1.5 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 */.deps/*.P
|
|
rm -f */*.linux
|
|
|
|
# run autotools
|
|
. $path/compile-AUTOTOOLS
|
|
|
|
# configure
|
|
./configure --without-innodb --without-docs
|
|
|
|
# build tools only
|
|
make clean
|
|
make
|
|
|
|
# Create mysql_version.h which was deleted my previous step
|
|
./config.status include/mysql_version.h
|
|
|
|
(cd dbug; make libdbug.a)
|
|
(cd strings; make libmystrings.a)
|
|
(cd mysys; make libmysys.a)
|
|
(cd storage/heap; make libheap.a)
|
|
(cd vio; make libvio.a)
|
|
(cd regex; make libregex.a)
|
|
(cd storage/myisam; make libmyisam.a)
|
|
(cd storage/myisammrg; make libmyisammrg.a)
|
|
(cd extra; make comp_err)
|
|
(cd libmysql; make conf_to_src)
|
|
(cd libmysql_r; make conf_to_src)
|
|
# so the file will be linked
|
|
(cd sql; make sql_yacc.cc)
|
|
(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
|
|
|
|
# Delete mysql_version.h
|
|
rm -f include/mysql_version.h
|