]>
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 | |
e00a0183 SN |
49 | gtk.t) |
50 | echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..." | |
51 | tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;; | |
52 | ||
53 | motif.t) | |
54 | echo "Generating $topdir/src/motif/files.lst for Motif and Configure..." | |
55 | tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;; | |
56 | ||
ef3a5c9e | 57 | unx.t) |
e00a0183 SN |
58 | echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..." |
59 | tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;; | |
ef3a5c9e MB |
60 | esac |
61 | done | |
62 |