anchor.diff:  time /t >> %vtk_build_log%
   cd %vtk_source_tree%
   cd >> %vtk_build_log%
  -cvs update -d -A -R >> %vtk_build_log%
  +cvs update -d -A >> %vtk_build_log%
   
   
   :config
   if "%1" == "-c" goto do_config
   if "%2" == "-c" goto do_config
   if "%3" == "-c" goto do_config
  -goto build
  +if "%4" == "-c" goto do_config
  +goto buildopt
   
   rem  Generate Makefiles
   rem  usage:  pcmaker vtkHome BuildLocation MSVCLoc JDKLoc useMS useBorland
  -rem          doDebug doPatented useNullDebugMacro doGraphics doImagig doContrib
  -rem          doWorking doGEMSIO/IP doGEMSVOLUME
  +rem          doPatented doLean doGraphics doImagig doContrib doWorking
  +rem          doGEMSIP doGEMSVOLUME doGEAE doDFA
   :do_config
   
   echo beginning pcmaker config at >> %vtk_build_log%
   time /t >> %vtk_build_log%
  -%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_build_tree% c:\msdev    0 1 0 0 1 1 1 0 0 0 1 1 >> %vtk_build_log%
  -rem          | | | | | | | | | | | |
  -rem          | | | | | | | | | | | gemsvolume
  -rem          | | | | | | | | | | gemsio/gemsip
  -rem          | | | | | | | | | working
  -rem          | | | | | | | | contrib
  -rem          | | | | | | | imaging
  -rem          | | | | | | graphics
  -rem          | | | | | usenulldebugmacro
  -rem          | | | | patented
  -rem          | | | debug
  +%vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_build_tree% c:\msdev 0 1 0 1 1 0 0 0 0 1 1 0 0 >> %vtk_build_log%
  +rem          | | | | | | | | | | | | DFA
  +rem          | | | | | | | | | | | geae
  +rem          | | | | | | | | | | gemsvolume
  +rem          | | | | | | | | | gemsio/gemsip
  +rem          | | | | | | | | working
  +rem          | | | | | | | contrib
  +rem          | | | | | | imaging
  +rem          | | | | | graphics
  +rem          | | | | usenulldebugmacro
  +rem          | | | patented
   rem          | | borland
   rem          | ms
   rem          jdkloc
   
   
  -:build
  +:buildopt
  +if "%1" == "-o" goto do_buildopt
  +if "%2" == "-o" goto do_buildopt
  +if "%3" == "-o" goto do_buildopt
  +if "%4" == "-o" goto do_buildopt
  +goto builddbg
   
  -rem  Build vtkdll.dll 
  +
  +rem  Build Optimized version (no debug and without incremental linking)
  +:do_buildopt
   
   echo beginning vtkdll build at >> %vtk_build_log%
   time /t >> %vtk_build_log%
  -cd %vtk_build_tree%\vtkdll
  -cd >> %vtk_build_log%
  +cd %vtk_build_tree%
  +cd >> %vtk_build_log%\vtkdll
   nmake >> %vtk_build_log%
   
   rem  Build vtktcl.dll 
  
positive.code: nmake >> %vtk_build_log%
  
  
  rem  If we're not building a debug version, then we're done
  
  if "%1" == "-d" goto debug_build
  if "%2" == "-d" goto debug_build
  if "%3" == "-d" goto debug_build
  goto done
  
  
  :debug_build
  if "%1" == "-c" goto do_configdbg
  if "%2" == "-c" goto do_configdbg
  if "%3" == "-c" goto do_configdbg
  goto builddbg
  
  rem  Generate debug version of Makefiles
  rem  usage:  pcmaker vtkHome BuildLocation MSVCLoc JDKLoc useMS useBorland
  rem          doDebug doPatented useNullDebugMacro doGraphics doImagig doContrib
  rem          doWorking doGEMSIO/IP doGEMSVOLUME
  :do_configdbg
  
  echo beginning pcmaker config for debug version at >> %vtk_build_log%
  time /t >> %vtk_build_log%
  %vtk_source_tree%\pcmaker\Debug\pcmaker.exe %vtk_source_tree% %vtk_builddbg_tree% c:\msdev 0 1 0 1 1 0 1 0 0 0 1 1 >> %vtk_build_log%
  rem          | | | | | | | | | | | |
  rem          | | | | | | | | | | | gemsvolume
  rem          | | | | | | | | | | gemsio/gemsip
  rem          | | | | | | | | | working
  rem          | | | | | | | | contrib
  rem          | | | | | | | imaging
  rem          | | | | | | graphics
  rem          | | | | | usenulldebugmacro
  rem          | | | | patented
  rem          | | | debug
  rem          | | borland
  rem          | ms
  rem          jdkloc
  
  
  :builddbg
  
  rem  Build debug version of vtkdll.dll 
  
  echo beginning vtkdll debug build at >> %vtk_build_log%
  time /t >> %vtk_build_log%
  cd %vtk_builddbg_tree%\vtkdll
  cd >> %vtk_build_log%
  nmake >> %vtk_build_log%
  
  
  rem  Build debug version of vtktcl.dll 
  
  echo beginning vtktcl debug build at >> %vtk_build_log%
  time /t >> %vtk_build_log%
  cd %vtk_builddbg_tree%\vtktcl
  cd >> %vtk_build_log%
  nmake >> %vtk_build_log%
  
  
negative.code: 
  rem  VTK batch build script
  @echo off
  
  