]>
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="../../.." | |
16 | mswdir="$topdir/src/msw" | |
ef3a5c9e MB |
17 | |
18 | for tname in `ls *.t` | |
19 | do | |
20 | case $tname in | |
21 | b32.t) | |
f3391ea5 MB |
22 | echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..." |
23 | tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;; | |
ef3a5c9e MB |
24 | |
25 | bcc.t) | |
f3391ea5 MB |
26 | echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..." |
27 | tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;; | |
ef3a5c9e MB |
28 | |
29 | dos.t) | |
f3391ea5 MB |
30 | echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..." |
31 | tmake -t dos wxwin.pro -o $mswdir/makefile.dos;; | |
ef3a5c9e MB |
32 | |
33 | g95.t) | |
f3391ea5 MB |
34 | echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..." |
35 | tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;; | |
ef3a5c9e MB |
36 | |
37 | sc.t) | |
f3391ea5 MB |
38 | echo "Generating $mswdir/makefile.sc for Symantec C++..." |
39 | tmake -t sc wxwin.pro -o $mswdir/makefile.sc;; | |
ef3a5c9e MB |
40 | |
41 | vc.t) | |
f3391ea5 MB |
42 | echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..." |
43 | tmake -t vc wxwin.pro -o $mswdir/makefile.vc;; | |
ef3a5c9e MB |
44 | |
45 | wat.t) | |
f3391ea5 MB |
46 | echo "Generating $mswdir/makefile.wat for Watcom C++..." |
47 | tmake -t wat wxwin.pro -o $mswdir/makefile.wat;; | |
ef3a5c9e | 48 | |
7b0b2dcc VS |
49 | base.t) |
50 | echo "Generating $topdir/src/files.lst for Configure..." | |
51 | tmake -t base wxwin.pro -o $topdir/src/files.lst ;; | |
52 | ||
5da2c444 VZ |
53 | baserpm.t) |
54 | echo "Generating $topdir/src/rpmfiles.lst for wxBase RPM..." | |
55 | tmake -t baserpm wxwin.pro -o $topdir/src/rpmfiles.lst ;; | |
56 | ||
e00a0183 SN |
57 | gtk.t) |
58 | echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..." | |
59 | tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;; | |
60 | ||
a54a9cd3 VZ |
61 | msw.t) |
62 | echo "Generating $topdir/src/msw/files.lst for MSW and Configure..." | |
63 | tmake -t msw wxwin.pro -o $topdir/src/msw/files.lst;; | |
64 | ||
2b03b51b GD |
65 | mac.t) |
66 | echo "Generating $topdir/src/mac/files.lst for Mac and Configure..." | |
67 | tmake -t mac wxwin.pro -o $topdir/src/mac/files.lst;; | |
68 | ||
e00a0183 SN |
69 | motif.t) |
70 | echo "Generating $topdir/src/motif/files.lst for Motif and Configure..." | |
71 | tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;; | |
72 | ||
1e6feb95 VZ |
73 | univ.t) |
74 | echo "Generating $topdir/src/univ/files.lst for wxUniversal..." | |
75 | tmake -t univ wxwin.pro -o $topdir/src/univ/files.lst;; | |
76 | ||
ef3a5c9e | 77 | unx.t) |
e00a0183 SN |
78 | echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..." |
79 | tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;; | |
5620d8de VS |
80 | |
81 | mgl.t) | |
82 | echo "Generating $topdir/src/mgl/files.lst for MGL and Configure..." | |
83 | tmake -t mgl wxwin.pro -o $topdir/src/mgl/files.lst;; | |
ef3a5c9e MB |
84 | esac |
85 | done | |
86 |