set-vars.bat 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. @echo off
  2. REM:=========================================================================
  3. REM: Master batch file to set up all necessary environment variables for
  4. REM: the SciTech makefile utilities. This batch file should be executed
  5. REM: *first* before any other batch files when you start a command shell.
  6. REM: You should not need to modify any batch files except this one to
  7. REM: configure the makefile utilities.
  8. REM:=========================================================================
  9. REM: Set the place where SciTech Software is installed, and where each
  10. REM: of the supported compilers is installed. These environment variables
  11. REM: are used by the batch files in the SCITECH\BIN directory.
  12. REM:
  13. REM: Modify the as appropriate for your compiler configuration (you should
  14. REM: only need to change things in this batch file).
  15. REM:
  16. REM: This version is for a normal MSDOS installation.
  17. REM: The SCITECH variable points to where batch files, makefile startups,
  18. REM: include files and source files will be found when compiling.
  19. SET SCITECH=c:\scitech
  20. REM: The SCITECH_LIB variable points to where the SciTech libraries live
  21. REM: for installation and linking. This allows you to have the source and
  22. REM: include files on local machines for compiling and have the libraries
  23. REM: located on a common network machine (for network builds).
  24. SET SCITECH_LIB=%SCITECH%
  25. REM: The PRIVATE variable points to where private source files reside that
  26. REM: do not live in the public source tree
  27. SET PRIVATE=c:\private
  28. REM: The following sets up the path to the SciTech command line utilities
  29. REM: for the development operating system. We select either DOS hosted
  30. REM: tools or Win32 hosted tools depending on whether you are running
  31. REM: on NT or not. Windows 9x users can use the Win32 hosted tools but
  32. REM: they run slower, but you will have long filenames if you do this.
  33. IF .%OS%==.Windows_NT goto Win32_path
  34. IF NOT .%WINDIR%==. goto Win32_path
  35. SET SCITECH_BIN=%SCITECH%\bin;%SCITECH%\bin-dos
  36. goto path_set
  37. REM: The following sets up the path to the SciTech command line utilities
  38. REM: for the development operating system. This version uses the Win32
  39. REM: hosted tools by default, so you can use long filenames.
  40. :Win32_path
  41. SET SCITECH_BIN=%SCITECH%\bin;%SCITECH%\bin-win32
  42. :path_set
  43. REM: Set the TMP variable for dmake if this is not already set
  44. SET TMP=%SCITECH%
  45. REM: Set the following environment variable to use the Netwide Assembler
  46. REM: (NASM) provided with the MGL tools to build all assembler modules.
  47. REM: If you have Turbo Assembler 4.0 or later and you wish to use it,
  48. REM: you can use it by removing the following line.
  49. SET USE_NASM=1
  50. REM: The following is used to set up DDK directories for device driver
  51. REM: development. They can safely be ignored unless you are using the
  52. REM: SciTech makefile utilities to build device drivers.
  53. SET DDKDRIVE=c:
  54. SET MSSDK=c:\c\win32sdk
  55. SET W95_DDKROOT=c:\c\95ddk
  56. SET W98_DDKROOT=c:\c\98ddk
  57. SET NT_DDKROOT=c:\c\ntddk
  58. SET W2K_DDKROOT=c:\c\2000ddk
  59. SET MASM_ROOT=c:\c\masm611
  60. SET VTOOLSD=c:\c\vtd95
  61. SET SOFTICE_PATH=c:\c\sint
  62. REM: The following define the locations of all the compilers that you may
  63. REM: be using. Change them to reflect where you have installed your
  64. REM: compilers.
  65. SET BC3_PATH=c:\c\bc3
  66. SET BC4_PATH=c:\c\bc45
  67. SET BC5_PATH=c:\c\bc50
  68. SET BCB5_PATH=c:\c\bcb50
  69. SET VC_PATH=c:\c\msvc
  70. SET VC4_PATH=c:\c\vc42
  71. SET VC5_PATH=c:\c\vc50
  72. SET VC6_PATH=c:\c\vc60
  73. SET SC70_PATH=c:\c\sc75
  74. SET WC10A_PATH=c:\c\wc10a
  75. SET WC10_PATH=c:\c\wc10
  76. SET WC11_PATH=c:\c\wc11
  77. SET TNT_PATH=c:\c\tnt
  78. SET DJ_PATH=c:\c\djgpp
  79. SET GCC2_PATH=c:\unix\usr
  80. REM: The following define the locations of the IDE and compiler path
  81. REM: tools for Visual C++. If you do a standard installation, you wont
  82. REM: need to change this. If however you did a custom install and changed
  83. REM: the paths to these directory, you will need to modify this to suit.
  84. SET VC5_MSDevDir=%VC5_PATH%\sharedide
  85. SET VC5_MSVCDir=%VC5_PATH%\vc
  86. SET VC6_MSDevDir=%VC6_PATH%\common\msdev98
  87. SET VC6_MSVCDir=%VC6_PATH%\vc98