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.

171 lines
5.4 KiB

  1. #####################################################################
  2. # #
  3. # Microsoft Confidential #
  4. # Copyright (C) Microsoft Corporation 1992 #
  5. # All Rights Reserved. #
  6. # #
  7. # Makefile for HBIOS TSR Version #
  8. # #
  9. #####################################################################
  10. !include ..\..\make.inc
  11. AFLAGS = $(AFLAGS) -DHDOS60=1 -DWINNT=1
  12. #-I$(DEST)
  13. LFLAGS = $(LFLAGS) /TINY
  14. #OBJCOM = $(DEST)\initcom.obj
  15. #OBJSYS = $(DEST)\initsys.obj
  16. BUILD=sys
  17. !IFDEF DEBUG
  18. AFLAGS = $(AFLAGS) -DDEBUG=1
  19. OBJ2 = $(DEST)\debug.obj
  20. OBJL = $(DEST)\debug.obj
  21. !ELSE
  22. AFLAGS = $(AFLAGS) -DDEBUG=0
  23. OBJ2 =
  24. OBJL =
  25. !ENDIF
  26. !IF "$(BUILD)" == "sys"
  27. AFLAGS = $(AFLAGS) -DComFile=0
  28. TARGET = $(DEST)\hbios.sys
  29. #OBJ2 = $(OBJ2) $(DEST)\$(OBJSYS)
  30. #OBJL = $(OBJL) $(OBJSYS)
  31. !ELSE
  32. AFLAGS = $(AFLAGS) -DComFile=1
  33. TARGET = $(DEST)\hbios.com
  34. #OBJ2 = $(OBJ2) $(OBJCOM)
  35. #OBJL = $(OBJL) $(OBJCOM)
  36. !ENDIF
  37. #OBJLIST1 = $(DEST)\data.obj keyboard.obj hatmt2.obj kbapi.obj codeconv.obj
  38. #OBJLIST2 = hbios.obj video.obj vga.obj vherc.obj herc.obj hf.obj af.obj
  39. #OBJLIST3 = compose.obj int10.obj vapi.obj vxapi.obj vbase.obj kschi.obj
  40. #OBJLIST4 = hjshow.obj int8.obj te.obj vxd.obj jmp.obj hanjacnv.obj
  41. #OBJLIST5 = $(OBJL) $(DEST)\init.obj
  42. #OBJLIST6 = mem.obj fload.obj
  43. OBJLIST1 = $(DEST)\hecon.obj $(OBJL) $(DEST)\kb.obj $(DEST)\video.obj $(DEST)\init.obj
  44. #OBJS = $(DEST)\keyboard.obj $(DEST)\hatmt2.obj $(DEST)\kbapi.obj \
  45. # $(DEST)\codeconv.obj $(DEST)\hbios.obj $(DEST)\video.obj \
  46. # $(DEST)\vga.obj $(DEST)\vherc.obj $(DEST)\herc.obj \
  47. # $(DEST)\hf.obj $(DEST)\af.obj $(DEST)\compose.obj \
  48. # $(DEST)\int10.obj $(DEST)\vapi.obj $(DEST)\vxapi.obj \
  49. # $(DEST)\vbase.obj $(DEST)\kschi.obj $(DEST)\hjshow.obj \
  50. # $(DEST)\int8.obj $(DEST)\te.obj $(DEST)\vxd.obj $(DEST)\jmp.obj \
  51. # $(DEST)\hanjacnv.obj \
  52. # $(DEST)\data.obj $(DEST)\init.obj \
  53. # $(OBJ2) $(DEST)\mem.obj $(DEST)\fload.obj
  54. OBJS = $(DEST)\hecon.obj $(OBJ2) $(DEST)\kb.obj \
  55. $(DEST)\video.obj $(DEST)\init.obj
  56. all : $(OBJS)
  57. # cd $(DEST)
  58. link16 $(LFLAGS) @<<
  59. $(OBJLIST1)
  60. $(TARGET);
  61. <<
  62. # cd ..\..\..
  63. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\HBIOS.SYS
  64. binplace -o $(ALT_PROJECT_TARGET) HFONT.SYS
  65. #$(OBJLIST1) +
  66. #$(OBJLIST2) +
  67. #$(OBJLIST3) +
  68. #$(OBJLIST4) +
  69. #$(OBJLIST5) +
  70. #$(OBJLIST6)
  71. {.}.asm{$(DEST)}.obj :
  72. masm $(AFLAGS) $(<F), $*.obj;
  73. {.}.asm{$(DEST)}.obj :
  74. masm $(AFLAGS) $(<F), $*.obj;
  75. $(DEST)\hecon.obj : equ.inc hecon.asm
  76. $(DEST)\kb.obj : equ.inc ch2ks.tbl hanja.tbl
  77. $(DEST)\video.obj : equ.inc data.inc vga.inc dual.inc chab.inc chohab7.tbl
  78. $(DEST)\init.obj : equ.inc compose.inc cho.inc choi.inc jung.inc jungi.inc jong.inc jongi.inc
  79. ###
  80. ### Belows are Dummy from WINH 1993/7/9 skkhang
  81. ###
  82. #datac.obj : data.asm hbios.inc vga.inc
  83. #datas.obj : data.asm hbios.inc vga.inc
  84. $(DEST)\data.obj : hbios.inc vga.inc
  85. $(DEST)\hbios.obj : hbios.inc
  86. $(DEST)\keyboard.obj : hbios.inc
  87. $(DEST)\hanjacnv.obj : hbios.inc
  88. $(DEST)\hatmt2.obj : hbios.inc
  89. $(DEST)\kbapi.obj : hbios.inc
  90. $(DEST)\codeconv.obj : hbios.inc
  91. #$(DEST)\video.obj : hbios.inc int10.inc vga.inc
  92. $(DEST)\vga.obj : hbios.inc int10.inc
  93. $(DEST)\vherc.obj : hbios.inc herc.inc
  94. $(DEST)\herc.obj : hbios.inc
  95. $(DEST)\hf.obj : $(DEST)\cho.inc $(DEST)\choi.inc \
  96. $(DEST)\jung.inc $(DEST)\jungi.inc \
  97. $(DEST)\jong.inc $(DEST)\jongi.inc
  98. $(DEST)\af.obj : $(DEST)\ascii.inc
  99. $(DEST)\compose.obj : hbios.inc
  100. $(DEST)\int10.obj : hbios.inc int10.inc
  101. $(DEST)\vapi.obj : hbios.inc int10.inc vga.inc herc.inc
  102. $(DEST)\vxapi.obj : hbios.inc int10.inc
  103. $(DEST)\vbase.obj : hbios.inc int10.inc
  104. $(DEST)\hjshow.obj : hbios.inc int10.inc vga.inc
  105. $(DEST)\int8.obj : hbios.inc
  106. $(DEST)\te.obj : hbios.inc vga.inc
  107. $(DEST)\vxd.obj : hbios.inc int10.inc
  108. #initc.obj : init.asm hbios.inc
  109. #inits.obj : init.asm hbios.inc
  110. #$(DEST)\init.obj : hbios.inc
  111. $(DEST)\mem.obj : hbios.inc
  112. $(DEST)\fload.obj : hbios.inc
  113. $(DEST)\initcom.obj : hbios.inc
  114. $(DEST)\initsys.obj : hbios.inc
  115. $(DEST)\cho.inc : fonts\cho.fnt fonts\inc.exe
  116. fonts\inc fonts\cho.fnt $(DEST)\cho.inc $(DEST)\choi.inc
  117. $(DEST)\choi.inc : fonts\cho.fnt fonts\inc.exe
  118. fonts\inc fonts\cho.fnt $(DEST)\cho.inc $(DEST)\choi.inc
  119. $(DEST)\jung.inc : fonts\jung.fnt fonts\inc.exe
  120. fonts\inc fonts\jung.fnt $(DEST)\jung.inc $(DEST)\jungi.inc
  121. $(DEST)\jungi.inc : fonts\jung.fnt fonts\inc.exe
  122. fonts\inc fonts\jung.fnt $(DEST)\jung.inc $(DEST)\jungi.inc
  123. $(DEST)\jong.inc : fonts\jong.fnt fonts\inc.exe
  124. fonts\inc fonts\jong.fnt $(DEST)\jong.inc $(DEST)\jongi.inc
  125. $(DEST)\jongi.inc : fonts\jong.fnt fonts\inc.exe
  126. fonts\inc fonts\jong.fnt $(DEST)\jong.inc $(DEST)\jongi.inc
  127. $(DEST)\ascii.inc : fonts\ascii.fnt fonts\inc2.exe
  128. fonts\inc2 fonts\ascii.fnt $(DEST)\ascii.inc
  129. #hbios.com : $(OBJS) $(OBJCOM)
  130. # link @cobj.lnk
  131. #hbios.sys : $(OBJS) $(OBJSYS)
  132. # link @sobj.lnk