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.

43 lines
1.6 KiB

  1. SEDLOC=..\..\sed.exe
  2. ORIGINAL1="/; localizeable/,$$d"
  3. LOCALIZED1="/; localizeable/,$$!d"
  4. ORIGINAL2="/;localizeable/,$$d"
  5. LOCALIZED2="/;localizeable/,$$!d"
  6. LOCEDJYSTK=jystk$(LANGUAGE).inf
  7. $(O)\ks.inf $(O)\ks98.inf: $(_NTTREE)\$(@F) .\$(@F)
  8. @copy $(_NTTREE)\$(@F) .\$(*F).org
  9. $(SEDLOC) -e $(ORIGINAL1) .\$(*F).org > $@
  10. $(SEDLOC) -e $(LOCALIZED1) .\$(@F) >> $@
  11. @echo $(@F) localized\$(LANGUAGE)>$(O)\placefil.txt
  12. @del .\$(*F).org
  13. binplace -R $(_NTTREE) -S $(_NTTREE)\Symbols -n $(_NTTREE)\Symbols.pri -j -P $(O)\placefil.txt -xa $@
  14. $(O)\ksfilter.inf $(O)\ksfilt98.inf: $(_NTTREE)\$(@F) .\$(@F)
  15. @copy $(_NTTREE)\$(@F) .\$(*F).org
  16. $(SEDLOC) -e $(ORIGINAL2) .\$(*F).org > $@
  17. $(SEDLOC) -e $(LOCALIZED2) .\$(@F) >> $@
  18. @echo $(@F) localized\$(LANGUAGE)>$(O)\placefil.txt
  19. @del .\$(*F).org
  20. binplace -R $(_NTTREE) -S $(_NTTREE)\Symbols -n $(_NTTREE)\Symbols.pri -j -P $(O)\placefil.txt -xa $@
  21. $(O)\ksreg.inf: $(_NTTREE)\ks.inf .\ks.inf
  22. @copy $(_NTTREE)\ks.inf .\$(*F).org
  23. $(SEDLOC) -f ..\..\deldel.sed .\$(*F).org > $@
  24. $(SEDLOC) -e $(LOCALIZED1) .\ks.inf >> $@
  25. @echo $(@F) localized\$(LANGUAGE)>$(O)\placefil.txt
  26. @del .\$(*F).org
  27. binplace -R $(_NTTREE) -S $(_NTTREE)\Symbols -n $(_NTTREE)\Symbols.pri -j -P $(O)\placefil.txt -xa $@
  28. $(O)\joystick.inf: .\$(@F)
  29. @copy .\$(@F) $@
  30. @copy .\$(@F) $O\$(LOCEDJYSTK)
  31. @echo $(@F) localized\$(LANGUAGE)>$(O)\placefil.txt
  32. @echo $(LOCEDJYSTK) localized\multi>>$(O)\placefil.txt
  33. binplace -R $(_NTTREE) -S $(_NTTREE)\Symbols -n $(_NTTREE)\Symbols.pri -j -P $(O)\placefil.txt -xa $@
  34. binplace -R $(_NTTREE) -S $(_NTTREE)\Symbols -n $(_NTTREE)\Symbols.pri -j -P $(O)\placefil.txt -xa $O\$(LOCEDJYSTK)