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.

70 lines
1.4 KiB

  1. CM_ROOT=$(PROJECT_ROOT)\rras\cm
  2. !include $(CM_ROOT)\sources.inc
  3. TARGETNAME=cmak
  4. TARGETPATH=$(CM_BUILD_ROOT)
  5. TARGETTYPE=PROGRAM
  6. USE_UNICODE=1
  7. !ifdef USE_UNICODE
  8. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  9. !endif
  10. PRECOMPILED_CXX=1
  11. PRECOMPILED_INCLUDE=cmmaster.h
  12. UMENTRY=WinMainCRTStartup
  13. UMENTRYABS=WinMainCRTStartup
  14. UMTYPE=windows
  15. USE_MSVCRT=1
  16. BUFFER_OVERFLOW_CHECKS=1
  17. TARGETLIBS=\
  18. $(CM_BUILD_ROOT)\*\cmdebug.lib \
  19. $(CM_BUILD_ROOT)\*\cmutil.lib \
  20. $(CM_BUILD_ROOT)\*\cmsecure.lib \
  21. !ifdef USE_UNICODE
  22. $(CM_BUILD_ROOT)\*\cmsetupw.lib \
  23. !else
  24. $(CM_BUILD_ROOT)\*\cmsetup.lib \
  25. !endif
  26. $(SDK_LIB_PATH)\comctl32.lib \
  27. $(SDK_LIB_PATH)\comdlg32.lib \
  28. $(SDK_LIB_PATH)\htmlhelp.lib \
  29. $(SDK_LIB_PATH)\ole32.lib \
  30. $(SDK_LIB_PATH)\shell32.lib \
  31. $(SDK_LIB_PATH)\version.lib \
  32. SOURCES=\
  33. image.cpp \
  34. profwiz.cpp \
  35. profwiz.rc \
  36. customaction.cpp \
  37. netsettings.cpp \
  38. util.cpp \
  39. listview.cpp
  40. ! if "$(PROCESSOR_ARCHITECTURE)" == "x86"
  41. MISCFILES=\
  42. docs\cmakread.htm \
  43. setup\instcm.inf \
  44. setup\cmbins.sed \
  45. setup\cmexcept.inf \
  46. setup\template.inf \
  47. setup\template.pmc \
  48. setup\template.sed \
  49. setup\template.smc \
  50. support\x86\cnet16.dll \
  51. ! else
  52. MISCFILES= \
  53. docs\cmakread.htm \
  54. setup\instcm.inf \
  55. setup\template.inf \
  56. setup\template.pmc \
  57. setup\template.sed \
  58. setup\template.smc \
  59. ! endif