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.

169 lines
3.8 KiB

  1. LCID=409
  2. !IFNDEF LANGUAGE
  3. LANGUAGE=usa
  4. !ENDIF
  5. #
  6. # ANSI_CODEPAGE: ANSI codepage for a given language.
  7. #
  8. # LCID: Locale ID in hex.
  9. #
  10. # UNITEXT_OPT: Unitext.exe command line options to specify the ANSI codepage
  11. # for a given language. Used for Multibuyte -> Unicode conversion.
  12. #
  13. # Defaults
  14. ANSI_CODEPAGE=1252
  15. LANGUAGE_DRVCAB=$(LANGUAGE)
  16. !if "$(LANGUAGE)"=="CHS" || "$(LANGUAGE)"=="chs"
  17. # Chinese, Simplified
  18. ANSI_CODEPAGE=936
  19. LCID=804
  20. !elseif "$(LANGUAGE)"=="CHT" || "$(LANGUAGE)"=="cht"
  21. # Chinese, Traditional
  22. ANSI_CODEPAGE=950
  23. LCID=404
  24. !elseif "$(LANGUAGE)"=="JPN" || "$(LANGUAGE)"=="jpn"
  25. # Japanese
  26. ANSI_CODEPAGE=932
  27. LCID=411
  28. !elseif "$(LANGUAGE)"=="KOR" || "$(LANGUAGE)"=="kor"
  29. # Korean
  30. ANSI_CODEPAGE=949
  31. LCID=412
  32. !elseif "$(LANGUAGE)"=="ARA" || "$(LANGUAGE)"=="ara"
  33. # Arabic
  34. ANSI_CODEPAGE=1256
  35. LCID=401
  36. !elseif "$(LANGUAGE)"=="HEB" || "$(LANGUAGE)"=="heb"
  37. # Hebrew
  38. ANSI_CODEPAGE=1255
  39. LCID=40D
  40. !elseif "$(LANGUAGE)"=="CS" || "$(LANGUAGE)"=="cs"
  41. # Czech
  42. ANSI_CODEPAGE=1250
  43. LCID=405
  44. !elseif "$(LANGUAGE)"=="HU" || "$(LANGUAGE)"=="hu"
  45. # Hungarian
  46. ANSI_CODEPAGE=1250
  47. LCID=40E
  48. !elseif "$(LANGUAGE)"=="PL" || "$(LANGUAGE)"=="pl"
  49. # Polish
  50. ANSI_CODEPAGE=1250
  51. LCID=415
  52. !elseif "$(LANGUAGE)"=="RU" || "$(LANGUAGE)"=="ru"
  53. # Russian
  54. ANSI_CODEPAGE=1251
  55. LCID=419
  56. !elseif "$(LANGUAGE)"=="EL" || "$(LANGUAGE)"=="el"
  57. # Greek
  58. ANSI_CODEPAGE=1253
  59. LCID=408
  60. !elseif "$(LANGUAGE)"=="TR" || "$(LANGUAGE)"=="tr"
  61. # Turkish
  62. ANSI_CODEPAGE=1254
  63. LCID=41F
  64. !elseif "$(LANGUAGE)"=="PSU" || "$(LANGUAGE)"=="psu"
  65. ANSI_CODEPAGE=1253
  66. LCID=408
  67. !endif
  68. UNITEXT_OPT=-m -$(ANSI_CODEPAGE)
  69. STAMP=stampinf -f $@
  70. PLACE=binplace -p .\placefil.txt $@
  71. _LNG=..\$(LANGUAGE)
  72. _INX=..
  73. PREFLAGS=/DLANGUAGE_ID=0x0$(LCID) /EP
  74. make_infs_g: $(O)\migism.inf \
  75. $(O)\usmtdef.inf \
  76. $(O)\sysfiles.inf \
  77. $(O)\migwiz.inf \
  78. $(O)\miguser.inf \
  79. $(O)\migsys.inf \
  80. $(O)\migapp.inf \
  81. $(O)\migwiz.htm \
  82. $(O)\migwiz2.htm \
  83. make_infs_c: $(O)\migism.inf \
  84. $(O)\usmtdef.inf \
  85. $(O)\sysfiles.inf \
  86. $(O)\migwiz.inf \
  87. $(O)\miguser.inf \
  88. $(O)\migsys.inf \
  89. $(O)\migapp.inf \
  90. $(O)\migism.inf: $(_INX)\migism.inx $(_LNG)\migism.txt
  91. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  92. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  93. @del $(O)\$(@B).tmp
  94. $(STAMP)
  95. $(PLACE)
  96. $(O)\usmtdef.inf: $(_INX)\usmtdef.inx $(_LNG)\usmtdef.txt
  97. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  98. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  99. @del $(O)\$(@B).tmp
  100. $(STAMP)
  101. $(PLACE)
  102. $(O)\sysfiles.inf: $(_INX)\sysfiles.inx $(_LNG)\sysfiles.txt
  103. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  104. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  105. @del $(O)\$(@B).tmp
  106. $(STAMP)
  107. $(PLACE)
  108. $(O)\migwiz.inf: $(_INX)\migwiz.inx $(_LNG)\migwiz.txt
  109. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  110. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  111. @del $(O)\$(@B).tmp
  112. $(STAMP)
  113. $(PLACE)
  114. $(O)\migsys.inf: $(_INX)\migsys.inx $(_LNG)\migsys.txt
  115. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  116. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  117. @del $(O)\$(@B).tmp
  118. $(STAMP)
  119. $(PLACE)
  120. $(O)\miguser.inf: $(_INX)\miguser.inx $(_LNG)\miguser.txt
  121. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  122. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  123. @del $(O)\$(@B).tmp
  124. $(STAMP)
  125. $(PLACE)
  126. $(O)\migapp.inf: $(_INX)\migapp.inx $(_LNG)\migapp.txt
  127. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  128. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  129. @del $(O)\$(@B).tmp
  130. $(STAMP)
  131. $(PLACE)
  132. $(O)\migwiz.htm: $(_INX)\migwiz.htm
  133. copy $(_INX)\$(@B).htm $(O)\$(@B).htm
  134. $(PLACE)
  135. $(O)\migwiz2.htm: $(_INX)\migwiz2.htm
  136. copy $(_INX)\$(@B).htm $(O)\$(@B).htm
  137. $(PLACE)