Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
2.5 KiB

  1. path | findstr -i %_PRIVATEROOT%\apc\bin > nul
  2. if errorlevel 1 PATH=%_PRIVATEROOT%\apc\bin;%PATH%
  3. call %_PUBLICROOT%\common\oak\oakver.bat
  4. set COUNTRY=USA
  5. REM Must set COUNTRY so that regcomp.exe will know which codepage to use
  6. REM Make sure the build process uses MGDI
  7. call usemgdi
  8. REM The following environment vars are necessary to instruct the build process which display drivers to build...
  9. set APC_DISPLAY_DIRS=NM2093 FACEPLT NULLDISP
  10. REM I'm not sure if the following line is necessary or not??
  11. set SHELL_LIB=APC
  12. REM
  13. REM Localization stuff
  14. REM
  15. REM enable special APC copy for localization ?? What is this
  16. set IBLDREL_SYSGENHACK=1
  17. REM Put more 3 character langIDs onto this line when localizating (e.g. USA GER PTB)
  18. set __LOCLANGIDLIST=USA FRA GER
  19. REM put makecd and ibuild on the path
  20. if exist %_PRIVATEROOT%\rombldr\rombldr.bat call %_PRIVATEROOT%\rombldr\rombldr.bat
  21. REM Enable Esparesso pass on apc\oak\lib
  22. set IBUILD_RES=1
  23. REM Enable hook to move langauge specific binariy files
  24. set IBUILD_SYSGENHOOK=%_PRIVATEROOT%\rombldr\ak\%_TGTPROJ%\localiz.bat
  25. REM
  26. REM End of localization stuff
  27. REM
  28. REM
  29. REM GenIE control defines
  30. REM
  31. REM Set Galahad TV UI defines
  32. if not "%GALAHAD_DEFINES_ALREADY_SET%" == "" goto _NoGalahadDefines
  33. set GALAHAD_CDEFINES=%GALAHAD_CDEFINES% /DNTSC /DHTML_SECURITYUI /DHTML_MESSAGEBOX /DARROWKEYNAV /DFOCUSRECT /DFORCE_FIT /DGALKB /DSIPKB /DASYNC_PRINT
  34. set GALAHAD_RDEFINES=%GALAHAD_RDEFINES% /DNTSC /DHTML_SECURITYUI /DHTML_MESSAGEBOX /DARROWKEYNAV /DFOCUSRECT /DFORCE_FIT /DGALKB /DSIPKB /DASYNC_PRINT
  35. REM Remove unwanted Galahad features
  36. set GALAHAD_CDEFINES=%GALAHAD_CDEFINES% /DNO_SELECT /DNO_MOUSE /DNO_MIMEMENU /DNO_INPUT_FILE /DNO_FILEDOWNLOADUI /DNO_CLIPBOARD /DNO_AUTODIAL /DNO_SCROLLBAR /DNO_WINDOWOPEN
  37. set GALAHAD_RDEFINES=%GALAHAD_RDEFINES% /DNO_SELECT /DNO_MOUSE /DNO_MIMEMENU /DNO_INPUT_FILE /DNO_FILEDOWNLOADUI /DNO_CLIPBOARD /DNO_AUTODIAL /DNO_SCROLLBAR /DNO_WINDOWOPEN
  38. REM Undefine a few Genie only features
  39. set GALAHAD_CDEFINES=%GALAHAD_CDEFINES% /UTOUCHSCREEN /UGRAYSCALE_2BPP /UGRAYSCALE_4BPP
  40. set GALAHAD_RDEFINES=%GALAHAD_RDEFINES% /UTOUCHSCREEN /UGRAYSCALE_2BPP /UGRAYSCALE_4BPP
  41. REM Remove unwanted ATL features for dsfilter
  42. set GALAHAD_CDEFINES=%GALAHAD_CDEFINES% /DNO_DIALOGS
  43. set GALAHAD_DEFINES_ALREADY_SET=1
  44. :_NoGalahadDefines
  45. REM
  46. REM End GenIE control defines
  47. REM
  48. REM
  49. REM Dependency tree setting
  50. REM
  51. set _DEPTREES=winceos dcom msmq script apcie directx speech lhenuasr lhtts apc apctest %_TGTPROJ%
  52. REM sapi 5 setting
  53. set IMGDBG_NOSPEECH=1
  54. set IMGNOASR=1
  55. set IMGNOTTS=1