]> git.saurik.com Git - wxWidgets.git/blame - distrib/msw/tmake/makeall.sh
Temporary ugly trick to make release for OpenWatcom possible.
[wxWidgets.git] / distrib / msw / tmake / makeall.sh
CommitLineData
ef3a5c9e
MB
1#!/bin/sh
2#
f3391ea5
MB
3# File: makeall.sh
4# Purpose: create wxWindows makefiles for all compilers
5# Author: Michael Bedward
6# Created: 29 Aug 1999
7# Copyright: (c) 1999 Michael Bedward
6442cf6b 8# Licence: wxWindows Licence
f3391ea5
MB
9# Version: $Id$
10#
11# This creates the makefiles for all compilers from the templates using
da906b97 12# tmake. The tmake executable should be in the path.
f3391ea5
MB
13
14# Assume we are in distrib/msw/tmake
15#
16topdir="../../.."
c5627cd8
VZ
17srcdir="$topdir/src"
18mswdir="$srcdir/msw"
2dcb5b11 19[ -z $TMAKE ] && TMAKE=./tmake
ef3a5c9e 20
da906b97 21for tname in `ls *.t`
ef3a5c9e
MB
22do
23 case $tname in
24 b32.t)
f3391ea5 25 echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
2dcb5b11 26 $TMAKE -t b32 wxwin.pro -o $mswdir/makefile.b32
2dcb5b11 27 $TMAKE -t b32base wxwin.pro -o $mswdir/makebase.b32 ;;
ef3a5c9e
MB
28
29 bcc.t)
f3391ea5 30 echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..."
2dcb5b11 31 $TMAKE -t bcc wxwin.pro -o $mswdir/makefile.bcc;;
ef3a5c9e 32
ef3a5c9e 33 g95.t)
f3391ea5 34 echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
2dcb5b11 35 $TMAKE -t g95 wxwin.pro -o $mswdir/makefile.g95;;
ef3a5c9e 36
da906b97 37 vc.t)
f3391ea5 38 echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
2dcb5b11 39 $TMAKE -t vc wxwin.pro -o $mswdir/makefile.vc;;
ef3a5c9e 40
da906b97 41 vc6msw.t)
c5627cd8 42 echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
2dcb5b11 43 $TMAKE -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
c5627cd8 44
da906b97 45 vc6base.t)
c5627cd8 46 echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
2dcb5b11 47 $TMAKE -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
c5627cd8 48
da906b97 49 vc6univ.t)
c5627cd8 50 echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
2dcb5b11 51 $TMAKE -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
c5627cd8 52
ef3a5c9e 53 wat.t)
f3391ea5 54 echo "Generating $mswdir/makefile.wat for Watcom C++..."
2dcb5b11 55 $TMAKE -t wat wxwin.pro -o $mswdir/makefile.wat;;
ef3a5c9e 56
7b0b2dcc
VS
57 base.t)
58 echo "Generating $topdir/src/files.lst for Configure..."
2dcb5b11 59 $TMAKE -t base wxwin.pro -o $topdir/src/files.lst ;;
5da2c444 60
e00a0183
SN
61 gtk.t)
62 echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
2dcb5b11 63 $TMAKE -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
e00a0183 64
1725144d
RR
65 mgl.t)
66 echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
2dcb5b11 67 $TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
1725144d
RR
68
69 micro.t)
70 echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
2dcb5b11 71 $TMAKE -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
1725144d 72
a54a9cd3
VZ
73 msw.t)
74 echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
2dcb5b11 75 $TMAKE -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
a54a9cd3 76
2b03b51b
GD
77 mac.t)
78 echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
2dcb5b11 79 $TMAKE -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
2b03b51b 80
e00a0183
SN
81 motif.t)
82 echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
2dcb5b11 83 $TMAKE -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
e00a0183 84
1e6feb95
VZ
85 univ.t)
86 echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
2dcb5b11 87 $TMAKE -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
1e6feb95 88
ef3a5c9e 89 unx.t)
e00a0183 90 echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
2dcb5b11 91 $TMAKE -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
5620d8de
VS
92
93 mgl.t)
94 echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
2dcb5b11 95 $TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
f17fb297 96
49f72157
RR
97 x11.t)
98 echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
2dcb5b11 99 $TMAKE -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
49f72157 100
f17fb297
VS
101 watmgl.t)
102 echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
2dcb5b11 103 $TMAKE -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
ef3a5c9e
MB
104 esac
105done
106