9
if test ! -r ./sql/mysqld.cc
11
echo "you must start from the top source directory"
18
if test -e "Makefile"; then make -k clean; fi
25
. $path/compile-AUTOTOOLS
28
./configure --without-innodb --without-docs
34
# Create mysql_version.h which was deleted my previous step
35
./config.status include/mysql_version.h
37
(cd dbug; make libdbug.a)
38
(cd strings; make libmystrings.a)
39
(cd mysys; make libmysys.a)
40
(cd storage/heap; make libheap.a)
41
(cd vio; make libvio.a)
42
(cd regex; make libregex.a)
43
(cd storage/myisam; make libmyisam.a)
44
(cd storage/myisammrg; make libmyisammrg.a)
45
(cd extra; make comp_err)
46
(cd libmysql; make conf_to_src)
47
(cd libmysql_r; make conf_to_src)
48
# so the file will be linked
49
(cd sql; make sql_yacc.cc)
50
(cd sql; make gen_lex_hash)
51
(cd strings; make conf_to_src)
53
# so the file will be linked
54
(cd sql; make sql_yacc.cc)
56
# we need initilizing SQL files.
57
(cd netware; make test_db.sql init_db.sql)
59
# copying required linux tools
60
cp extra/comp_err extra/comp_err.linux
61
cp libmysql/conf_to_src libmysql/conf_to_src.linux
62
#cp libmysql_r/conf_to_src libmysql_r/conf_to_src.linux
63
cp sql/gen_lex_hash sql/gen_lex_hash.linux
64
cp strings/conf_to_src strings/conf_to_src.linux
66
# Delete mysql_version.h
67
rm -f include/mysql_version.h