2 REM AFS build environment variables for Windows NT.
4 REM Copyright (C) 1998 Transarc Corporation. All rights reserved.
6 REM Modify for local configuration; common defaults shown.
7 REM ########################################################################
10 REM ########################################################################
12 REM NOTE: You should run NTLANG.REG before attempting to build localized
13 REM language files! Failure to do so will cause the resource compiler
14 REM and message-catalog compiler to choke when they hit unknown code pages.
16 REM NOTE: You will need to copy the NLS files into your windows\system32
17 REM directory prior to building non-english files.
19 REM ########################################################################
22 REM ########################################################################
23 REM Accept build type as an argument; default to checked.
25 if "%1"=="" goto checked
26 if "%1"=="checked" goto checked
27 if "%1"=="CHECKED" goto checked
29 if "%1"=="free" goto free
30 if "%1"=="FREE" goto free
32 if "%1"=="wspp" goto wspp
33 if "%1"=="WSPP" goto wspp
38 set AFSBLD_TYPE=CHECKED
54 REM ########################################################################
55 REM General required definitions:
56 REM SYS_NAME = <AFS system name>
58 set SYS_NAME=i386_nt40
61 REM ########################################################################
62 REM NTMakefile required definitions:
63 REM AFSDEV_BUILDTYPE = [ CHECKED | FREE ]
64 REM AFSDEV_INCLUDE = <default include directories>
65 REM AFSDEV_LIB = <default library directories>
66 REM AFSDEV_BIN = <default build binary directories>
68 set AFSDEV_BUILDTYPE=%AFSBLD_TYPE%
70 set MSVCDIR=c:\dev\tools\DevStudio\vc
72 set AFSDEV_INCLUDE=%MSVCDIR%\include;%MSVCDIR%\mfc\include
73 set AFSDEV_LIB=%MSVCDIR%\lib;%MSVCDIR%\mfc\lib
74 set AFSDEV_BIN=%MSVCDIR%\bin
76 set AFSROOT=d:\afs\openafs
78 REM ########################################################################
79 REM NTMakefile optional definitions:
81 REM See NTMakefile.SYS_NAME; will normally use defaults.
83 REM IS5ROOT = <root directory of the InstallShield5 installation>
84 REM You should only define this if you have InstallShield installed on
85 REM your computer and want to create the setup as part of the build.
87 set IS5ROOT=d:\progra~1\instal~1\instal~1.1pr
89 REM ########################################################################
90 REM Options necessary when using bison
93 set BISON_SIMPLE=c:\bin\bison.simple
94 set BISON_HAIRY=c:\bin\bison.hairy
101 echo Usage: %0 [free^|^checked^|^wspp]