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.

102 lines
3.4 KiB

  1. #************************** makefile for NTIO.SYS ***************************
  2. include ..\..\make.inc
  3. tpath =..\..\tools
  4. lpath =..\..\..\..\tools.os2
  5. dest =ntio.sys
  6. #
  7. ####################### dependencies begin here. #########################
  8. #
  9. all: $(dest)
  10. binplace $(dest)
  11. binplace ntio.sym
  12. inc.lst: inc.asm
  13. clean:
  14. if exist *.obj del *.obj
  15. if exist *.exe del *.exe
  16. if exist *.map del *.map
  17. if exist *.sym del *.sym
  18. if exist msbio.cl? del msbio.cl?
  19. if exist ntio.sys del ntio.sys
  20. msbio.cl1: msbio.skl \
  21. $(msg)\$(COUNTRY).msg
  22. msbio1.obj msbio1.lst: msbio1.asm $(inc)\msbdata.inc \
  23. $(inc)\devsym.inc msequ.inc $(cinc)\vint.inc
  24. mschar.obj mschar.lst: mschar.asm biosbop.inc $(inc)\devsym.inc \
  25. $(inc)\ioctl.inc msequ.inc msgroup.inc $(cinc)\vint.inc
  26. msend.obj msend.lst: msend.asm
  27. msinit.obj msinit.lst: msinit.asm $(inc)\VERSIONA.inc \
  28. $(inc)\dbcs.sw $(inc)\dirent.inc $(inc)\dosmac.inc $(inc)\dosmac.inc \
  29. $(inc)\dossym.inc $(inc)\error.inc $(inc)\version.inc biostruc.inc \
  30. msequ.inc msgroup.inc $(cinc)\dossvc.inc $(cinc)\vint.inc
  31. msint13.obj msint13.lst: msint13.asm biostruc.inc $(cinc)\vint.inc \
  32. msequ.inc msgroup.inc
  33. sysconf.obj sysconf.lst: sysconf.asm $(inc)\doscntry.inc \
  34. $(inc)\parse.asm $(inc)\psdata.inc $(inc)\smifssym.inc \
  35. $(inc)\syscall.inc $(inc)\sysvar.inc $(inc)\version.inc devmark.inc \
  36. $(inc)\devsym.inc $(cinc)\dossvc.inc $(cinc)\cmdsvc.inc
  37. sysimes.obj sysimes.lst: sysimes.asm
  38. spckbd.obj spckbd.lst: spckbd.asm $(cinc)\vint.inc
  39. spcmse.obj spcmse.lst: spcmse.asm $(cinc)\vint.inc
  40. spcemm.obj spcemm.lst: spcemm.asm $(cinc)\vint.inc
  41. sysinit1.obj sysinit1.lst: sysinit1.asm $(inc)\VERSIONA.inc \
  42. $(inc)\arena.inc $(inc)\buffer.inc $(inc)\cputype.inc \
  43. $(cinc)\curdir.inc $(inc)\dbcs.sw $(inc)\dirent.inc $(inc)\dosmac.inc \
  44. $(inc)\dossym.inc $(inc)\error.inc $(inc)\exe.inc \
  45. $(inc)\pdb.inc $(inc)\sf.inc $(inc)\smifssym.inc $(inc)\syscall.inc \
  46. $(inc)\sysvar.inc $(inc)\version.inc biostruc.inc $(cinc)\vint.inc \
  47. devmark.inc $(inc)\devsym.inc $(inc)\ioctl.inc $(cinc)\dossvc.inc \
  48. $(cinc)\cmdsvc.inc
  49. sysinit2.obj sysinit2.lst: sysinit2.asm $(inc)\copyrigh.inc \
  50. $(inc)\doscntry.inc $(inc)\syscall.inc $(inc)\version.inc \
  51. devmark.inc $(inc)\devsym.inc $(inc)\ioctl.inc
  52. $(dest): msbio.cl1 msbio1.obj mschar.obj msint13.obj msinit.obj \
  53. sysinit1.obj spckbd.obj spcmse.obj spcemm.obj sysconf.obj \
  54. sysinit2.obj sysimes.obj msend.obj msbio.lnk
  55. !IFDEF NTVDM_BASED_BUILD
  56. link16 $(link_opts) @msbio.lnk
  57. !ELSE
  58. $(lpath)\link $(link_opts) @msbio.lnk
  59. !ENDIF
  60. mapsym ntio
  61. !IFDEF NTVDM_BASED_BUILD
  62. reloc ntio.exe $(dest) 70
  63. !ELSE
  64. $(tpath)\reloc ntio.exe $(dest) 70
  65. !ENDIF
  66. del ntio.exe
  67. # sudeepb 04-Mar-1991 : NT Message file handling for DOSEm.
  68. #
  69. # Many of the above .asm files needed for NTIO.SYS include "message class"
  70. # files (i.e. msbio.cl3 etc.). These files have the message strings extracted
  71. # from msbio.skl and internationalized using ..\messages\<COUNTRY>.msg file.
  72. # The utilities needed for getting these *.cl? files from *.skl and *.msg
  73. # files are all real mode, hence their building rules are not included in
  74. # this makefile. Use dosmsg.bat command from 3xbox to build these *.cl? files.
  75. # syntax for dosmsg.bat is "dosmsg <file>.skl <country>.msg". For example
  76. # building *.cl> files for bios for usa version, the command will be
  77. # "dosmsg msbio.skl usa-ms.msg"