home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / makefile < prev    next >
Makefile  |  1994-10-23  |  4KB  |  92 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 linux         - Linux"
  21.     @echo "   make ultrix        - Ultrix 3.0 System"
  22.     @echo "   make mips          - Any MIPS System"
  23.     @echo "   make irix          - Any IRIX System"
  24.     @echo "   make osf1          - OSF/1 UNIX System"
  25.     @echo "   make coherent      - Any Coherent System"
  26.     @echo "   make hpux          - HP Unix"
  27.     @echo "   make 386ix         - 386/ix (SysV R3) System"
  28.     @echo "   make xenix         - 386 Xenix System"
  29.     @echo "   make xenixpwd      - 386 Xenix System, our PWD"
  30.     @echo "   make aix           - IBM RS6000/AIX System"
  31.     @echo "   make Solaris       - SUN Solaris 1.0 to 2.0"
  32.     @echo "   make Solaris2.1    - SUN Solaris 2.1 or greater"
  33.     @echo "   make qnxwcc        - QNX 4.2 or later with Watcom-C"
  34.     @echo "   make gccSolaris2.1 - SUN Solaris 2.1 or greater with gcc"
  35.     @echo "   make os2msc40      - OS/2 using MSC 4.0 compiler"
  36.     @echo "   make os2msc50      - OS/2 using MSC 5.0 compiler"
  37.     @echo "   make os2msc51      - OS/2 using MSC 5.1 compiler"
  38.     @echo "   make os2msc60      - OS/2 using MSC 6.0 compiler"
  39.     @echo "   make os2ibm        - OS/2 using IBM C 2.0 compiler"
  40.     @echo "   make tos           - Atari-ST TOS using GCC as compiler"
  41.     @echo "   make tcc           - DOS with Turbo C 2.0"
  42.     @echo "   make bcc           - DOS with Borland C++ 3.0"
  43.     @echo "   make tccswp        - swapping DOS version with Turbo C 2.0"
  44.     @echo "   make bccswp        - swapping DOS version with Borland C++ 3.0"
  45.     @echo "   make msc40         - DOS with MSC 4.0"
  46.     @echo "   make msc50         - DOS with MSC 5.0"
  47.     @echo "   make msc51         - DOS with MSC 5.1"
  48.     @echo "   make msc60         - DOS with MSC 6.0"
  49.     @echo "   make msc40swp      - swapping DOS version with MSC 4.0"
  50.     @echo "   make msc50swp      - swapping DOS version with MSC 5.0"
  51.     @echo "   make msc51swp      - swapping DOS version with MSC 5.1"
  52.     @echo "   make msc60swp      - swapping DOS version with MSC 6.0"
  53.     @echo "   make ztc           - DOS with Zortech C++ 2.1"
  54.     @echo "   make ztcswp        - swapping DOS version with Zortech C++ 2.1"
  55.     @echo "   make mpwmac        - Macintosh under MPW"
  56.  
  57. ultrix aix linux: sysvr3;
  58. Solaris         : bsd43;
  59. hpux            : sysvr3pwd;
  60. irix osf1       : sysvr4;
  61.  
  62. sysvr1 sysvr3 sysvr4 bsd43 386ix :; /bin/sh -x < unix/$@/make.sh
  63.  
  64. bsd43uw          :; /bin/sh -x < unix/bsd43/uw/make.sh
  65. bsd43vf dynix mips   :; /bin/sh -x < unix/bsd43/vf/make.sh
  66. coherent          :; /bin/sh -x < unix/coherent/make.sh
  67. xenix              :; /bin/sh -x < unix/xenix/make.sh
  68. xenixpwd          :; /bin/sh -x < unix/xenix/pwd/make.sh
  69. sysvr3pwd          :; /bin/sh -x < unix/sysvr3/pwd/make.sh
  70. Solaris2.1         :; /bin/sh -x < unix/solaris/make.sh
  71. gccSolaris2.1         :; /bin/sh -x < unix/solaris/gcc/make.sh
  72. tos                  :; sh -x tos/make.sh
  73. mpwmac               :; :mac:make.sh
  74.  
  75. # Greg Yahchuks make ... sigh
  76. qnxwcc :
  77.     /bin/sh -x < qnx/make.sh
  78.  
  79. # Various OS/2 targets.
  80. OS2_VER = os2msc40 os2msc50 os2msc51 os2msc60 os2ibm
  81. $(OS2_VER) :
  82.     make.cmd $(@:s/os2//)
  83.  
  84. # DOS with some form of make and sh
  85. # Note if you do not have a 'make and/or sh' program under MSDOS then
  86. # typing 'make' in the dmake distribution directory will invoke the make.bat
  87. # batch file which will issue the appropriate instructions.
  88. DOS_VER = tcc    msc40    msc50    msc51    msc60 \
  89.       tccswp msc40swp msc50swp msc51swp msc60swp \
  90.       bcc    bccswp   ztc      ztcswp
  91. $(DOS_VER) :; make.bat $@
  92.