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.

106 lines
2.6 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1999 - 1999
  3. Module Name:
  4. sources.inc.
  5. !ENDIF
  6. MAJORCOMP=admin
  7. MINORCOMP=MMC
  8. TARGETNAME=mmcshext
  9. TARGETPATH=obj
  10. TARGETTYPE=DYNLINK
  11. DLLENTRY=_DllMainCRTStartup
  12. UMTYPE=windows
  13. WIN32_WINNT_VERSION=0x0400
  14. WIN32_IE_VERSION=0x0500
  15. SUBSYSTEM_VERSION=4.00
  16. USE_NATIVE_EH=1
  17. USE_RTTI=1
  18. USE_VCCOM=1
  19. USE_STL=1
  20. USE_MSVCRT=1
  21. USE_STATIC_ATL=1
  22. ATL_VER=30
  23. !ifdef PrivateBuild_NoLocalSC
  24. C_DEFINES = $(C_DEFINES) -DPrivateBuild_NoLocalSC
  25. !endif
  26. #
  27. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  28. #
  29. # The value of SXS_MANIFEST_RESOURCE_ID *must* be 2, to match a hardcoded value
  30. # in WinbasePrivateCreateActCtxForHModule (winbase.inl).
  31. #
  32. SXS_ASSEMBLY_NAME = Microsoft.Windows.MMC
  33. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT = 1
  34. SXS_MANIFEST = mmcshext.manifest
  35. SXS_MANIFEST_IN_RESOURCES = 1
  36. SXS_NO_BINPLACE = 1
  37. SXS_MANIFEST_RESOURCE_ID = 2
  38. C_DEFINES = $(C_DEFINES) -DISOLATION_AWARE_ENABLED
  39. #
  40. # Shfusion.lib causes linker warnings. Ignore them.
  41. #
  42. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
  43. # Use LINKLIBS (gets passed first) if: (from build.hlp)
  44. # You are building a dynamic link.
  45. # You are exporting something that's defined in some other component library that you also build.
  46. # In your dirs file in the subdirectory above, you have ordered it so that the component libraries
  47. # are around before you build the dynamic link.
  48. LINKLIBS = \
  49. ..\..\core\$(CharWidth)\$(O)\uicore.lib
  50. TARGETLIBS = \
  51. $(SDK_LIB_PATH)\kernel32.lib \
  52. $(SDK_LIB_PATH)\user32.lib \
  53. $(SDK_LIB_PATH)\gdi32.lib \
  54. $(SDK_LIB_PATH)\ole32.lib \
  55. $(SDK_LIB_PATH)\oleaut32.lib \
  56. $(SDK_LIB_PATH)\advapi32.lib \
  57. $(SDK_LIB_PATH)\uuid.lib \
  58. $(SDK_LIB_PATH)\comctl32.lib \
  59. $(SDK_LIB_PATH)\shell32.lib \
  60. $(SDK_LIB_PATH)\hhsetup.lib
  61. DLLDEF=..\mmcshext.def
  62. INCLUDES = \
  63. ..\; \
  64. ..\..\types\idl\$(O); \
  65. ..\..\inc; \
  66. PRECOMPILED_INCLUDE = ..\stdafx.h
  67. PRECOMPILED_CXX = 1
  68. # This target is required so $O\mmcshext.res doesn't become the default target
  69. # for makefile.def. We want "all" to be the default target.
  70. #
  71. # We have to go to this effort because sources(.inc) is included very early
  72. # in makefile.def. makefile.inc is the place where this would naturally go,
  73. # but we don't want to have to maintain this dependency list in
  74. # ansi\makefile.inc and unicode\makefile.inc.
  75. dummytarget: all
  76. $O\mmcshext.res: \
  77. ..\extract.rgs \
  78. ..\hhcwrap.rgs \
  79. ..\..\conui\res\mmc.ico
  80. SOURCES = \
  81. ..\mmcshext.rc \
  82. ..\extract.cpp \
  83. ..\mmcshext.cpp \
  84. ..\hhcwrap.cpp \
  85. ..\xmlfile.cpp