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