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.

81 lines
1.8 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. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE -DWINVER=0x501
  7. PRECOMPILED_CXX=1
  8. PRECOMPILED_INCLUDE=cmmaster.h
  9. UMENTRY=WinMainCRTStartup
  10. UMENTRYABS=WinMainCRTStartup
  11. UMTYPE=windows
  12. USE_MSVCRT=1
  13. BUFFER_OVERFLOW_CHECKS=1
  14. #
  15. #to make fusion work, this _WIN32_WINNT = 0x501 is a necessity see bug 382720
  16. _WIN32_WINNT = 0x501
  17. #
  18. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  19. #
  20. SXS_ASSEMBLY_NAME=Microsoft.Windows.Net.cmak
  21. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT=1
  22. SXS_MANIFEST=cmak.Manifest
  23. SXS_MANIFEST_IN_RESOURCES=1
  24. SXS_NO_BINPLACE=1
  25. #
  26. # Shfusion.lib causes linker warnings. Ignore them.
  27. #
  28. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
  29. TARGETLIBS=\
  30. $(SHELL_LIB_PATH)\shfusion.lib \
  31. $(CM_BUILD_ROOT)\*\cmdebug.lib \
  32. $(CM_BUILD_ROOT)\*\cmutil.lib \
  33. $(CM_BUILD_ROOT)\*\cmsecure.lib \
  34. $(CM_BUILD_ROOT)\*\cmsetupw.lib \
  35. $(SDK_LIB_PATH)\comctl32.lib \
  36. $(SDK_LIB_PATH)\comdlg32.lib \
  37. $(SDK_LIB_PATH)\htmlhelp.lib \
  38. $(SDK_LIB_PATH)\ole32.lib \
  39. $(SDK_LIB_PATH)\shell32.lib \
  40. $(SDK_LIB_PATH)\version.lib \
  41. SOURCES=\
  42. image.cpp \
  43. profwiz.cpp \
  44. profwiz.rc \
  45. customaction.cpp \
  46. netsettings.cpp \
  47. util.cpp \
  48. listview.cpp
  49. ! if "$(PROCESSOR_ARCHITECTURE)" == "x86"
  50. MISCFILES=\
  51. docs\cmakread.htm \
  52. setup\instcm.inf \
  53. setup\cmbins.sed \
  54. setup\cmexcept.inf \
  55. setup\template.inf \
  56. setup\template.pmc \
  57. setup\template.sed \
  58. setup\template.smc \
  59. support\x86\cnet16.dll \
  60. ! else
  61. MISCFILES= \
  62. docs\cmakread.htm \
  63. setup\instcm.inf \
  64. setup\template.inf \
  65. setup\template.pmc \
  66. setup\template.sed \
  67. setup\template.smc \
  68. ! endif