Leaked source code of windows server 2003
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.

174 lines
4.2 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)\UsmtInfCommands.doc \
  91. $(O)\migism.inf: $(_INX)\migism.inx $(_LNG)\migism.txt
  92. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  93. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  94. @del $(O)\$(@B).tmp
  95. $(STAMP)
  96. $(PLACE)
  97. $(O)\usmtdef.inf: $(_INX)\usmtdef.inx $(_LNG)\usmtdef.txt
  98. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  99. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  100. @del $(O)\$(@B).tmp
  101. $(STAMP)
  102. $(PLACE)
  103. $(O)\sysfiles.inf: $(_INX)\sysfiles.inx $(_LNG)\sysfiles.txt
  104. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  105. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  106. @del $(O)\$(@B).tmp
  107. $(STAMP)
  108. $(PLACE)
  109. $(O)\migwiz.inf: $(_INX)\migwiz.inx $(_LNG)\migwiz.txt
  110. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  111. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  112. @del $(O)\$(@B).tmp
  113. $(STAMP)
  114. $(PLACE)
  115. $(O)\migsys.inf: $(_INX)\migsys.inx $(_LNG)\migsys.txt
  116. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  117. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  118. @del $(O)\$(@B).tmp
  119. $(STAMP)
  120. $(PLACE)
  121. $(O)\miguser.inf: $(_INX)\miguser.inx $(_LNG)\miguser.txt
  122. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  123. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  124. @del $(O)\$(@B).tmp
  125. $(STAMP)
  126. $(PLACE)
  127. $(O)\migapp.inf: $(_INX)\migapp.inx $(_LNG)\migapp.txt
  128. copy $(_INX)\$(@B).inx+$(_LNG)\$(@B).txt $(O)\$(@B).tmp
  129. prodfilt $(O)\$(@B).tmp $@ +$(APPTYPE)
  130. @del $(O)\$(@B).tmp
  131. $(STAMP)
  132. $(PLACE)
  133. $(O)\migwiz.htm: $(_INX)\migwiz.htm
  134. copy $(_INX)\$(@B).htm $(O)\$(@B).htm
  135. $(PLACE)
  136. $(O)\migwiz2.htm: $(_INX)\migwiz2.htm
  137. copy $(_INX)\$(@B).htm $(O)\$(@B).htm
  138. $(PLACE)
  139. $(O)\UsmtInfCommands.doc: $(_LNG)\UsmtInfCommands.doc
  140. copy $(_LNG)\UsmtInfCommands.doc $(O)\UsmtInfCommands.doc
  141. $(PLACE)