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.

92 lines
2.0 KiB

  1. # display16 makefile
  2. #
  3. # Copyright (c) 1991, Microsoft Corporation
  4. #
  5. # History:
  6. # 13-May-1992 Matt Felton (MattFe)
  7. #
  8. # Created.
  9. #
  10. LVL_2 = 1
  11. !INCLUDE ..\..\makefile.inc
  12. W16LIBS = ..\..\lib\snocrtd.lib
  13. .asm.obj:
  14. $(ASM) $(AOBJ) $*;
  15. .asm.lst:
  16. $(ASM) $(AOBJ) -l $*,nul,$*.lst;
  17. .c.obj:
  18. $(CL) -c -nologo $(CW16) $*.c
  19. .c.lst:
  20. $(CL) -c -nologo $(CW16) -Fonul -Fc$*.lst $*.c
  21. .def.lib:
  22. implib $*.lib $*.def
  23. .map{$(DEST)}.sym:
  24. mapsym $*
  25. {$(DEST)}.rc{$(DEST)}.res:
  26. set include=$(ENVINCS);$(INCLUDE)$(MAKEDIR)\$(DEST)
  27. $(RC) -r -fo $@ $*.rc
  28. all: $(DEST)\display.exe $(DEST)\display.map $(DEST)\display.sym
  29. copy $(DEST)\display.exe $(DEST)\vga.drv
  30. copy $(DEST)\display.sym $(DEST)\vga.sym
  31. copy $(DEST)\display.map $(DEST)\vga.map
  32. binplace -o $(ALT_PROJECT_TARGET) $(DEST)\vga.drv $(DEST)\vga.map $(DEST)\vga.sym
  33. clean: cleanup all
  34. cleanup:
  35. cd $(DEST)
  36. if exist *.lrf del *.lrf
  37. if exist *.obj del *.obj
  38. if exist *.exe del *.exe
  39. if exist *.map del *.map
  40. if exist *.sym del *.sym
  41. if exist *.res del *.res
  42. cd ..\..\..
  43. $(DEST)\display.obj: $(*F).asm ..\..\..\inc\wow.inc
  44. $(ASM) -l $(AOBJ) $(*F),$*,$*;
  45. $(DEST)\config.obj: $(*F).asm
  46. $(ASM) -l $(AOBJ) $(*F),$*,$*;
  47. $(DEST)\config.exe: $*.obj
  48. $(LINK) $*,$*;
  49. $(DEST)\display.rcv : display.rcv
  50. copy $? $@
  51. $(DEST)\display.rc : display.rc
  52. copy $? $@
  53. $(DEST)\config.bin: $*.exe $(DEST)\display.rcv
  54. cd $(DEST)
  55. exe2bin config.exe
  56. cd $(MAKEDIR)
  57. $(DEST)\display.res: $(DEST)\display.rc $(DEST)\config.bin $(DEST)\display.rcv ..\..\inc\common.ver
  58. $(DEST)\display.lrf: makefile.sub
  59. echo $*.obj >$@
  60. echo $*.exe>>$@
  61. echo $* $(LINKOPTS)>>$@
  62. echo ..\..\lib\$(ALT_PROJECT)\libw.lib ..\..\lib\snocrt.lib /nod>>$@
  63. echo $(*F);>>$@
  64. $(DEST)\display.exe $(DEST)\display.map: $(DEST)\display.obj $(DEST)\display.lrf display.def $(DEST)\display.res
  65. $(LINK) @$(DEST)\display.lrf;
  66. $(RC) -t $(DEST)\display.res $(DEST)\display.exe
  67. $(DEST)\display.sym: $*.map