2 rem Copyright 2000, International Business Machines Corporation and others.
3 rem All Rights Reserved.
5 rem This software has been released under the terms of the IBM Public
6 rem License. For details, see the LICENSE file in the top-level source
7 rem directory or online at http://www.openafs.org/dl/license10.html
9 REM AFS build environment variables for Windows NT.
10 REM Modify for local configuration; common defaults shown.
11 REM ########################################################################
14 REM ########################################################################
16 REM NOTE: You should run NTLANG.REG before attempting to build localized
17 REM language files! Failure to do so will cause the resource compiler
18 REM and message-catalog compiler to choke when they hit unknown code pages.
20 REM NOTE: You will need to copy the NLS files into your windows\system32
21 REM directory prior to building non-english files.
23 REM ########################################################################
26 REM ########################################################################
27 REM Accept build type as an argument; default to checked.
29 if "%1"=="" goto checked
30 if "%1"=="checked" goto checked
31 if "%1"=="CHECKED" goto checked
33 if "%1"=="free" goto free
34 if "%1"=="FREE" goto free
36 if "%1"=="wspp" goto wspp
37 if "%1"=="WSPP" goto wspp
42 set AFSBLD_TYPE=CHECKED
58 REM ########################################################################
59 REM General required definitions:
60 REM SYS_NAME = <AFS system name>
62 set SYS_NAME=i386_nt40
65 REM ########################################################################
66 REM NTMakefile required definitions:
67 REM AFSDEV_BUILDTYPE = [ CHECKED | FREE ]
68 REM AFSDEV_INCLUDE = <default include directories>
69 REM AFSDEV_LIB = <default library directories>
70 REM AFSDEV_BIN = <default build binary directories>
72 set AFSDEV_BUILDTYPE=%AFSBLD_TYPE%
74 set MSVCDIR=c:\dev\tools\DevStudio\vc
76 set AFSDEV_INCLUDE=%MSVCDIR%\include;%MSVCDIR%\mfc\include
77 set AFSDEV_LIB=%MSVCDIR%\lib;%MSVCDIR%\mfc\lib
78 set AFSDEV_BIN=%MSVCDIR%\bin
80 set AFSROOT=d:\afs\openafs
82 REM ########################################################################
83 REM NTMakefile optional definitions:
85 REM See NTMakefile.SYS_NAME; will normally use defaults.
87 REM IS5ROOT = <root directory of the InstallShield5 installation>
88 REM You should only define this if you have InstallShield installed on
89 REM your computer and want to create the setup as part of the build.
91 set IS5ROOT=d:\progra~1\instal~1\instal~1.1pr
93 REM ########################################################################
94 REM Options necessary when using bison
97 set BISON_SIMPLE=c:\bin\bison.simple
98 set BISON_HAIRY=c:\bin\bison.hairy
105 echo Usage: %0 [free^|^checked^|^wspp]