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.

52 lines
1.4 KiB

  1. ASM_NAME = $(DEVROOT)\bin\masm611\ml
  2. ASM_FLAGS = -c -W2 $(ASM_FLAGS) -Cx -DMASM6
  3. LINKVXD_FLAGS = -align:0x1000 -nodefaultlib -VXD
  4. !IF "$(BUILD_ALT_DIR)" == "d"
  5. ASM_FLAGS = $(ASM_FLAGS) -Zi -DDEBUG=1
  6. LINK16_FLAGS = $(LINK16_FLAGS) /LI
  7. !ENDIF
  8. {}.asm{$(O)\}.obj:
  9. @type <<$(ECHO_RSP)
  10. $(ASM_NAME) $(INCPATH0) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F) $(ASM_FLAGS)
  11. <<NOKEEP
  12. @$(ASM_NAME) @<<$(CL_RSP) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F)
  13. $(INCPATH0) $(ASM_FLAGS)
  14. <<NOKEEP
  15. TARGETCOPY_CMD = $(TARGETCOPY_CMD:.exe=.vxd)
  16. MAPCOPY_CMD = $(MAPCOPY_CMD:exe=vxd)
  17. SYMCOPY_CMD = $(SYMCOPY_CMD:exe=vxd)
  18. PDBCOPY_CMD = $(PDBCOPY_CMD:exe=vxd)
  19. DBGCOPY_CMD = $(DBGCOPY_CMD:exe=vxd)
  20. $(O)\dcapvxd.res: dcapvxd.rc
  21. $(DEVROOT)\bin\c816\i386\rc -r -I $(DEVROOT)\inc16 -I $(ROOT)\h -fo $@ dcapvxd.rc
  22. !IFDEF NOLINK
  23. $(O)\dcapvxd.vxd:
  24. @echo
  25. !ELSE
  26. $(O)\dcapvxd.vxd: $(O)\dcapvxd.obj dcapvxd.def $(O)\dcapvxd.res
  27. editbin $(O)\dcapvxd.obj
  28. link $(O)\dcapvxd.obj $(LINKVXD_FLAGS) -def:dcapvxd.def -out:$(O)\dcapvxd.vxd -map:$(O)\dcapvxd.map
  29. $(DEVROOT)\bin\misc\i386\adrc2vxd.exe $(O)\dcapvxd.vxd $(O)\dcapvxd.res
  30. $(SPLITSYM_CMD)
  31. $(TARGETCOPY_CMD)
  32. $(PDBCOPY_CMD)
  33. $(DBGCOPY_CMD)
  34. $(MAPSYM_CMD)
  35. $(MAPCOPY_CMD)
  36. $(SYMCOPY_CMD)
  37. !ENDIF
  38. $(O)\dcapvxd.lib:
  39. @echo no lib
  40. $(O)\dcapvxd.exp:
  41. @echo no exp
  42. $(O)\dcapvxd.exe:
  43. @echo no exe
  44. # blank target to avoid linking a useless exe