Commit cc4d1a4d authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/netware/my51-netware

into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
parents 03ead53d a29a5228
...@@ -3,9 +3,12 @@ ...@@ -3,9 +3,12 @@
# stop on errors # stop on errors
set -e set -e
# mwccnlm is having a hard time understanding "-I./../include" # mwccnlm is having a hard time understanding:
# convert it to "-I../include" # * "-I./../include", convert it to "-I../include"
args=" "`echo $* | sed -e 's/-I.\/../-I../g'` # * "-I.../..", convert it to "-I../../"
args=" "`echo $* | sed \
-e 's/-I.\/../-I../g' \
-e 's/\(-I[.\/]*.\) /\1\/ /g'`
# NOTE: Option 'pipefail' is not standard sh # NOTE: Option 'pipefail' is not standard sh
set -o pipefail set -o pipefail
......
#! /bin/sh #! /bin/sh
# F:/mydev, /home/kp/mydev, and 4.0.21 must be correct before compiling if test ! -r ./sql/mysqld.cc
# This values are normally changed by the nwbootstrap script then
echo "you must start from the top source directory"
exit 1
fi
# the default is "F:/mydev" # The base path(in wineformat) where compilers, includes and
export MYDEV=WINE_BUILD_DIR # libraries are installed
if test -z $MYDEV
then
# the default is "F:/mydev"
export MYDEV="F:/mydev"
fi
echo "MYDEV: $MYDEV"
export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV/zlib-1.2.3;$MYDEV/mysql-VERSION/include;$MYDEV" # Get current dir
export MWNWx86Libraries="$MYDEV/libc/imports;$MYDEV/mw/lib;$MYDEV/fs64/imports;$MYDEV/zlib-1.2.3;$MYDEV/openssl;$MYDEV/mysql-VERSION/netware/BUILD" BUILD_DIR=`pwd`
echo "BUILD_DIR: $BUILD_DIR"
# Get current dir in wine format
base=`echo $MYDEV |sed 's/\/.*//'`
base_unix_part=`winepath -- -u $base`
WINE_BUILD_DIR=`echo "$BUILD_DIR" | sed 's_'$base_unix_part'/__'`
WINE_BUILD_DIR="$base$WINE_BUILD_DIR"
echo "WINE_BUILD_DIR: $WINE_BUILD_DIR"
export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV/zlib-1.2.3;$WINE_BUILD_DIR/include;$MYDEV"
export MWNWx86Libraries="$MYDEV/libc/imports;$MYDEV/mw/lib;$MYDEV/fs64/imports;$MYDEV/zlib-1.2.3;$MYDEV/openssl;$WINE_BUILD_DIR/netware/BUILD"
export MWNWx86LibraryFiles="libcpre.o;libc.imp;netware.imp;mwcrtl.lib;mwcpp.lib;libz.a;neb.imp;zPublics.imp;knetware.imp" export MWNWx86LibraryFiles="libcpre.o;libc.imp;netware.imp;mwcrtl.lib;mwcpp.lib;libz.a;neb.imp;zPublics.imp;knetware.imp"
export WINEPATH="$MYDEV/mw/bin" export WINEPATH="$MYDEV/mw/bin"
# the default added path is "$HOME/mydev/mysql-x.x-x/netware/BUILD" # the default added path is "$BUILD_DIR/netware/BUILD"
export PATH="$PATH:BUILD_DIR/mysql-VERSION/netware/BUILD" export PATH="$PATH:$BUILD_DIR/netware/BUILD"
export AR='mwldnlm' export AR='mwldnlm'
export AR_FLAGS='-type library -o' export AR_FLAGS='-type library -o'
......
...@@ -23,7 +23,8 @@ mysqld_safe_SOURCES= mysqld_safe.c my_manage.c ...@@ -23,7 +23,8 @@ mysqld_safe_SOURCES= mysqld_safe.c my_manage.c
mysql_install_db_SOURCES= mysql_install_db.c my_manage.c mysql_install_db_SOURCES= mysql_install_db.c my_manage.c
mysql_test_run_SOURCES= mysql_test_run.c my_manage.c mysql_test_run_SOURCES= mysql_test_run.c my_manage.c
libmysql_SOURCES= libmysqlmain.c libmysql_SOURCES= libmysqlmain.c
libmysql_LDADD = ../libmysql/.libs/libmysqlclient.a @openssl_libs@ libmysql_LDADD = ../libmysql/.libs/libmysqlclient.a \
@openssl_libs@ @yassl_libs@
netware_build_files = client/mysql.def client/mysqladmin.def \ netware_build_files = client/mysql.def client/mysqladmin.def \
client/mysqlbinlog.def client/mysqlcheck.def \ client/mysqlbinlog.def client/mysqlcheck.def \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment