]> git.saurik.com Git - wxWidgets.git/blob - distrib/msw/tmake/makeall.sh
corrected several errors when generating project file with all configs
[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 [ -z $TMAKE ] && TMAKE=./tmake
19
20 for tname in `ls *.t`
21 do
22 case $tname in
23 b32.t)
24 echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..."
25 $TMAKE -t b32 wxwin.pro -o $mswdir/makefile.b32
26 $TMAKE -t b32univ wxwin.pro -o $mswdir/makeuniv.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 dos.t)
34 echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..."
35 $TMAKE -t dos wxwin.pro -o $mswdir/makefile.dos;;
36
37 g95.t)
38 echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..."
39 $TMAKE -t g95 wxwin.pro -o $mswdir/makefile.g95;;
40
41 sc.t)
42 echo "Generating $mswdir/makefile.sc for Symantec C++..."
43 $TMAKE -t sc wxwin.pro -o $mswdir/makefile.sc;;
44
45 vc.t)
46 echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..."
47 $TMAKE -t vc wxwin.pro -o $mswdir/makefile.vc;;
48
49 vc6msw.t)
50 echo "Generating $srcdir/wxWindows.dsp for Visual C++ 6.0..."
51 $TMAKE -t vc6msw wxwin.pro -o $srcdir/wxWindows.dsp;;
52
53 vc6base.t)
54 echo "Generating $srcdir/wxBase.dsp for Visual C++ 6.0..."
55 $TMAKE -t vc6base wxwin.pro -o $srcdir/wxBase.dsp;;
56
57 vc6univ.t)
58 echo "Generating $srcdir/wxUniv.dsp for Visual C++ 6.0..."
59 $TMAKE -t vc6univ wxwin.pro -o $srcdir/wxUniv.dsp;;
60
61 wat.t)
62 echo "Generating $mswdir/makefile.wat for Watcom C++..."
63 $TMAKE -t wat wxwin.pro -o $mswdir/makefile.wat;;
64
65 base.t)
66 echo "Generating $topdir/src/files.lst for Configure..."
67 $TMAKE -t base wxwin.pro -o $topdir/src/files.lst ;;
68
69 gtk.t)
70 echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..."
71 $TMAKE -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;;
72
73 mgl.t)
74 echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
75 $TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
76
77 micro.t)
78 echo "Generating $topdir/src/micro/files.lst for MicroWindows and Configure..."
79 $TMAKE -t micro wxwin.pro -o $topdir/src/microwin/files.lst;;
80
81 msw.t)
82 echo "Generating $topdir/src/msw/files.lst for MSW and Configure..."
83 $TMAKE -t msw wxwin.pro -o $topdir/src/msw/files.lst;;
84
85 mac.t)
86 echo "Generating $topdir/src/mac/files.lst for Mac and Configure..."
87 $TMAKE -t mac wxwin.pro -o $topdir/src/mac/files.lst;;
88
89 motif.t)
90 echo "Generating $topdir/src/motif/files.lst for Motif and Configure..."
91 $TMAKE -t motif wxwin.pro -o $topdir/src/motif/files.lst;;
92
93 univ.t)
94 echo "Generating $topdir/src/univ/files.lst for wxUniversal..."
95 $TMAKE -t univ wxwin.pro -o $topdir/src/univ/files.lst;;
96
97 unx.t)
98 echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..."
99 $TMAKE -t os2 wxwin.pro -o $topdir/src/os2/files.lst;;
100
101 mgl.t)
102 echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..."
103 $TMAKE -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;;
104
105 x11.t)
106 echo "Generating $topdir/src/x11/files.lst for X11 and Configure..."
107 $TMAKE -t x11 wxwin.pro -o $topdir/src/x11/files.lst;;
108
109 watmgl.t)
110 echo "Generating $topdir/src/mgl/makefile.wat for Watcom C++ and MGL+DOS..."
111 $TMAKE -t watmgl wxwin.pro -o $topdir/src/mgl/makefile.wat;;
112 esac
113 done
114