1999-08-29 01:49:52 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
1999-08-29 02:30:50 -04:00
|
|
|
# File: makeall.sh
|
|
|
|
# Purpose: create wxWindows makefiles for all compilers
|
|
|
|
# Author: Michael Bedward
|
|
|
|
# Created: 29 Aug 1999
|
|
|
|
# Copyright: (c) 1999 Michael Bedward
|
|
|
|
# Version: $Id$
|
|
|
|
#
|
|
|
|
# This creates the makefiles for all compilers from the templates using
|
|
|
|
# tmake. The tmake executable should be in the path.
|
|
|
|
|
|
|
|
# Assume we are in distrib/msw/tmake
|
|
|
|
#
|
|
|
|
topdir="../../.."
|
2001-10-09 20:43:45 -04:00
|
|
|
srcdir="$topdir/src"
|
|
|
|
mswdir="$srcdir/msw"
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
for tname in `ls *.t`
|
|
|
|
do
|
|
|
|
case $tname in
|
|
|
|
b32.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;;
|
2002-06-14 09:03:45 -04:00
|
|
|
./tmake -t b32univ wxwin.pro -o $mswdir/makeuniv.b32 ;;
|
2002-09-04 06:47:11 -04:00
|
|
|
./tmake -t b32base wxwin.pro -o $mswdir/makebase.b32 ;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
bcc.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
dos.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t dos wxwin.pro -o $mswdir/makefile.dos;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
g95.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
sc.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.sc for Symantec C++..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t sc wxwin.pro -o $mswdir/makefile.sc;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
|
|
|
vc.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t vc wxwin.pro -o $mswdir/makefile.vc;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
2001-10-09 20:43:45 -04:00
|
|
|
vc6msw.t)
|
|
|
|
echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
|
2001-10-09 20:43:45 -04:00
|
|
|
|
|
|
|
vc6base.t)
|
|
|
|
echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
|
2001-10-09 20:43:45 -04:00
|
|
|
|
|
|
|
vc6univ.t)
|
|
|
|
echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
|
2001-10-09 20:43:45 -04:00
|
|
|
|
1999-08-29 01:49:52 -04:00
|
|
|
wat.t)
|
1999-08-29 02:30:50 -04:00
|
|
|
echo "Generating $mswdir/makefile.wat for Watcom C++..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t wat wxwin.pro -o $mswdir/makefile.wat;;
|
1999-08-29 01:49:52 -04:00
|
|
|
|
2000-02-26 09:42:03 -05:00
|
|
|
base.t)
|
|
|
|
echo "Generating $topdir/src/files.lst for Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t base wxwin.pro -o $topdir/src/files.lst ;;
|
2001-06-21 21:31:45 -04:00
|
|
|
|
2000-02-01 19:08:20 -05:00
|
|
|
gtk.t)
|
|
|
|
echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
|
2000-02-01 19:08:20 -05:00
|
|
|
|
2001-12-21 14:22:48 -05:00
|
|
|
mgl.t)
|
|
|
|
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
2001-12-21 14:22:48 -05:00
|
|
|
|
|
|
|
micro.t)
|
|
|
|
echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
|
2001-12-21 14:22:48 -05:00
|
|
|
|
2001-01-04 07:55:56 -05:00
|
|
|
msw.t)
|
|
|
|
echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
|
2001-01-04 07:55:56 -05:00
|
|
|
|
2001-10-04 17:33:22 -04:00
|
|
|
mac.t)
|
|
|
|
echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
|
2001-10-04 17:33:22 -04:00
|
|
|
|
2000-02-01 19:08:20 -05:00
|
|
|
motif.t)
|
|
|
|
echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
|
2000-02-01 19:08:20 -05:00
|
|
|
|
2001-06-26 16:59:19 -04:00
|
|
|
univ.t)
|
|
|
|
echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
|
2001-06-26 16:59:19 -04:00
|
|
|
|
1999-08-29 01:49:52 -04:00
|
|
|
unx.t)
|
2000-02-01 19:08:20 -05:00
|
|
|
echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
|
2001-08-01 18:54:43 -04:00
|
|
|
|
|
|
|
mgl.t)
|
|
|
|
echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
|
2001-12-09 10:38:31 -05:00
|
|
|
|
2002-02-09 13:43:37 -05:00
|
|
|
x11.t)
|
|
|
|
echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
|
2002-02-09 13:43:37 -05:00
|
|
|
|
2001-12-09 10:38:31 -05:00
|
|
|
watmgl.t)
|
|
|
|
echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
|
2002-05-04 14:33:35 -04:00
|
|
|
./tmake -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
|
1999-08-29 01:49:52 -04:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
|