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.

86 lines
2.6 KiB

  1. CCSHELL_DIR = $(PROJECT_ROOT)
  2. !include $(CCSHELL_DIR)\common.inc
  3. SOURCES_USED = $(SOURCES_USED) $(CCSHELL_DIR)\common.inc
  4. TARGETNAME = taskui
  5. TARGETPATH = obj
  6. TARGETTYPE = DYNLINK
  7. SOURCES = \
  8. TaskUI.idl \
  9. TaskUI.cpp \
  10. TaskSheet.cpp \
  11. TaskFrame.cpp \
  12. debug.cpp \
  13. propbag.cpp \
  14. Page.cpp \
  15. HTMLControl.cpp \
  16. TaskUI.rc
  17. # Note: $(WINDOWS_LIB_PATH)\obj and not $(WINDOWS_LIB_PATH)\$(_OBJ_DIR)
  18. # because the Windows depot publishes only the fre libraries.
  19. !ifdef DUI_GDIPLUS
  20. C_DEFINES = $(C_DEFINES) -DGADGET_ENABLE_GDIPLUS
  21. !if $(FREEBUILD)
  22. DUILIB = directuigp
  23. !else
  24. DUILIB = directuigpd
  25. !endif
  26. !else
  27. !if $(FREEBUILD)
  28. DUILIB = directui
  29. !else
  30. DUILIB = directuid
  31. !endif
  32. !endif
  33. TARGETLIBS = \
  34. $(SDK_LIB_PATH)\uuid.lib \
  35. $(SDK_LIB_PATH)\kernel32.lib \
  36. $(SDK_LIB_PATH)\user32.lib \
  37. $(SDK_LIB_PATH)\gdi32.lib \
  38. $(SDK_LIB_PATH)\netapi32.lib \
  39. $(SDK_LIB_PATH)\advapi32.lib \
  40. $(SDK_LIB_PATH)\ole32.lib \
  41. $(SDK_LIB_PATH)\oleaut32.lib \
  42. $(SDK_LIB_PATH)\oleacc.lib \
  43. $(SDK_LIB_PATH)\comctl32.lib \
  44. $(SHELL_LIB_PATH)\comctlp.lib \
  45. $(SDK_LIB_PATH)\shlwapi.lib \
  46. $(SHELL_LIB_PATH)\shlwapip.lib\
  47. $(SDK_LIB_PATH)\shell32.lib \
  48. $(SHELL_LIB_PATH)\shell32p.lib\
  49. $(SDK_LIB_PATH)\msimg32.lib \
  50. $(SDK_LIB_PATH)\urlmon.lib \
  51. $(SDK_LIB_PATH)\gdiplus.lib \
  52. $(WINDOWS_LIB_PATH)\obj\duser.lib \
  53. $(WINDOWS_LIB_PATH)\$(DUILIB).lib \
  54. $(CCSHELL_DIR)\lib\$(O)\stock.lib
  55. INCLUDES = $(INCLUDES); \
  56. $(O); \
  57. $(SDK_INC_PATH)\GDIPlus; \
  58. $(WINDOWS_INC_PATH)\DUser
  59. USE_ATL=1
  60. USE_MSVCRT=1
  61. DLLDEF = $(O)\$(TARGETNAME).def
  62. DLLENTRY = _DllMainCRTStartup
  63. PRECOMPILED_CXX = 1
  64. PRECOMPILED_INCLUDE = StdAfx.h
  65. PASS0_HEADERDIR=$(O)
  66. PASS0_SOURCEDIR=$(O)
  67. MIDL_UUIDDIR=$(O)
  68. MIDL_TLBDIR=$(O)
  69. # specify -Oicf once
  70. MIDL_OPTIMIZATION=$(MIDL_OPTIMIZATION:-Oicf=) -Oicf
  71. SELFREGNAME = $(O)\selfreg_$(TARGETNAME).inf
  72. MISCFILES = $(MISCFILES) $(SELFREGNAME)
  73. NTTARGETFILE0 = $(SELFREGNAME)