summaryrefslogtreecommitdiff
path: root/netware
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-06-18 03:23:08 +0300
committerunknown <monty@mysql.com>2004-06-18 03:23:08 +0300
commit32f5a8eb113c3db963f29460a3a2161def6e45a6 (patch)
tree85575b848176244c7f6fad4af28209d2c4be0cfc /netware
parent8764abf237a1a50646af9e7ee03ab82c6c635423 (diff)
downloadmariadb-git-32f5a8eb113c3db963f29460a3a2161def6e45a6.tar.gz
Applied patch from Novell (2004-06-03)
Diffstat (limited to 'netware')
-rwxr-xr-xnetware/BUILD/mwenv12
-rwxr-xr-xnetware/BUILD/nwbootstrap5
2 files changed, 11 insertions, 6 deletions
diff --git a/netware/BUILD/mwenv b/netware/BUILD/mwenv
index 22f518bcc0d..88491446c43 100755
--- a/netware/BUILD/mwenv
+++ b/netware/BUILD/mwenv
@@ -1,19 +1,19 @@
#! /bin/sh
-# WINE_BUILD_DIR, BUILD_DIR, and VERSION must be correct before compiling
+# F:/mydev, /home/kp/mydev, and 4.0.21 must be correct before compiling
# This values are normally changed by the nwbootstrap script
# the default is "F:/mydev"
-export MYDEV="WINE_BUILD_DIR"
+export MYDEV="F:/mydev"
-export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV"
-export MWNWx86Libraries="$MYDEV/libc/imports;$MYDEV/mw/lib;$MYDEV/fs64/imports;$MYDEV/mysql-VERSION/netware/BUILD"
-export MWNWx86LibraryFiles="libcpre.o;libc.imp;netware.imp;mwcrtl.lib;mwcpp.lib;neb.imp;zPublics.imp;knetware.imp"
+export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV/fs64/headers;$MYDEV/zlib-1.1.4;$MYDEV"
+export MWNWx86Libraries="$MYDEV/libc/imports;$MYDEV/mw/lib;$MYDEV/fs64/imports;$MYDEV/zlib-1.1.4;$MYDEV/mysql-4.0.21/netware/BUILD"
+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"
# the default added path is "$HOME/mydev/mysql-x.x-x/netware/BUILD"
-export PATH="$PATH:BUILD_DIR/mysql-VERSION/netware/BUILD"
+export PATH="$PATH:/home/kp/mydev/mysql-4.0.21/netware/BUILD"
export AR='mwldnlm'
export AR_FLAGS='-type library -o'
diff --git a/netware/BUILD/nwbootstrap b/netware/BUILD/nwbootstrap
index ba6d34bddc8..2ba90e32fa7 100755
--- a/netware/BUILD/nwbootstrap
+++ b/netware/BUILD/nwbootstrap
@@ -176,6 +176,11 @@ done
echo "generating llibmysql.imp file..."
awk 'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}' libmysql/libmysql.def > netware/libmysql.imp
+# create the libmysql.imp file in netware folder from libmysql/libmysql.def file
+echo "generating llibmysql.imp file..."
+awk 'BEGIN{x=0;} x==1 {print $1;next} /EXPORTS/{x=1}' libmysql/libmysql.def > netware/libmysql.imp
+
+
# build linux tools
echo "compiling linux tools..."
./netware/BUILD/compile-linux-tools