2003-03-04 05:04:36 +01:00
|
|
|
#! /bin/sh
|
|
|
|
|
2003-03-21 21:43:38 +01:00
|
|
|
# WINE_BUILD_DIR, BUILD_DIR, and VERSION must be correct before compiling
|
2003-03-04 05:04:36 +01:00
|
|
|
# This values are normally changed by the nwbootstrap script
|
|
|
|
|
2003-03-21 21:43:38 +01:00
|
|
|
# the default is "F:/mydev"
|
2003-03-04 05:04:36 +01:00
|
|
|
export MYDEV="WINE_BUILD_DIR"
|
|
|
|
|
2004-01-12 23:15:49 +01:00
|
|
|
export MWCNWx86Includes="$MYDEV/libc/include;$MYDEV"
|
|
|
|
export MWNWx86Libraries="$MYDEV/libc/imports;$MYDEV/mw/lib;$MYDEV/mysql-VERSION/netware/BUILD"
|
|
|
|
export MWNWx86LibraryFiles="libcpre.o;libc.imp;netware.imp;mwcrtl.lib;mwcpp.lib;knetware.imp"
|
2003-03-04 05:04:36 +01:00
|
|
|
|
|
|
|
export WINEPATH="$MYDEV/mw/bin"
|
|
|
|
|
2003-03-21 21:43:38 +01:00
|
|
|
# the default added path is "$HOME/mydev/mysql-x.x-x/netware/BUILD"
|
2003-03-04 05:04:36 +01:00
|
|
|
export PATH="$PATH:BUILD_DIR/mysql-VERSION/netware/BUILD"
|
|
|
|
|
|
|
|
export AR='mwldnlm'
|
|
|
|
export AR_FLAGS='-type library -o'
|
|
|
|
export AS='mwasmnlm'
|
|
|
|
export CC='mwccnlm -gccincludes'
|
2004-01-12 23:15:49 +01:00
|
|
|
export CFLAGS='-align 8 -proc 686 -relax_pointers -dialect c'
|
2003-03-04 05:04:36 +01:00
|
|
|
export CXX='mwccnlm -gccincludes'
|
2004-01-12 23:15:49 +01:00
|
|
|
export CXXFLAGS='-align 8 -proc 686 -relax_pointers -dialect c++ -bool on -wchar_t on -D_WCHAR_T'
|
2003-03-04 05:04:36 +01:00
|
|
|
export LD='mwldnlm'
|
2004-01-12 23:15:49 +01:00
|
|
|
export LDFLAGS='-entry _LibCPrelude -exit _LibCPostlude -map -flags pseudopreemption'
|
2003-03-04 05:04:36 +01:00
|
|
|
export RANLIB=:
|
|
|
|
export STRIP=:
|
|
|
|
|