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.

59 lines
1.9 KiB

  1. C16_NAME = $(DEVROOT)\bin\c816\i386\cl -nologo
  2. C16_FLAGS = $(C16_FLAGS) -I$(DEVROOT)\inc16 -I$(DEVROOT)\inc -Fd$(MAKEDIR)\$(_OBJ_DIR)\i386^\
  3. ASM_NAME = $(DEVROOT)\bin\masm611\ml
  4. ASM_FLAGS = -c -W2 $(ASM_FLAGS)
  5. !IF "$(BUILD_ALT_DIR)" == "d"
  6. C16_FLAGS = $(C16_FLAGS) -Zi -DDEBUG
  7. ASM_FLAGS = $(ASM_FLAGS) -Zi -DDEBUG=1
  8. LINK16_FLAGS = $(LINK16_FLAGS) /LI
  9. !ENDIF
  10. {}.asm{$(O)\}.obj:
  11. @type <<$(ECHO_RSP)
  12. $(ASM_NAME) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F) $(ASM_FLAGS)
  13. <<NOKEEP
  14. @$(ASM_NAME) @<<$(CL_RSP) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F)
  15. $(ASM_FLAGS)
  16. <<NOKEEP
  17. {}.c{$(O)\}.obj:
  18. @type <<$(ECHO_RSP)
  19. $(C16_NAME) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F) $(C16_FLAGS)
  20. <<NOKEEP
  21. @$(C16_NAME) @<<$(CL_RSP) -Fo$(MAKEDIR)\$@ $(MAKEDIR)\$(<F)
  22. $(C16_FLAGS: =
  23. )
  24. <<NOKEEP
  25. dcthk.asm: ..\thunks\dcthk.thk
  26. $(DEVROOT)\bin\misc\i386\thunk -t thk -o dcthk.asm ..\thunks\dcthk.thk
  27. $(O)\dcap16.res: dcap16.rc
  28. $(DEVROOT)\bin\c816\i386\rc -r -I $(DEVROOT)\inc16 -I $(ROOT)\h -fo $@ dcap16.rc
  29. $(TARGETPATHLIB)\$(TARGET_DIRECTORY)\$(TARGETNAME).lib: $(TARGETNAME).def
  30. @echo Undesirable - DCAP16.DLL is a 16-bit DLL always loaded dynamically
  31. $(TARGETPATHLIB)\$(TARGET_DIRECTORY)\$(TARGETNAME).exp: $(TARGETNAME).def
  32. @echo Undesirable - DCAP16.DLL is a 16-bit DLL always loaded dynamically
  33. $(TARGETPATHLIB)\$(TARGET_DIRECTORY)\$(TARGETNAME).dll: $(OBJECTS) $(LINKLIBS) $(CRTLIBS) $(MACHINE_TARGETLIBS) $(O)\$(TARGETNAME).res
  34. $(DEVROOT)\bin\c816\i386\link @<<
  35. $(OBJECTS) /align:0x1000 /nodefaultlib /NOE/MAP/NOD/AL:16/NOPACKC/ONERROR:NOEXE $(LINK16_FLAGS),
  36. $(TARGET),
  37. $(TARGETPATHLIB)\$(TARGET_DIRECTORY)\$(TARGETNAME).map,
  38. $(TARGETLIBS),
  39. $(TARGETNAME).def
  40. <<
  41. $(DEVROOT)\bin\c816\i386\rc $(TARGETPATHLIB)\$(TARGET_DIRECTORY)\$(TARGETNAME).res $(TARGET)
  42. $(SPLITSYM_CMD)
  43. $(TARGETCOPY_CMD)
  44. $(PDBCOPY_CMD)
  45. $(DBGCOPY_CMD)
  46. $(MAPSYM_CMD)
  47. $(MAPCOPY_CMD)
  48. $(SYMCOPY_CMD)