]>
Commit | Line | Data |
---|---|---|
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 | mswdir="$topdir/src/msw" | |
17 | ||
18 | for tname in `ls *.t` | |
19 | do | |
20 | case $tname in | |
21 | b32.t) | |
22 | echo "Generating $mswdir/makefile.b32 for Borland C++ (32 bits)..." | |
23 | tmake -t b32 wxwin.pro -o $mswdir/makefile.b32 ;; | |
24 | ||
25 | bcc.t) | |
26 | echo "Generating $mswdir/makefile.bcc for Borland C++ (16 bits)..." | |
27 | tmake -t bcc wxwin.pro -o $mswdir/makefile.bcc;; | |
28 | ||
29 | dos.t) | |
30 | echo "Generating $mswdir/makefile.dos for Visual C++ 1.52..." | |
31 | tmake -t dos wxwin.pro -o $mswdir/makefile.dos;; | |
32 | ||
33 | g95.t) | |
34 | echo "Generating $mswdir/makefile.g95 for Cygwin/Mingw32..." | |
35 | tmake -t g95 wxwin.pro -o $mswdir/makefile.g95;; | |
36 | ||
37 | sc.t) | |
38 | echo "Generating $mswdir/makefile.sc for Symantec C++..." | |
39 | tmake -t sc wxwin.pro -o $mswdir/makefile.sc;; | |
40 | ||
41 | vc.t) | |
42 | echo "Generating $mswdir/makefile.vc for Visual C++ 4.0..." | |
43 | tmake -t vc wxwin.pro -o $mswdir/makefile.vc;; | |
44 | ||
45 | wat.t) | |
46 | echo "Generating $mswdir/makefile.wat for Watcom C++..." | |
47 | tmake -t wat wxwin.pro -o $mswdir/makefile.wat;; | |
48 | ||
49 | base.t) | |
50 | echo "Generating $topdir/src/files.lst for Configure..." | |
51 | tmake -t base wxwin.pro -o $topdir/src/files.lst ;; | |
52 | ||
53 | gtk.t) | |
54 | echo "Generating $topdir/src/gtk/files.lst for GTK and Configure..." | |
55 | tmake -t gtk wxwin.pro -o $topdir/src/gtk/files.lst;; | |
56 | ||
57 | motif.t) | |
58 | echo "Generating $topdir/src/motif/files.lst for Motif and Configure..." | |
59 | tmake -t motif wxwin.pro -o $topdir/src/motif/files.lst;; | |
60 | ||
61 | unx.t) | |
62 | echo "Generating $topdir/src/os2/files.lst for OS/2 PM and Configure..." | |
63 | tmake -t os2 wxwin.pro -o $topdir/src/os2/files.lst;; | |
64 | esac | |
65 | done | |
66 |