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.

187 lines
6.2 KiB

  1. # m000 -- updated dependencies on keybmac.inc and keybshar.inc
  2. include ../../make.inc
  3. cinc =../../../../inc
  4. AINC =-I. -I$(cinc) -I../../../../inc
  5. #################################
  6. com =..\..\inc
  7. bins =
  8. cprs =..\..\compress
  9. target =$(DEST)\keyboard.sys
  10. cpr =keyboard.sy_
  11. # inc =c:\dos500\inc
  12. inc =..\..\inc
  13. extasw =-I$(inc)
  14. !if "$(ALT_PROJECT)" == "JPN"
  15. all: $(target) \
  16. $(DEST)\key01.sys \
  17. $(DEST)\key02.sys $(DEST)\keyax.sys
  18. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\key02.sys
  19. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\keyax.sys
  20. !else
  21. all: $(target) \
  22. $(DEST)\key01.sys
  23. !endif
  24. binplace -o $(ALT_PROJECT_TARGET) $(target)
  25. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\key01.sys
  26. clean: cleanup all
  27. cleanup:
  28. if exist $(DEST)\*.obj del $(DEST)\*.obj
  29. if exist $(DEST)\*.exs del $(DEST)\*.exs
  30. if exist $(DEST)\*.map del $(DEST)\*.map
  31. if exist $(DEST)\*.sym del $(DEST)\*.sym
  32. if exist $(DEST)\*.sys del $(DEST)\*.sys
  33. .asm.obj:
  34. $(asm) $(ainc) $(aflags) $*.asm;
  35. OBJS = $(DEST)\KDFDV.OBJ $(DEST)\KDFSP.OBJ $(DEST)\KDFPO.OBJ \
  36. $(DEST)\KDFGE.OBJ $(DEST)\KDFIT141.OBJ $(DEST)\KDFFR189.OBJ \
  37. $(DEST)\KDFSG.OBJ $(DEST)\KDFSF.OBJ $(DEST)\KDFDK.OBJ \
  38. $(DEST)\KDFUK166.OBJ $(DEST)\KDFBE.OBJ $(DEST)\KDFNL.OBJ \
  39. $(DEST)\KDFNO.OBJ $(DEST)\KDFCF.OBJ $(DEST)\KDFLA.OBJ \
  40. $(DEST)\KDFSV.OBJ $(DEST)\KDFRU091.OBJ \
  41. $(DEST)\KDFBR275.OBJ $(DEST)\KDFBG.OBJ $(DEST)\KDFCZ.OBJ \
  42. $(DEST)\KDFGK.OBJ $(DEST)\KDFHU.OBJ $(DEST)\KDFIC.OBJ \
  43. $(DEST)\KDFPL1.OBJ $(DEST)\KDFRO.OBJ $(DEST)\KDFSL.OBJ \
  44. $(DEST)\KDFYU.OBJ $(DEST)\KDFTR.OBJ \
  45. $(DEST)\KDFTR440.OBJ $(DEST)\KDFIT142.OBJ $(DEST)\KDFET.OBJ $(DEST)\KDFJP.OBJ \
  46. $(DEST)\kdfeof.OBJ $(DEST)\kdfnow.obj
  47. $(DEST)\KDFNOW.OBJ: KDFNOW.ASM \
  48. $(com)\postequ.inc \
  49. $(com)\dseg.inc \
  50. $(com)\keybshar.inc \
  51. keybmac.inc \
  52. keybmac.inc
  53. $(DEST)\KDFNOWJP.OBJ: KDFNOW.ASM \
  54. $(com)\postequ.inc \
  55. $(com)\dseg.inc \
  56. $(com)\keybshar.inc \
  57. keybmac.inc \
  58. keybmac.inc
  59. copy KDFNOW.ASM $*.asm
  60. $(asm) $(ainc) $(aflags) -DJAPAN $*.asm $*.OBJ;
  61. $(DEST)\KDFEOF.OBJ: KDFEOF.ASM $(com)\COPYRIGH.INC
  62. $(DEST)\KDFDV.OBJ: KDFDV.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  63. $(DEST)\KDFSP.OBJ: kdfsp.asm $(com)\keybshar.inc keybmac.inc makefile.sub
  64. $(DEST)\KDFPO.OBJ: KDFPO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  65. $(DEST)\KDFGE.OBJ: KDFGE.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  66. $(DEST)\KDFIT141.OBJ: KDFIT141.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  67. $(DEST)\KDFFR189.OBJ: KDFFR189.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  68. $(DEST)\KDFSG.OBJ: KDFSG.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  69. $(DEST)\KDFSF.OBJ: KDFSF.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  70. $(DEST)\KDFDK.OBJ: KDFDK.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  71. $(DEST)\KDFUK166.OBJ: KDFUK166.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  72. $(DEST)\KDFBE.OBJ: KDFBE.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  73. $(DEST)\KDFNL.OBJ: KDFNL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  74. $(DEST)\KDFNO.OBJ: KDFNO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  75. $(DEST)\KDFCF.OBJ: KDFCF.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  76. $(DEST)\KDFLA.OBJ: KDFLA.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  77. $(DEST)\KDFSV.OBJ: KDFSv.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  78. # KDFBR.OBJ: KDFBR.ASM $(com)\keybshar.inc keybmac.inc makefile.sub # [Mihindu 10/30/90 : added Brazil]
  79. KDFRU091.OBJ: KDFRU091.ASM $(com)\keybshar.inc keybmac.inc makefile.sub # [YST 21/1/91 : added Russia]
  80. # for daytona
  81. $(DEST)\KDFBR275.OBJ: KDFBR275.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  82. $(DEST)\KDFBG.OBJ: KDFBG.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  83. $(DEST)\KDFCZ.OBJ: KDFCZ.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  84. $(DEST)\KDFGK.OBJ: KDFGK.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  85. $(DEST)\KDFHU.OBJ: KDFHU.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  86. $(DEST)\KDFIC.OBJ: KDFIC.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  87. #KDFPL.OBJ: KDFPL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  88. $(DEST)\KDFPL1.OBJ: KDFPL1.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  89. $(DEST)\KDFRO.OBJ: KDFRO.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  90. $(DEST)\KDFSL.OBJ: KDFSL.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  91. $(DEST)\KDFYU.OBJ: KDFYU.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  92. $(DEST)\KDFTR.OBJ: KDFTR.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  93. $(DEST)\KDFTR440.OBJ: KDFTR440.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  94. $(DEST)\KDFIT142.OBJ: KDFIT142.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  95. $(DEST)\KDFET.OBJ: KDFET.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  96. # end for daytona
  97. $(DEST)\KDFJP.OBJ: KDFJP.ASM $(com)\keybshar.inc keybmac.inc makefile.sub
  98. $(DEST)\KEYBOARD.exs: $(OBJS) keyboard.lnk
  99. cd $(DEST)
  100. LINK16 @..\..\..\keyboard.lnk
  101. cd ..\..\..
  102. $(target): $(DEST)\Keyboard.exs
  103. copy $*.exs $*.exe
  104. reloc $* $*.sys
  105. del $*.exe
  106. $(DEST)\key01.exs: $(OBJS) $(DEST)\kdfjp_oa.obj $(DEST)\KDFNOWJP.OBJ key01.lnk
  107. cd $(DEST)
  108. LINK16 @..\..\..\key01.lnk
  109. cd ..\..\..
  110. $(DEST)\key01.sys: $(DEST)\key01.exs
  111. copy $*.exs $*.exe
  112. reloc $* $*.sys
  113. del $*.exe
  114. !if "$(ALT_PROJECT)" == "JPN"
  115. $(DEST)\key02.exs: $(OBJS) $(DEST)\kdfjp_ib.obj key02.lnk
  116. cd $(DEST)
  117. LINK16 @..\..\..\key02.lnk
  118. cd ..\..\..
  119. $(DEST)\key02.sys: $(DEST)\key02.exs
  120. copy $*.exs $*.exe
  121. reloc $* $*.sys
  122. del $*.exe
  123. $(DEST)\keyax.exs: $(OBJS) $(DEST)\kdfjp_ax.obj keyax.lnk
  124. cd $(DEST)
  125. LINK16 @..\..\..\keyax.lnk
  126. cd ..\..\..
  127. $(DEST)\keyax.sys: $(DEST)\keyax.exs
  128. copy $*.exs $*.exe
  129. reloc $* $*.sys
  130. del $*.exe
  131. !endif