rx_securityClass-20021016
[openafs.git] / src / README-NT
1 This software has been released under the terms of the IBM Public\r
2 License.  For details, see the LICENSE file in the top-level source\r
3 directory or on-line at http://www.openafs.org/dl/license10.html\r
4 \r
5 The document now provides a step by step procedure that takes the user \r
6 from a basic Windows NT/2000 workstation to an OpenAFS development \r
7 environment.   Details are provided so that a 'beginning' windows \r
8 developer can build an OpenAFS installable package for Windows NT/2000.  \r
9 \r
10 ***********   Windows NT/2000 Build Process ****************\r
11 \r
12 Building OpenAFS for Windows requires configuring a Windows\r
13 development system by installing compilation tools and header files.\r
14 Open AFS Software development can be done on Windows NT or 2000.  The\r
15 target system, where OpenAFS will be installed, should be either\r
16 Windows NT or Windows 2000.  The building process is controlled by a\r
17 nmake file that generates the necessary binaries and binds them into an\r
18 install package.\r
19 \r
20 The following steps describe how to configure Windows 2000/NT:\r
21 \r
22    A. Obtain a copy of the OpenAFS Source Tree\r
23    B. Install Compiler and Development tools.\r
24    C. Set up drive mappings.\r
25    D. Install SDK header files\r
26    E. Configure Environment variables\r
27    F. Set program version Level\r
28    G. Build Win2000 binaries\r
29    H. Install InstallShield 5.x\r
30    I. Build Win2000 InstallShield Package\r
31    J. Build Win2000 InstallShield Package for the Web\r
32    K. Final Results\r
33    L. Creating a Debug Environment\r
34    M. Optional Items\r
35    N. Required patches for 1.2.2a and earlier releases\r
36         \r
37 The Software development tools with InstallShield require 900 MB\r
38 storage.\r
39 \r
40 The Software development tools (without InstallShield) require 660 MB\r
41 storage.\r
42 \r
43 The OpenAFS Source directory requires about 200 MB storage. The Source\r
44 directory size includes additional space for files that will be\r
45 generated during the build process.\r
46 \r
47 The following CDs are used in this example:\r
48         Microsoft SDK and Tools Jan 2001\r
49         Microsoft Visual Studio Version 6.0\r
50         InstallShield 5.5\r
51 \r
52 Different versions of above CDs can be used; however, building an\r
53 install package for Windows NT/2000 requires InstallShield\r
54 version 5.0 to 5.5 (version 6.0 or better will not work).  \r
55 \r
56 You can build all the necessary binaries without the InstallShield\r
57 software. InstallShield is only needed to build an install package.\r
58 \r
59 STEP A. Obtain a copy of the Open AFS Source Tree.\r
60 \r
61 Transfer OpenAFS source tree onto your hardrive.  The source can be\r
62 downloaded from the OpenAFS web site:\r
63         http://www.OpenAFS.org/release/snapindex.html.\r
64 \r
65 For this example, download source for version 1.2.2a using the\r
66 following URL:\r
67 http://www.openafs.org/dl/openafs/1.2.2a/openafs-1.2.2a-src.tar\r
68 \r
69 HINT: DailySnapShots are pre-release source trees and much more\r
70 likely to have compilation errors. If this is your first attempt, do\r
71 your build based on a release version of the source, e.g. 1.2.2.a. Once\r
72 you have completed a build process successfully, you can experiment with\r
73 other source trees.\r
74 \r
75 You will need an unzip utility that can expand compressed tar files.\r
76 For example "Pkzip for Windows" from Pkware will uncompress tar files.\r
77 (http://www.pkware.com/)\r
78 \r
79 Expand the downloaded tar file (openafs-1.2.2a-src.tar) into target\r
80 directory (c:\OpenAFS), the unzip routine will expand the source into a\r
81 subdirectory tree:\r
82                 c:\OpenAFS\OpenAFS-1.2.2a\src\r
83 \r
84 Copy files NTMAKEFILE from 'src' to the AFS base directory:\r
85 \r
86 From a DOS command prompt window, enter the following copy commands:\r
87 \r
88 copy c:\OpenAFS\OpenAFS-1.2.2a\src\NTMAKEFILE c:\OpenAFS\OpenAFS-1.2.2a\.\r
89 \r
90 The AFS base directory should look something like the following:\r
91 \r
92 c:\OpenAFS\OpenAFS-1.2.2a\\r
93   NTMakefile\r
94   src\r
95           \r
96 STEP B. Install compiler and development tools.\r
97 \r
98 Install a copy of Microsoft Visual C++ 5.0 or 6.0. The "Typical" install\r
99 setting is sufficient.\r
100 \r
101 (1) You can reduce the installation size by selecting "Custom" install\r
102 and remove all but the following Options:\r
103 \r
104         Microsoft Visual C++\r
105         Data Access\r
106 \r
107 (2) When asked, Select to Register Environment Variables.\r
108 \r
109 (3) After rebooting you have to choice to install additional software\r
110 packages. It is not necessary to install these packages.\r
111 \r
112 STEP C. Map development drive letters.\r
113 \r
114 The following documentation will assume you are mapping the Y: drive to\r
115 the OpenAFS source directory and you are mapping X: drive to your\r
116 development tools directory. Other configurations will work, including\r
117 not mapping any drives, as long as the path assignments are consistent\r
118 and you don't exceed the maximum environment variable length.\r
119 \r
120 Y: drive mapping provides a consistent directory location to build from.\r
121 Building OpenAFS will require you to open up a command DOS prompt,\r
122 navigate to drive Y: and execute the nmake file.  The source is based\r
123 from Y: drive and the generated files are based from Y:\DEST.  If the OpenAFS \r
124 source tree is at a different location, you only need to re-map the\r
125 Y: drive.\r
126 \r
127 X: drive mapping shortens the length of several Environment variables\r
128 by mapping it to a directory where Visual Studio is installed. Although\r
129 this step is not important when using Windows NT or 2000 as a\r
130 development OS, it does reduce the chance of typing errors during\r
131 the configuration phase.\r
132 \r
133 From a DOS command window enter the following commands:\r
134 \r
135 SUBST  y: c:\OpenAFS\OpenAFS-1.2.2a\r
136 SUBST  x: "c:\Program Files\Microsoft Visual Studio\VC98"\r
137 \r
138 SUBST is persistent across DOS command prompts; that is, if you open up\r
139 another DOS command prompt the mapped drives are still defined.\r
140 However, if you reboot the mapped drives using SUBST will be lost.  \r
141 \r
142 If you need to remove Y: drive mapping, execute the following command\r
143 from a DOS command prompt window:\r
144 \r
145 SUBST  y: /d\r
146 \r
147 STEP D. Install SDK header files.\r
148 \r
149 Files from Microsoft's Platform SDK for NT or 98 are required to\r
150 complete a build on NT/2000.\r
151 \r
152 The header files that are required are found from a Microsoft SDK are:\r
153 \r
154    netspi.h\r
155    npapi.h\r
156 \r
157 These files come from Microsoft DDKs/SDKs as follows:\r
158 \r
159    January 1997 Windows NT Workstation DDK - /ddk/frc/network/inc/npapi.h\r
160    November 2001 Microsoft Platform SDK - install "samples" from "Core SDK"\r
161                               samples/winbase/security/winnt/logonnp/npapi.h\r
162    July 1998 Windows 95 DDK - net/inc/netmpr.h and net/inc/netspi.h\r
163    July 1999 Windows 98 DDK - src/net/inc/netmpr.h and src/net/inc/netspi.h\r
164                             - you need to install "Legacy and Related\r
165                               driver samples"\r
166 \r
167 To Install Platform SDK from CDROM\r
168         \r
169         Run "setup.exe default.htm" from CDROM:\r
170         Select Microsoft Core SDK\r
171         Select Sample and Source\r
172         Select installation path x:\SDK\r
173 \r
174 To Install Windows SDK from WEB:\r
175         http://www.microsoft.com/sdk\r
176 \r
177 STEP E. Configure the OpenAFS build environment.\r
178 \r
179 The following environment variables should be set:\r
180 \r
181 SET AFSDEV_LIB=%LIB%\r
182 SET AFSROOT=Y:\r
183 SET SYS_NAME=i386_nt40\r
184 SET _WIN32_IE=0x400\r
185 SET MSSDK=X:\Sdk\r
186 SET MSTOOLS=X:\Sdk\r
187 SET MSVCDIR=X:\r
188 SET AFSDEV_BIN=X:\BIN\r
189 SET AFSDEV_BUILDTYPE=FREE\r
190 SET AFSDEV_INCLUDE=X:\Sdk\samples\winbase\security\winnt\logonNP;X:\Sdk\Include\ATL30;X:\Sdk\Include;%INCLUDE%\r
191 \r
192 Please do not include unnecessary spaces in AFSDEV_INLCUDE.\r
193 \r
194 Create a batch file (SETAFS.BAT) to make these settings that can be \r
195 executed when you bring up a DOS command prompt window.  Environment \r
196 variables are not persistent, if you close the DOS command window \r
197 or reboot, the environment variables are lost and they must be \r
198 recreated when you open a new DOS command prompt window.\r
199 \r
200 HINT: SET AFSDEV_BUILDTYPE=CHECKED if you want debug information\r
201 included in your binaries.\r
202 \r
203 HINT: Adding drive mapping commands to the batch file makes it easy to\r
204 establish your development environment even if you logoff.  I suggest\r
205 adding the following lines to the beginning of the batch file:\r
206 \r
207 SUBST  y: /d\r
208 SUBST  x: /d\r
209 SUBST  y: c:\OpenAfs\OpenAFS-1.2.2a\r
210 SUBST  x: "c:\Program Files\Microsoft Visual Studio\VC98"\r
211 \r
212 HINT: Windows 2000/NT provides an alternate way to set environment\r
213 variables in System Proprieties.  These can be accessed from the system\r
214 control panel, advanced tab, Environment Variables.  These are\r
215 persistent and will be reset every time a DOS command prompt window is\r
216 opened.\r
217 \r
218 STEP F. Set version and installation options\r
219 \r
220 Add a CellServDB file to install area. CellServDB contains the entries\r
221 for the various cell names.  You can download a general purpose one\r
222 from:\r
223         http://grand.central.org/dl/cellservdb/CellServDB\r
224 then copy it to Y:\DEST\Wininstall\Config\CellServDB.GrandCentral\r
225 \r
226 Note: Create directory Y:\DEST\Wininstall\Config\ if it doesn't exist.\r
227 \r
228 Edit file Y:\src\config\NTMakefile.i386_nt40\r
229         AFSPRODUCT_VERSION  - Product version\r
230         CELLSERVDB_INSTALL - The default file name for the CellServDB\r
231         included in the install Package.\r
232         CELLNAME_DEFAULT -  The default home cell name.\r
233         CELLSERVDB_WEB  - The default web address to obtain CellServDB\r
234 \r
235 For example: in the file Y:\src\config\NTMakefile.i386_nt40 you would\r
236 see the following:\r
237 \r
238    AFSPRODUCT_VERSION=1.2.2a\r
239    CELLNAME_DEFAULT=home.cell.com\r
240    CELLSERVDB_INSTALL=CellServDB.GrandCentral\r
241    CELLSERVDB_WEB=http://grand.central.org/dl/cellservdb/CellServDB\r
242 \r
243 During the Open AFS installation process the user will be presented\r
244 with two choices for the CellServDB: Local copy (CELLSERVDB_INSTALL) and\r
245 one that can be downloaded from the web (CELLSERVDB_WEB).\r
246 \r
247 HINT: The product version number (AFSPRODUCT_VERSION) can be changed to\r
248 create a new version number.  For example if you have added source\r
249 changes to OpenAFS-1.2.2a and you wanted to create a new version level,\r
250 you may want to use the following: AFSPRODUCT_VERSION=1.2.2b\r
251 \r
252 STEP G. Begin the build\r
253 \r
254 (1) From Windows 2000 open up a DOS prompt window.\r
255 \r
256 (2) Clean the work area.\r
257 \r
258     nmake /f NTMakefile clean\r
259 \r
260 (3) Build the complete Windows NT/2000 development environment.\r
261 \r
262     nmake /f NTMakefile install\r
263 \r
264 While the build is running you will see many compile warnings. This\r
265 behavior is normal; the build process is successful as long as the build\r
266 process doesn't terminate with an error ("nmake.exe return code 0x2")\r
267 and it displays 'Build Finished Successfully'.\r
268 \r
269 STEP H. Install InstallShield (optional).\r
270 \r
271 In order to build an install package for OpenAFS, InstallShield 5.5\r
272 must be installed along with InstallShield East and West\r
273 multi-Language packs.\r
274 \r
275 (1) Install InstallShield (version between 5.0 and  5.5)\r
276 \r
277 For minimum installation choose "compact".\r
278 \r
279 (2) Install West Language Pack (5.5)\r
280 \r
281 (3) Install East Language Pack (5.5)\r
282 \r
283 NOTE: InstallShield's versions 6 and higher WILL NOT WORK for\r
284 Windows NT/2000 build process.\r
285 \r
286 (4) Add necessary DLL's to work with the InstallShield package.\r
287 \r
288 Two Microsoft DLL's are missing from the InstallShield package. These\r
289 DLL's must be copied to Y:\DEST\WinInstall\Config\:\r
290         SHLWAPI.DLL \r
291         WININET.DLL\r
292 \r
293 These files are only used during the installation, and they will not \r
294 be left on the target machine.  They can be located at \r
295 %SystemRoot%\SYSTEM32.\r
296 \r
297 From a DOS command prompt window enter the following commands:\r
298 \r
299 copy %systemRoot%\System32\SHLWAPI.DLL y:\dest\wininstall\config\.\r
300 copy %systemRoot%\System32\WININET.DLL y:\dest\wininstall\config\.\r
301 \r
302 (5) Add two Environment variables to the bottom of the batch file,\r
303 SETAFS.BAT (see STEP E:).\r
304 \r
305 SET IS5ROOT="C:\Program Files\InstallShield\InstallShield 5.5 Professional Edition"\r
306 SET AFSDEV_INCLUDE=%AFSDEV_INCLUDE%;%IS5ROOT%\Include\r
307 \r
308 STEP I.  Build Win2000 InstallShield package\r
309 \r
310 From the DOS command prompt window run:\r
311 \r
312         Y:\r
313     nmake /f NTMakefile media\r
314 \r
315 While the build is running you will see a few compile warnings. This\r
316 behavior is normal; the build process is successful as long as the build\r
317 process doesn't terminate with an error ("nmake.exe return code 0x2")\r
318 and it displays 'Install Script Finished Successfully'.\r
319 \r
320 STEP J.  Build Win2000 InstallShield package for the Web\r
321 \r
322 InstallShield's PackageForTheWeb combines the installation files into a\r
323 single application file that will expand on execution and lead you\r
324 through the OpenAFS installation.   \r
325 \r
326 Install PackageForTheWeb 3 from InstallShield\r
327 \r
328 Add Environment variables to the bottom of the batch file, SETAFS.BAT\r
329 (see STEP E:).\r
330 \r
331 SET ISWEB="C:\Program Files\InstallShield\PackageForTheWeb 3"\r
332 \r
333 From the DOS command prompt window run:\r
334 \r
335         Y:\r
336     nmake /f NTMakefile media\r
337 \r
338 While the build is running you will see a few compile warnings. This\r
339 behavior is normal; the build process is successful as long as the build\r
340 process doesn't terminate with an error ("nmake.exe return code 0x2") and\r
341 it displays 'Install Script Finished Successfully'.\r
342 \r
343 HINT:  It is only necessary to run "nmake /f NTMakefile media" once, by \r
344 combining steps I & J.     \r
345 \r
346 STEP K. Final Results\r
347 \r
348 The build process generates its binaries in Y:\DEST. The subdirectory\r
349 would look like the following:\r
350 \r
351 Y:\DEST\r
352         bin\r
353         etc\r
354         include\r
355         lib\r
356         root.client\r
357         root.server\r
358         WinInstall\r
359 \r
360 Y:\DEST\Bin - contains build utilities.\r
361 Y:\DEST\root.client - contains Open AFS binaries\r
362 Y:\DEST\root.server - contain Open AFS Server binaries\r
363 Y:\DEST\WinInstall\PackageWeb\AFSforWindows.exe - is the Web install\r
364 package for Open AFS.\r
365 Y:\DEST\WinInstall\ - are the install package files for Open AFS\r
366 \r
367 Step L. Creating a Debug Environment\r
368 \r
369 Instructions on building a debugging environment from Visual Studio C++\r
370 workspace.  This example give the user a way to step through the source\r
371 code for AFSCREDS.EXE.\r
372 \r
373 These instructions are to be followed after you have set up the\r
374 development environment.\r
375 \r
376 The following steps must be done before you can build a debug\r
377 environment:\r
378 \r
379 1. Set up the development environment as described above\r
380 2. set AFS_BUILDTYPE=CHECKED to get debug information.\r
381 3. You must use environment variables in System Properties\r
382 4. Do a complete build.\r
383 \r
384 To set the the environment variables in the System Properties:\r
385 1. Select the 'System' icon in the control Panel\r
386 2. Select the 'Advanced' tab\r
387 3. Select the 'Environment Variables' button\r
388 4. In the user area set all variables as you did above that\r
389 were used in the setafs.bat file.\r
390 \r
391 To build a new work space to debug afs_creds.exe:\r
392 \r
393 1. Create New Workspace  - \r
394 Select from Microsoft Visual C++ toolbar file New\r
395 Select from 'new' Project Tab Makefile Project name: Creds\r
396 Location Y:\src\winnt\client_creds\r
397 Select OK\r
398 \r
399 From Dialog Box 'Makefile - Step 1 of 2'\r
400 command line= nmake /f"ntmakefile" install\r
401 Output = y:\dest\root.client\usr\vice\etc\AFSCREDS.EXE\r
402 Select NEXT\r
403 \r
404 Dialog Box 'Makefile - Step 2 of 2'\r
405 Command line= nmake /f"ntmakefile" install\r
406 Output = y:\dest\root.client\usr\vice\etc\AFSCREDS.EXE\r
407 \r
408 Select Finish\r
409 \r
410 Switch to FileView\r
411 Right click on 'Source Files' and select 'Add Files to folder', select\r
412 all *.cpp files.\r
413 \r
414 Right click on 'Header Files' and select 'Add Files to folder', select\r
415 all *.h files.\r
416 \r
417 Right click on 'creds files' and select 'New Folder'\r
418 Fill name in 'Build'\r
419 \r
420 From the toolbar select Build\r
421 Select 'Build All'\r
422 \r
423 You should see the following string when the compile is finished:\r
424 "afs_creds.exe - 0 errors(0), 0 warnings(s)"\r
425 \r
426 Press <F5> to execute afs_creds.exe.\r
427 \r
428 STEP M. Optional Items\r
429 \r
430 The build process has an error table that is compiled for many OpenAFS\r
431 applications.  This table is generated by Unix based tools.  It is not\r
432 normally necessary to modify this table so pre-generated source files\r
433 are included in the OpenAFS source.  If you need to make modifications\r
434 in these areas the Unix base tools that run on Windows can be found on\r
435 the web. For example:\r
436 \r
437         http://cygwin.com/\r
438 \r
439 Below is a short explanation how to update the error table.\r
440 \r
441 (1) Install flex and bison from a Unix based tool provider.\r
442 \r
443 (2) Make changes to the source files.\r
444 \r
445 There are two files in the source tree that are processed with lex\r
446 and yacc on UNIX systems, src/comerr/et_lex.lex.l and\r
447 src/comerr/error_table.y, that when processed produce the files\r
448 et_lex.lex_nt.c, error_table_nt.c, and error_table_nt.h.\r
449 \r
450 Since NT does not include lex and yacc or any equivalent tools, we\r
451 have provided the output files that lex and yacc produce (using Win32\r
452 ports of flex and bison). This will allow builds to work for anyone\r
453 who does not need to change the .l and .y files.\r
454 \r
455 If you do need to change et_lex.lex.l, then you will need to install\r
456 Win32 port of flex on your system. Put flex.exe in a directory on the\r
457 path and rebuild.\r
458 \r
459 If you do need to change error_table.y, then you will need to install\r
460 a Win32 port of bison on your system. Put bison.exe in a directory on\r
461 the path, configure bison as explained in step 5, and rebuild.\r
462 \r
463 You can also attempt to use other replacements for lex and yacc. This\r
464 will require modifying the LEX and YACC settings in\r
465 /config/NTMakefile.i386_nt40. If the replacements require different\r
466 command line options than flex and bison, then you may also need to\r
467 change src/comerr/NTMakefile.\r
468 \r
469 (3) Generate new OpenAFS binaries\r
470 \r
471 \r
472 STEP N. Required patches for 1.2.2a and earlier releases\r
473 \r
474 There are two set of patches must be applied to 1.2.2a source to\r
475 successfully build the binaries:\r
476 \r
477 (1)  Patches applied to 1.2.2a to build binaries, excluding install\r
478 package.\r
479 \r
480 diff -Nur --exclude-from=exclude bas/src/NTMakefile upd/src/NTMakefile\r
481 --- bas/src/NTMakefile  Wed Nov 14 19:38:06 2001\r
482 +++ upd/src/NTMakefile  Mon Dec  3 14:41:12 2001\r
483 @@ -471,6 +471,7 @@\r
484         $(CD) $(OBJ)\$@\r
485         $(NTMAKE)\r
486         $(CD) ..\..     \r
487 +       echo Build Finished Successfully\r
488  \r
489  install: start finale\r
490  \r
491 @@ -487,6 +488,7 @@\r
492         $(CD) ..\..\..\..\r
493  \r
494  media: InstallShield5\r
495 +       echo Install Script Finished Successfully\r
496  \r
497  \r
498 (2)  Patches applied to 1.2.2a to build install package.\r
499 \r
500 diff -Nur --exclude-from=exclude bas/src/WINNT/afsd/NTMakefile upd/src/WINNT/afsd/NTMakefile\r
501 --- bas/src/WINNT/afsd/NTMakefile       Tue Nov 20 22:45:40 2001\r
502 +++ upd/src/WINNT/afsd/NTMakefile       Wed Dec  5 11:42:46 2001\r
503 @@ -169,8 +169,8 @@\r
504         $(EXEDIR)\tokens.exe \\r
505         $(EXEDIR)\unlog.exe $(EXEDIR)\afsd.exe $(EXEDIR)\afsd_service.exe \\r
506         $(EXEDIR)\fs.exe $(EXEDIR)\symlink.exe \\r
507 -       $(LOGON_DLLFILE) $(LOG95_DLLFILE) \\r
508 -       $(EXEDIR)\afsshare.exe \\r
509 +       $(LOGON_DLLFILE) \\r
510 +       $(EXEDIR)\afsshare.exe \\r
511         $(DESTDIR)\bin\kpasswd.exe\r
512  \r
513  install9X: install_headers $(CONF_DLLFILE) \\r
514 \r
515 diff -Nur --exclude-from=exclude bas/src/WINNT/install/InstallShield5/NTMakefile upd/src/WINNT/install/InstallShield5/NTMakefile\r
516 --- bas/src/WINNT/install/InstallShield5/NTMakefile     Wed Nov 14 19:38:50 2001\r
517 +++ upd/src/WINNT/install/InstallShield5/NTMakefile     Mon Dec  3 16:43:08 2001\r
518 @@ -60,7 +60,7 @@\r
519                 $(MKDIR) $(DESTDIR)\Wininstall\PackageWeb\r
520  !      ENDIF\r
521         $(DEL) /q $(DESTDIR)\Wininstall\PackageWeb\*.*\r
522 -       $(ISWEB)\Pftwwiz.exe $(AFSROOT)\src\winnt\install\InstallShield5\PackageWeb.pfw -s -a \r
523 +       "$(ISWEB)\Pftwwiz.exe" $(AFSROOT)\src\winnt\install\InstallShield5\PackageWeb.pfw -s -a \r
524  !ENDIF\r
525         xcopy /s/e/y "Media\OpenAFS\Disk Images\disk1\*.*" $(DESTDIR)\WinInstall\r
526         copy AFS_component_version_number.txt $(DESTDIR)\WinInstall\Version.txt\r
527 diff -Nur --exclude-from=exclude bas/src/WINNT/afs_setup_utils/_isuser/_IsUser.RC upd/src/WINNT/afs_setup_utils/_isuser/_IsUser.RC\r
528 --- bas/src/WINNT/afs_setup_utils/_isuser/_IsUser.RC    Thu Sep  6 20:54:58 2001\r
529 +++ upd/src/WINNT/afs_setup_utils/_isuser/_IsUser.RC    Mon Dec  3 15:11:46 2001\r
530 @@ -10,7 +10,7 @@\r
531  #define APSTUDIO_HIDDEN_SYMBOLS\r
532  #include "windows.h"\r
533  #undef APSTUDIO_HIDDEN_SYMBOLS\r
534 -#include <.\sdrc.h>\r
535 +#include <sdrc.h>\r
536  \r
537  /////////////////////////////////////////////////////////////////////////////\r
538  #undef APSTUDIO_READONLY_SYMBOLS\r
539 diff -Nur --exclude-from=exclude bas/src/WINNT/afs_setup_utils/_isuser/_IsUser.dep upd/src/WINNT/afs_setup_utils/_isuser/_IsUser.dep\r
540 --- bas/src/WINNT/afs_setup_utils/_isuser/_IsUser.dep   Thu Sep  6 20:54:58 2001\r
541 +++ upd/src/WINNT/afs_setup_utils/_isuser/_IsUser.dep   Wed Dec 31 16:00:00 1969\r
542 @@ -1,5 +0,0 @@\r
543 -# Microsoft Developer Studio Generated Dependency File, included by _IsUser.mak\r
544 -\r
545 -.\_Isuser.RC : \\r
546 -       ".\sdrc.h"\\r
547 -       \r
548 diff -Nur --exclude-from=exclude bas/src/WINNT/afs_setup_utils/_isuser/ntmakefile upd/src/WINNT/afs_setup_utils/_isuser/ntmakefile\r
549 --- bas/src/WINNT/afs_setup_utils/_isuser/ntmakefile    Mon Sep 10 09:39:50 2001\r
550 +++ upd/src/WINNT/afs_setup_utils/_isuser/ntmakefile    Mon Dec  3 15:16:04 2001\r
551 @@ -30,14 +30,6 @@\r
552  "$(OUTDIR)" ::\r
553      if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"\r
554  \r
555 -HEADERS = ".\sdrc.h"\r
556 -\r
557 -".\sdrc.h" : $(IS5ROOT)\INCLUDE\sdrc.h\r
558 -    $(COPY) $(IS5ROOT)\INCLUDE\sdrc.h .\r
559 -!   IF EXIST($(IS5ROOT)\Script\ISRT\Include\sdrc.h)\r
560 -    $(COPY) $(IS5ROOT)\Script\ISRT\Include\sdrc.h .\r
561 -!      ENDIF\r
562 -\r
563  CPP=cl.exe\r
564  CPP_PROJ=/nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_ISUSER_EXPORTS" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c \r
565  \r
566 @@ -85,20 +77,10 @@\r
567         "$(INTDIR)\_isuser.obj" \\r
568         "$(INTDIR)\_Isuser.res"\r
569  \r
570 -"$(OUTDIR)\_IsUser.dll" : "$(OUTDIR)" $(HEADERS) $(DEF_FILE) $(LINK32_OBJS)\r
571 +"$(OUTDIR)\_IsUser.dll" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)\r
572      $(LINK32) @<<\r
573    $(LINK32_FLAGS) $(LINK32_OBJS)\r
574  <<\r
575 -\r
576 -\r
577 -!IF "$(NO_EXTERNAL_DEPS)" != "1"\r
578 -!IF EXISTS("_IsUser.dep")\r
579 -!INCLUDE "_IsUser.dep"\r
580 -!ELSE \r
581 -!MESSAGE Warning: cannot find "_IsUser.dep"\r
582 -!ENDIF \r
583 -!ENDIF \r
584 -\r
585  \r
586  SOURCE=.\_isuser.c\r