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