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.

41 lines
971 B

  1. TARGETNAME = $(DEBUGGER_NAME)
  2. TARGETPATH = obj
  3. TARGETTYPE = PROGRAM
  4. INCLUDES = ..;..\..\dbg-common
  5. C_DEFINES = $(C_DEFINES) \
  6. -DDEBUGGER_NAME=\"$(DEBUGGER_NAME)\"
  7. SOURCES = \
  8. ..\conio.cpp\
  9. ..\engine.cpp\
  10. ..\ini.cpp\
  11. ..\main.cpp\
  12. $(DEBUGGER_NAME).rc
  13. NO_NTDLL = 1
  14. USE_MSVCRT = 1
  15. !if "$(DEBUGGER_NAME)" == "ntsd"
  16. UMTYPE = windows
  17. # Avoid running out of stack during stress
  18. LINKER_STACKCOMMITSIZE=65536
  19. !else
  20. UMTYPE = console
  21. C_DEFINES = $(C_DEFINES) -DINHERIT_CONSOLE
  22. !endif
  23. TARGETLIBS = $(TARGETLIBS) \
  24. $(SDK_LIB_PATH)\dbgeng.lib\
  25. $(SDK_LIB_PATH)\uuid.lib\
  26. $(SDK_LIB_PATH)\user32.lib\
  27. $(SDK_LIB_PATH)\version.lib\
  28. $(SDK_LIB_PATH)\htmlhelp.lib\
  29. $(SDK_LIB_PATH)\wininet.lib\
  30. $(DEBUGGER_LIBS)\*\dbglib.lib
  31. PRECOMPILED_INCLUDE = ..\pch.cpp
  32. DELAYLOAD = user32.dll
  33. DLOAD_ERROR_HANDLER = Downlevel_DelayLoadFailureHook