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
10 REM AFS build environment variables for Windows NT.
11 REM Modify for local configuration; common defaults shown.
12 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
62 REM ########################################################################
63 REM General required definitions:
64 REM SYS_NAME = AFS system name
65 REM Choose one of "i386_win95" or "i386_nt40"
67 SET SYS_NAME=i386_nt40
69 REM Specify the targeted version of Windows and IE: 0x400 for Win9x/NT4
70 REM and above; 0x500 for Windows 2000 and above
74 REM ########################################################################
75 REM NTMakefile required definitions:
76 REM AFSDEV_BUILDTYPE = CHECKED / FREE
77 REM AFSDEV_INCLUDE = default include directories
78 REM AFSDEV_LIB = default library directories
79 REM AFSDEV_BIN = default build binary directories
80 REM AFSVER_CL = version of the Microsoft compiler "1200" for VC6;
81 REM or "1300" for VC7 (.NET)
82 REM or "1310" for .NET 2003
84 set AFSDEV_BUILDTYPE=%AFSBLD_TYPE%
86 REM Location of Microsoft Visual C++ development folder (8.3 short name)
87 set MSVCDIR=c:\progra~1\micros~2\vc98
89 REM Location of Microsoft Platform SDK (8.3 short name)
90 set MSSDKDIR=c:\progra~1\micros~4
92 REM Location of npapi.h (from DDK or Platform SDK samples - 8.3 short name)
93 set NTDDKDIR=c:\progra~1\micros~5
95 REM Location of netmpr.h/netspi.h (from Windows 95/98 DDK - 8.3 short name)
96 SET 9XDDKDIR=c:\progra~1\micros~6
98 set AFSDEV_INCLUDE=%MSSDKDIR%\include;%MSVCDIR%\include;%MSVCDIR%\mfc\include
99 set AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%NTDDKDIR%\include;%9XDDKDIR%\include
100 set AFSDEV_LIB=%MSSDKDIR%\lib;%MSVCDIR%\lib;%MSVCDIR%\mfc\lib
101 set AFSDEV_BIN=%MSSDKDIR%\bin;%MSVCDIR%\bin
103 REM ########################################################################
104 REM Location of base folder where source lies, build directory
105 REM e.g. AFSROOT\SRC is source directory of the build tree (8.3 short name)
107 set AFSROOT=D:\Dev\AfsSorce\OpenAF~2.2
109 REM ########################################################################
110 REM NTMakefile optional definitions:
112 REM See NTMakefile.SYS_NAME; will normally use defaults.
115 IF [%HOMEDRIVE%]==[] SET HOMEDRIVE=C:
117 REM ########################################################################
118 REM Options necessary when using bison
121 set BISON_SIMPLE=c:\bin\bison.simple
122 set BISON_HAIRY=c:\bin\bison.hairy
129 echo Usage: %0 [free^|^checked^|^wspp]