home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wxos2240.zip / wxWindows-2.4.0 / distrib / msw / tmake / makeall.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2002-09-05  |  4KB  |  114 lines

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