blob: 2a2101d4b418364c25e05130ddf9a7db7ba8276f [file] [log] [blame]
@echo off
REM: Master batch file to set up all necessary environment variables for
REM: the SciTech makefile utilities. This batch file should be executed
REM: *first* before any other batch files when you start a command shell.
REM: You should not need to modify any batch files except this one to
REM: configure the makefile utilities.
REM: Set the place where SciTech Software is installed, and where each
REM: of the supported compilers is installed. These environment variables
REM: are used by the batch files in the SCITECH\BIN directory.
REM: Modify the as appropriate for your compiler configuration (you should
REM: only need to change things in this batch file).
REM: This version is for a normal MSDOS installation.
REM: The SCITECH variable points to where batch files, makefile startups,
REM: include files and source files will be found when compiling.
SET SCITECH=c:\scitech
REM: The SCITECH_LIB variable points to where the SciTech libraries live
REM: for installation and linking. This allows you to have the source and
REM: include files on local machines for compiling and have the libraries
REM: located on a common network machine (for network builds).
REM: The PRIVATE variable points to where private source files reside that
REM: do not live in the public source tree
SET PRIVATE=c:\private
REM: The following sets up the path to the SciTech command line utilities
REM: for the development operating system. We select either DOS hosted
REM: tools or Win32 hosted tools depending on whether you are running
REM: on NT or not. Windows 9x users can use the Win32 hosted tools but
REM: they run slower, but you will have long filenames if you do this.
IF .%OS%==.Windows_NT goto Win32_path
IF NOT .%WINDIR%==. goto Win32_path
goto path_set
REM: The following sets up the path to the SciTech command line utilities
REM: for the development operating system. This version uses the Win32
REM: hosted tools by default, so you can use long filenames.
REM: Set the TMP variable for dmake if this is not already set
REM: Set the following environment variable to use the Netwide Assembler
REM: (NASM) provided with the MGL tools to build all assembler modules.
REM: If you have Turbo Assembler 4.0 or later and you wish to use it,
REM: you can use it by removing the following line.
REM: The following is used to set up DDK directories for device driver
REM: development. They can safely be ignored unless you are using the
REM: SciTech makefile utilities to build device drivers.
SET MSSDK=c:\c\win32sdk
SET W95_DDKROOT=c:\c\95ddk
SET W98_DDKROOT=c:\c\98ddk
SET NT_DDKROOT=c:\c\ntddk
SET W2K_DDKROOT=c:\c\2000ddk
SET MASM_ROOT=c:\c\masm611
SET VTOOLSD=c:\c\vtd95
REM: The following define the locations of all the compilers that you may
REM: be using. Change them to reflect where you have installed your
REM: compilers.
SET BC3_PATH=c:\c\bc3
SET BC4_PATH=c:\c\bc45
SET BC5_PATH=c:\c\bc50
SET BCB5_PATH=c:\c\bcb50
SET VC_PATH=c:\c\msvc
SET VC4_PATH=c:\c\vc42
SET VC5_PATH=c:\c\vc50
SET VC6_PATH=c:\c\vc60
SET SC70_PATH=c:\c\sc75
SET WC10A_PATH=c:\c\wc10a
SET WC10_PATH=c:\c\wc10
SET WC11_PATH=c:\c\wc11
SET TNT_PATH=c:\c\tnt
SET DJ_PATH=c:\c\djgpp
SET GCC2_PATH=c:\unix\usr
REM: The following define the locations of the IDE and compiler path
REM: tools for Visual C++. If you do a standard installation, you wont
REM: need to change this. If however you did a custom install and changed
REM: the paths to these directory, you will need to modify this to suit.
SET VC5_MSDevDir=%VC5_PATH%\sharedide
SET VC6_MSDevDir=%VC6_PATH%\common\msdev98