1999-08-29 05:49:52 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
1999-08-29 06:30:50 +00: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="../../.."
|
|
|
|
mswdir="$topdir/src/msw"
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
for tname in `ls *.t`
|
|
|
|
do
|
|
|
|
case $tname in
|
|
|
|
b32.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
|
|
|
|
tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
bcc.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
|
|
|
|
tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
dos.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
|
|
|
|
tmake -t dos wxwin.pro -o $mswdir/makefile.dos;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
g95.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
|
|
|
|
tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
sc.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.sc for Symantec C++..."
|
|
|
|
tmake -t sc wxwin.pro -o $mswdir/makefile.sc;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
vc.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
|
|
|
|
tmake -t vc wxwin.pro -o $mswdir/makefile.vc;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
|
|
|
wat.t)
|
1999-08-29 06:30:50 +00:00
|
|
|
echo "Generating $mswdir/makefile.wat for Watcom C++..."
|
|
|
|
tmake -t wat wxwin.pro -o $mswdir/makefile.wat;;
|
1999-08-29 05:49:52 +00:00
|
|
|
|
2000-02-26 14:42:03 +00:00
|
|
|
base.t)
|
|
|
|
echo "Generating $topdir/src/files.lst for Configure..."
|
|
|
|
tmake -t base wxwin.pro -o $topdir/src/files.lst ;;
|
|
|
|
|
2001-06-22 01:31:45 +00:00
|
|
|
baserpm.t)
|
|
|
|
echo "Generating $topdir/src/rpmfiles.lst for wxBase RPM..."
|
|
|
|
tmake -t baserpm wxwin.pro -o $topdir/src/rpmfiles.lst ;;
|
|
|
|
|
2000-02-02 00:08:20 +00:00
|
|
|
gtk.t)
|
|
|
|
echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
|
|
|
|
tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
|
|
|
|
|
2001-01-04 12:55:56 +00:00
|
|
|
msw.t)
|
|
|
|
echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
|
|
|
|
tmake -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
|
|
|
|
|
2000-02-02 00:08:20 +00:00
|
|
|
motif.t)
|
|
|
|
echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
|
|
|
|
tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
|
|
|
|
|
2001-06-26 20:59:19 +00:00
|
|
|
univ.t)
|
|
|
|
echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
|
|
|
|
tmake -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
|
|
|
|
|
1999-08-29 05:49:52 +00:00
|
|
|
unx.t)
|
2000-02-02 00:08:20 +00:00
|
|
|
echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
|
|
|
|
tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
|
1999-08-29 05:49:52 +00:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
|