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