home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DMAKE38A.ZIP / MAKEFILE < prev    next >
Text File  |  1992-01-22  |  3KB  |  73 lines

  1. # Default makefile for the various versions of dmake that we
  2. # have available.  This is a bootstrap version and uses /bin/sh to
  3. # execute a script which compiles dmake.
  4. #
  5. # Note the DOS commands actually invoke command.com to run the .bat file
  6. # to make the script.
  7.  
  8. all :
  9.     @-echo ""; clear; exit 0
  10.     @echo "INDEX:  You must specify 'make target' where target is one of:"
  11.     @echo "-------------"
  12.     @echo "   make bsd43         - Generic BSD 4.3 System"
  13.     @echo "   make bsd43uw       - Generic BSD 4.3 at U of Waterloo"
  14.     @echo "   make bsd43vf       - Generic BSD 4.3 that needs vfprintf"
  15.     @echo "   make sysvr4        - Generic SysV R4 UNIX System"
  16.     @echo "   make sysvr3        - Generic SysV R3 UNIX System"
  17.     @echo "   make sysvr3pwd     - Generic SysV R3 UNIX System, our PWD"
  18.     @echo "   make sysvr1        - Generic SysV R1 UNIX System"
  19.     @echo "   make dynix         - Sequent DYNIX System"
  20.     @echo "   make ultrix        - Ultrix 3.0 System"
  21.     @echo "   make mips          - Any MIPS System"
  22.     @echo "   make coherent      - Any Coherent System"
  23.     @echo "   make 386ix         - 386/ix (SysV R3) System"
  24.     @echo "   make xenix         - 386 Xenix System"
  25.     @echo "   make xenixpwd      - 386 Xenix System, our PWD"
  26.     @echo "   make aix           - IBM RS6000/AIX System"
  27.     @echo "   make os2msc40      - OS/2 using MSC 4.0 compiler"
  28.     @echo "   make os2msc50      - OS/2 using MSC 5.0 compiler"
  29.     @echo "   make os2msc51      - OS/2 using MSC 5.1 compiler"
  30.     @echo "   make os2msc60      - OS/2 using MSC 6.0 compiler"
  31.     @echo "   make tos           - Atari-ST TOS using GCC as compiler"
  32.     @echo "   make tcc           - DOS with Turbo C 2.0"
  33.     @echo "   make bcc           - DOS with Borland C++ 2.0"
  34.     @echo "   make tccswp        - swapping DOS version with Turbo C 2.0"
  35.     @echo "   make bccswp        - swapping DOS version with Borland C++ 2.0"
  36.     @echo "   make msc40         - DOS with MSC 4.0"
  37.     @echo "   make msc50         - DOS with MSC 5.0"
  38.     @echo "   make msc51         - DOS with MSC 5.1"
  39.     @echo "   make msc60         - DOS with MSC 6.0"
  40.     @echo "   make msc40swp      - swapping DOS version with MSC 4.0"
  41.     @echo "   make msc50swp      - swapping DOS version with MSC 5.0"
  42.     @echo "   make msc51swp      - swapping DOS version with MSC 5.1"
  43.     @echo "   make msc60swp      - swapping DOS version with MSC 6.0"
  44.     @echo "   make ztc           - DOS with Zortech C++ 2.1"
  45.     @echo "   make ztcswp        - swapping DOS version with Zortech C++ 2.1"
  46.     @echo "   make mpwmac        - Macintosh under MPW"
  47.  
  48. ultrix aix: sysvr3;
  49.  
  50. sysvr1 sysvr3 sysvr4 bsd43 386ix :; /bin/sh -x < unix/$@/make.sh
  51.  
  52. bsd43uw          :; /bin/sh -x < unix/bsd43/uw/make.sh
  53. bsd43vf dynix mips   :; /bin/sh -x < unix/bsd43/vf/make.sh
  54. coherent          :; /bin/sh -x < unix/coherent/make.sh
  55. xenix              :; /bin/sh -x < unix/xenix/make.sh
  56. xenixpwd          :; /bin/sh -x < unix/xenix/pwd/make.sh
  57. sysvr3pwd          :; /bin/sh -x < unix/sysvr3/pwd/make.sh
  58. tos                  :; sh -x tos/make.sh
  59. mpwmac               :; :mac:make.sh
  60.  
  61. # Various OS/2 targets.
  62. OS2_VER = os2msc40 os2msc50 os2msc51 os2msc60
  63. $(OS2_VER) :; make.cmd $(@:s/os2//)
  64.  
  65. # DOS with some form of make and sh
  66. # Note if you do not have a 'make and/or sh' program under MSDOS then
  67. # typing 'make' in the dmake distribution directory will invoke the make.bat
  68. # batch file which will issue the appropriate instructions.
  69. DOS_VER = tcc    msc40    msc50    msc51    msc60 \
  70.       tccswp msc40swp msc50swp msc51swp msc60swp \
  71.       bcc    bccswp   ztc      ztcswp
  72. $(DOS_VER) :; make.bat $@
  73.