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