home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / sk210f.zip / SKYHAWK.MAK < prev    next >
Text File  |  1994-05-16  |  10KB  |  280 lines

  1. #                              SKYHAWK.MAK
  2. #
  3. #            MAKE FILE FOR SKYHAWK DEVELOPMENT KIT, ver. 2.0
  4. #
  5. # This make file is designed to be used only with Borland's MAKE utility;
  6. # it has not been tested with Microsoft's MAKE. To use this file, enter
  7. #
  8. #     MAKE -fSKYHAWK.MAK
  9. #
  10. # at the DOS command line.
  11. #
  12. # SKYHAWK.MAK is designed to work with Turbo Pascal 5.0-7.0 or Borland
  13. # Pascal 7.0, and Turbo Assembler 1.0+. This is made possible by MAKE
  14. # conditional defines. There are several macros that must either be
  15. # defined or commented out, depending on what version of the compiler you
  16. # have and what assembler, if any. See the comments below for further
  17. # instructions.
  18.  
  19. # ---------------------------------------------------- Macros
  20.  
  21. # You may need to modify the definitions below in order for MAKE to be
  22. # able to find your compiler and assembler. To comment out a macro,
  23. # insert '#' at the beginning of the line, as is being done here.
  24.  
  25. # Comment out all but one of the following lines depending on which
  26. # version of Turbo Pascal (5.0-7.0) or Borland Pascal (7.0) you are
  27. # using:
  28. #
  29. # tp5=1
  30. # tp55=1
  31. # tp6=1
  32. # tp7=1
  33. bp7=1
  34.  
  35. !if $(tp5) + $(tp55) + $(tp6) + $(tp7) + $(bp7) < 1
  36. !error No compiler is specified
  37. !endif
  38.  
  39. !if $(tp5) + $(tp55) + $(tp6) + $(tp7) + $(bp7) > 1
  40. !error Only one compiler may be specified
  41. !endif
  42.  
  43. # Activate this line for Borland Pascal 7.0 protected mode,
  44. # or comment it out for real mode.
  45. #
  46. # pmode=1
  47.  
  48. # Source code for an extensive menu-driven test suite is included.
  49. # Activate this line if you want the test suite built, or comment it out
  50. # if not.
  51. #
  52. dotests=1
  53.  
  54. # Activate this line for Turbo Assembler,
  55. # or comment it out for Microsoft Assembler.
  56. #
  57. tasm=1
  58.  
  59. # Comment this line out if you do not have an assembler.
  60. #
  61. HaveAssembler=1
  62.  
  63. # DO NOT MODIFY THIS IF-GROUP ***************
  64. # Make sure pmode is undefined if not appropriate.
  65. !ifndef bp7
  66. !undef pmode
  67. !endif
  68.  
  69. # You may wish to modify the pathnames or command line options in the
  70. # following definitions for "compile" and/or "assemble".
  71. #
  72. !if $d(tp5) || $d(tp55) || $d(tp6) || $d(tp7)
  73. compile=TPC.EXE /M /$D- /$L- /L
  74. !endif
  75. #
  76. !ifdef bp7
  77. !ifdef pmode
  78. compile=BPC.EXE /CP /M /$D- /$L-
  79. !else
  80. compile=BPC.EXE /CD /M /$D- /$L-
  81. !endif
  82. !endif
  83. #
  84. !ifdef tasm
  85. assemble=TASM.EXE
  86. !else
  87. assemble=MASM.EXE
  88. !endif
  89.  
  90. # There normally should not be any need for you to modify the remainder
  91. # of this file.
  92.  
  93. # --------------------------------------- Automatic macros
  94.  
  95. # Specify the file extension used for a unit
  96. !ifdef pmode
  97. uext=TPP
  98. !else
  99. uext=TPU
  100. !endif
  101.  
  102.  
  103. # ---------------------------------------- Force evaluation of dependencies
  104.  
  105. !ifdef dotests
  106. !ifdef pmode
  107. skyhawk.sys:    shclrdef.tpp    sherrmsg.tpp    shcmplx.tpp               \
  108.                 shcrcchk.tpp                                              \
  109.                 shutilpk.tpp    shdatpk.tpp     shfinanc.tpp              \
  110.                 shlist.tpp      shlngstr.tpp                              \
  111.                 shcmdlin.tpp                                              \
  112.                 testbetw.tpp    testcmpx.tpp    testcolr.tpp              \
  113.                 testcrc.tpp     testdate.tpp    testfin.tpp               \
  114.                 testlist.tpp    testutil.tpp                              \
  115.                                                                           \
  116.                 testdrvr.tpp                                              \
  117.                                                                           \
  118.                 testshdk.exe    testcmdl.exe    testerr.exe               \
  119.                 testlstr.exe
  120. !else   # not pmode
  121. skyhawk.sys:    shclrdef.tpu    sherrmsg.tpu    shcmplx.tpu               \
  122.                 shcrcchk.tpu                                              \
  123.                 shutilpk.tpu    shdatpk.tpu     shfinanc.tpu              \
  124.                 shlist.tpu      shlngstr.tpu                              \
  125.                 shcmdlin.tpu                                              \
  126.                 overshdk.tpu    overcmdl.tpu    overlstr.tpu              \
  127.                 testbetw.tpu    testcmpx.tpu    testcolr.tpu              \
  128.                 testcrc.tpu     testdate.tpu    testfin.tpu               \
  129.                 testlist.tpu    testutil.tpu                              \
  130.                                                                           \
  131.                 execswap.tpu    testdrvr.tpu                              \
  132.                                                                           \
  133.                 testshdk.exe    testcmdl.exe    testerr.exe               \
  134.                 testlstr.exe
  135. !endif
  136. !else   # don't do tests
  137. !ifdef pmode
  138. skyhawk.sys:    shclrdef.tpp    sherrmsg.tpp    shcmplx.tpp               \
  139.                 shcrcchk.tpp                                              \
  140.                 shutilpk.tpp    shdatpk.tpp     shfinanc.tpp              \
  141.                 shlist.tpp      shlngstr.tpp                              \
  142.                 shcmdlin.tpp
  143. !else   # not pmode
  144. skyhawk.sys:    shclrdef.tpu    sherrmsg.tpu    shcmplx.tpu               \
  145.                 shcrcchk.tpu                                              \
  146.                 shutilpk.tpu    shdatpk.tpu     shfinanc.tpu              \
  147.                 shlist.tpu      shlngstr.tpu                              \
  148.                 shcmdlin.tpu
  149. !endif
  150. !endif
  151.  
  152.  
  153. # ---------------------------------------  Implicit rules
  154.  
  155. .pas.exe:
  156.   $(compile) $*
  157.  
  158. .pas.tpu:
  159.   $(compile) $*
  160.  
  161. .pas.tpp:
  162.   $(compile) $*
  163.  
  164. !ifdef HaveAssembler
  165. .asm.obj:
  166.   $(assemble) $*
  167. !endif
  168.  
  169. # ---------------------------------------  Object files
  170.  
  171. !ifndef pmode
  172. !ifdef HaveAssembler
  173. execswap.obj:   execswap.asm
  174. !endif
  175. !endif
  176.  
  177. # ---------------------------------------  Unit files
  178.  
  179. shclrdef.$(uext):   shdefine.inc      shunitsw.inc      shclrdef.pas
  180.  
  181. shcmplx.$(uext):    shdefine.inc      shunitsw.inc      shcmplx.pas
  182.  
  183. shcrcchk.$(uext):   shdefine.inc      shunitsw.inc      shcrcchk.pas
  184.  
  185. shdatpk.$(uext):    shdefine.inc      shunitsw.inc      shdatpk.pas
  186.  
  187. sherrmsg.$(uext):   shdefine.inc      shunitsw.inc      sherrmsg.pas
  188.  
  189. shfinanc.$(uext):   shdefine.inc      shunitsw.inc      shutilpk.$(uext)  \
  190.                     sherrmsg.$(uext)  shfinanc.pas
  191.  
  192. shlist.$(uext):     shdefine.inc      shunitsw.inc      shlist.pas
  193.  
  194. shlngstr.$(uext):   shdefine.inc      shunitsw.inc      shlngstr.pas
  195.  
  196. shutilpk.$(uext):   shdefine.inc      shunitsw.inc      shutilpk.pas
  197.  
  198. shcmdlin.$(uext):   shdefine.inc      shunitsw.inc      shcmdlin.pas      \
  199.                     shlist.$(uext)    shutilpk.$(uext)
  200.  
  201. testbetw.$(uext):   shdefine.inc      shunitsw.inc      testbetw.pas      \
  202.                     shutilpk.$(uext)
  203.  
  204. testcmpx.$(uext):   shdefine.inc      shunitsw.inc      testcmpx.pas      \
  205.                     shcmplx.$(uext)
  206.  
  207. testcolr.$(uext):   shdefine.inc      shunitsw.inc      testcolr.pas      \
  208.                     shclrdef.$(uext)
  209.  
  210. testcrc.$(uext):    shdefine.inc      shunitsw.inc      testcrc.pas       \
  211.                     shcrcchk.$(uext)
  212.  
  213. testdate.$(uext):   shdefine.inc      shunitsw.inc      testdate.pas      \
  214.                     shdatpk.$(uext)                                       \
  215.  
  216. testlist.$(uext):   shdefine.inc      shunitsw.inc      testlist.pas      \
  217.                     shlist.$(uext)
  218.  
  219. testfin.$(uext):    shdefine.inc      shunitsw.inc      shfinanc.$(uext)  \
  220.                     sherrmsg.$(uext)  testfin.pas
  221.  
  222. testutil.$(uext):   shdefine.inc      shunitsw.inc      testutil.pas      \
  223.                     shutilpk.$(uext)
  224.  
  225. !ifdef pmode
  226. testdrvr.$(uext):   shdefine.inc      testshdk.pas                        \
  227.                     testbetw.$(uext)  testfin.$(uext)                     \
  228.                     testcmpx.$(uext)  testcolr.$(uext)  testcrc.$(uext)   \
  229.                     testdate.$(uext)  testlist.$(uext)  testutil.$(uext)
  230. !else
  231. testdrvr.$(uext):   shdefine.inc      testshdk.pas                        \
  232.                     testbetw.$(uext)  testfin.$(uext)                     \
  233.                     testcmpx.$(uext)  testcolr.$(uext)  testcrc.$(uext)   \
  234.                     testdate.$(uext)  testlist.$(uext)  testutil.$(uext)  \
  235.                     overshdk.$(uext)  execswap.$(uext)
  236. !endif
  237.  
  238. !ifndef pmode
  239. execswap.$(uext):   execswap.pas      execswap.obj
  240.  
  241. overshdk.$(uext):   overshdk.pas
  242.  
  243. overcmdl.$(uext):   overcmdl.pas
  244.  
  245. overlstr.$(uext):   overlstr.pas
  246. !endif
  247.  
  248. # ---------------------------------------  Executable files
  249.  
  250. testerr.exe:        shdefine.inc      testerr.pas       sherrmsg.$(uext)
  251.  
  252. !ifdef pmode
  253. testcmdl.exe:       shdefine.inc      testcmdl.pas      shcmdlin.$(uext)
  254.  
  255. testlstr.exe:       shdefine.inc      testlstr.pas      shcrcchk.$(uext)  \
  256.                     shutilpk.$(uext)  shlngstr.$(uext)
  257.  
  258. testshdk.exe:       shdefine.inc      testshdk.pas                        \
  259.                     testbetw.$(uext)                                      \
  260.                     testcmpx.$(uext)  testcolr.$(uext)  testcrc.$(uext)   \
  261.                     testdate.$(uext)  testlist.$(uext)  testutil.$(uext)  \
  262.                     testdrvr.$(uext)                                      \
  263.                     testcmdl.exe      testerr.exe       testlstr.exe
  264. !else
  265. testcmdl.exe:       shdefine.inc      testcmdl.pas      shcmdlin.$(uext)  \
  266.                     overcmdl.$(uext)
  267.  
  268. testlstr.exe:       shdefine.inc      testlstr.pas      shcrcchk.$(uext)  \
  269.                     shutilpk.$(uext)  shlngstr.$(uext)                    \
  270.                     overlstr.$(uext)
  271.  
  272. testshdk.exe:       shdefine.inc      testshdk.pas                        \
  273.                     testbetw.$(uext)                                      \
  274.                     testcmpx.$(uext)  testcolr.$(uext)  testcrc.$(uext)   \
  275.                     testdate.$(uext)  testlist.$(uext)  testutil.$(uext)  \
  276.                     testdrvr.$(uext)                                      \
  277.                     testcmdl.exe      testerr.exe       testlstr.exe      \
  278.                     overshdk.$(uext)  execswap.$(uext)
  279. !endif
  280.