Allow using tmake from places other than the current directory.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,99 +15,100 @@
|
|||||||
topdir="../../.."
|
topdir="../../.."
|
||||||
srcdir="$topdir/src"
|
srcdir="$topdir/src"
|
||||||
mswdir="$srcdir/msw"
|
mswdir="$srcdir/msw"
|
||||||
|
[ -z $TMAKE ] && TMAKE=./tmake
|
||||||
|
|
||||||
for tname in `ls *.t`
|
for tname in `ls *.t`
|
||||||
do
|
do
|
||||||
case $tname in
|
case $tname in
|
||||||
b32.t)
|
b32.t)
|
||||||
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
|
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
|
||||||
./tmake -t b32 wxwin.pro -o $mswdir/makefile.b32
|
$TMAKE -t b32 wxwin.pro -o $mswdir/makefile.b32
|
||||||
./tmake -t b32univ wxwin.pro -o $mswdir/makeuniv.b32
|
$TMAKE -t b32univ wxwin.pro -o $mswdir/makeuniv.b32
|
||||||
./tmake -t b32base wxwin.pro -o $mswdir/makebase.b32 ;;
|
$TMAKE -t b32base wxwin.pro -o $mswdir/makebase.b32 ;;
|
||||||
|
|
||||||
bcc.t)
|
bcc.t)
|
||||||
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
|
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
|
||||||
./tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
|
$TMAKE -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
|
||||||
|
|
||||||
dos.t)
|
dos.t)
|
||||||
echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
|
echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
|
||||||
./tmake -t dos wxwin.pro -o $mswdir/makefile.dos;;
|
$TMAKE -t dos wxwin.pro -o $mswdir/makefile.dos;;
|
||||||
|
|
||||||
g95.t)
|
g95.t)
|
||||||
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
|
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
|
||||||
./tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;;
|
$TMAKE -t g95 wxwin.pro -o $mswdir/makefile.g95;;
|
||||||
|
|
||||||
sc.t)
|
sc.t)
|
||||||
echo "Generating $mswdir/makefile.sc for Symantec C++..."
|
echo "Generating $mswdir/makefile.sc for Symantec C++..."
|
||||||
./tmake -t sc wxwin.pro -o $mswdir/makefile.sc;;
|
$TMAKE -t sc wxwin.pro -o $mswdir/makefile.sc;;
|
||||||
|
|
||||||
vc.t)
|
vc.t)
|
||||||
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
|
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
|
||||||
./tmake -t vc wxwin.pro -o $mswdir/makefile.vc;;
|
$TMAKE -t vc wxwin.pro -o $mswdir/makefile.vc;;
|
||||||
|
|
||||||
vc6msw.t)
|
vc6msw.t)
|
||||||
echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
|
echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
|
||||||
./tmake -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
|
$TMAKE -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
|
||||||
|
|
||||||
vc6base.t)
|
vc6base.t)
|
||||||
echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
|
echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
|
||||||
./tmake -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
|
$TMAKE -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
|
||||||
|
|
||||||
vc6univ.t)
|
vc6univ.t)
|
||||||
echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
|
echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
|
||||||
./tmake -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
|
$TMAKE -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
|
||||||
|
|
||||||
wat.t)
|
wat.t)
|
||||||
echo "Generating $mswdir/makefile.wat for Watcom C++..."
|
echo "Generating $mswdir/makefile.wat for Watcom C++..."
|
||||||
./tmake -t wat wxwin.pro -o $mswdir/makefile.wat;;
|
$TMAKE -t wat wxwin.pro -o $mswdir/makefile.wat;;
|
||||||
|
|
||||||
base.t)
|
base.t)
|
||||||
echo "Generating $topdir/src/files.lst for Configure..."
|
echo "Generating $topdir/src/files.lst for Configure..."
|
||||||
./tmake -t base wxwin.pro -o $topdir/src/files.lst ;;
|
$TMAKE -t base wxwin.pro -o $topdir/src/files.lst ;;
|
||||||
|
|
||||||
gtk.t)
|
gtk.t)
|
||||||
echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
|
echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
|
||||||
./tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
|
$TMAKE -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
|
||||||
|
|
||||||
mgl.t)
|
mgl.t)
|
||||||
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
||||||
./tmake -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
$TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
||||||
|
|
||||||
micro.t)
|
micro.t)
|
||||||
echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
|
echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
|
||||||
./tmake -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
|
$TMAKE -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
|
||||||
|
|
||||||
msw.t)
|
msw.t)
|
||||||
echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
|
echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
|
||||||
./tmake -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
|
$TMAKE -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
|
||||||
|
|
||||||
mac.t)
|
mac.t)
|
||||||
echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
|
echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
|
||||||
./tmake -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
|
$TMAKE -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
|
||||||
|
|
||||||
motif.t)
|
motif.t)
|
||||||
echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
|
echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
|
||||||
./tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
|
$TMAKE -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
|
||||||
|
|
||||||
univ.t)
|
univ.t)
|
||||||
echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
|
echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
|
||||||
./tmake -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
|
$TMAKE -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
|
||||||
|
|
||||||
unx.t)
|
unx.t)
|
||||||
echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
|
echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
|
||||||
./tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
|
$TMAKE -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
|
||||||
|
|
||||||
mgl.t)
|
mgl.t)
|
||||||
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
||||||
./tmake -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
$TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
||||||
|
|
||||||
x11.t)
|
x11.t)
|
||||||
echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
|
echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
|
||||||
./tmake -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
|
$TMAKE -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
|
||||||
|
|
||||||
watmgl.t)
|
watmgl.t)
|
||||||
echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
|
echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
|
||||||
./tmake -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
|
$TMAKE -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user