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.

195 lines
5.2 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1999 - 1999
  3. Module Name:
  4. sources.inc.
  5. !ENDIF
  6. MAJORCOMP=MMC
  7. MINORCOMP=conui
  8. TARGETNAME=mmc
  9. TARGETPATH=obj
  10. TARGETTYPE=PROGRAM
  11. UMTYPE=windows
  12. WIN32_WINNT_VERSION=0x0400
  13. WIN32_IE_VERSION=0x0500
  14. SUBSYSTEM_VERSION=4.00
  15. USE_VCCOM = 1
  16. USE_STL = 1
  17. USE_STATIC_ATL = 1
  18. ATL_VER = 30
  19. USE_WTL = 1
  20. !ifdef PrivateBuild_NoLocalSC
  21. C_DEFINES = $(C_DEFINES) -DPrivateBuild_NoLocalSC
  22. !endif
  23. #
  24. # Enable Fusion Build Magic (preprocess the manifest, stick in resources)
  25. #
  26. SXS_ASSEMBLY_NAME = Microsoft.Windows.MMC
  27. SXS_ASSEMBLY_LANGUAGE_INDEPENDENT = 1
  28. SXS_MANIFEST = mmc.manifest
  29. SXS_MANIFEST_IN_RESOURCES = 1
  30. SXS_NO_BINPLACE = 1
  31. SXS_MANIFEST_RESOURCE_ID = ISOLATIONAWARE_NOSTATICIMPORT_MANIFEST_RESOURCE_ID
  32. C_DEFINES = $(C_DEFINES) -DISOLATION_AWARE_ENABLED
  33. C_DEFINES = $(C_DEFINES) -DSXS_MANIFEST_RESOURCE_ID=$(SXS_MANIFEST_RESOURCE_ID)
  34. #
  35. # Shfusion.lib causes linker warnings. Ignore them.
  36. #
  37. LINKER_FLAGS=$(LINKER_FLAGS) -ignore:4049,4217
  38. !if $(FREEBUILD)
  39. # on retail builds we don't want to stack fault, so we reserve 56k of stack
  40. LINKER_STACKCOMMITSIZE = 57344
  41. !else
  42. # on chk builds, we default to 36k so that we can find stack pigs and elimnate them
  43. LINKER_STACKCOMMITSIZE = 36864
  44. !endif
  45. # Use LINKLIBS (gets passed first) if: (from build.hlp)
  46. # You are building a dynamic link.
  47. # You are exporting something that's defined in some other component library that you also build.
  48. # In your dirs file in the subdirectory above, you have ordered it so that the component libraries
  49. # are around before you build the dynamic link.
  50. LINKLIBS = \
  51. $(SDK_LIB_PATH)\mmc.lib \
  52. ..\..\core\$(CharWidth)\$(O)\uicore.lib \
  53. ..\..\base\$(CharWidth)\$(O)\mmcbase.lib
  54. # We need $(SHELL_LIB_PATH)\shlwapip.lib for ualstr*
  55. TARGETLIBS = \
  56. $(SDK_LIB_PATH)\kernel32.lib \
  57. $(SDK_LIB_PATH)\user32.lib \
  58. $(SDK_LIB_PATH)\oleaut32.lib \
  59. $(SDK_LIB_PATH)\ole32.lib \
  60. $(SDK_LIB_PATH)\oleacc.lib \
  61. $(SDK_LIB_PATH)\advapi32.lib \
  62. $(SDK_LIB_PATH)\uuid.lib \
  63. $(SDK_LIB_PATH)\comdlg32.lib \
  64. $(SDK_LIB_PATH)\HtmlHelp.lib \
  65. $(SDK_LIB_PATH)\shell32.lib \
  66. $(SHELL_LIB_PATH)\shlwapip.lib \
  67. $(SHELL_LIB_PATH)\shfusion.lib \
  68. !if exist (..\..\PrivateBranch.inc)
  69. !include ..\..\PrivateBranch.inc
  70. !endif
  71. !ifndef __PublishedDir
  72. __PublishedDir = mmc
  73. !endif
  74. TLBDir = $(PROJECT_ROOT)\published\$(__PublishedDir)\$(O)
  75. # We need $(SHELL_INC_PATH) for uastrfnc.h
  76. # We need $(BASE_INC_PATH) for wow64t.h
  77. INCLUDES = \
  78. ..\; \
  79. ..\..\base; \
  80. ..\..\inc; \
  81. ..\..\types\idl\$(O); \
  82. $(TLBDir); \
  83. $(SHELL_INC_PATH); \
  84. $(BASE_INC_PATH); \
  85. PRECOMPILED_INCLUDE = ..\stdafx.h
  86. PRECOMPILED_CXX = 1
  87. # This target is required so $(O)\amc.res doesn't become the default target
  88. # for makefile.def. We want "all" to be the default target.
  89. #
  90. # We have to go to this effort because sources(.inc) is included very early
  91. # in makefile.def. makefile.inc is the place where this would naturally go,
  92. # but we don't want to have to maintain this dependency list in
  93. # ansi\makefile.inc and unicode\makefile.inc.
  94. dummytarget: all
  95. $(O)\amc.res: \
  96. ..\..\types\idl\$(O)\websnk.tlb \
  97. $(TLBDir)\mmcobj.tlb \
  98. ..\html\glyph100.eot \
  99. ..\html\glyph110.eot \
  100. ..\html\break.htm \
  101. ..\html\default.htm \
  102. ..\html\error.htm \
  103. ..\html\horiz.htm \
  104. ..\html\listpad.htm \
  105. ..\html\reload.htm \
  106. ..\html\reload2.htm \
  107. ..\html\reload3.htm \
  108. ..\res\commontb.bmp \
  109. ..\res\commontb_rtl.bmp \
  110. ..\res\hand.cur \
  111. ..\res\mmc.ico \
  112. ..\res\mmc.ico \
  113. ..\res\nodes16.bmp \
  114. ..\res\nodes32.bmp \
  115. ..\res\sort.bmp \
  116. SOURCES = \
  117. ..\amc.rc \
  118. ..\amc.cpp \
  119. ..\amcdoc.cpp \
  120. ..\amcdocmg.cpp \
  121. ..\amcview.cpp \
  122. ..\archpicker.cpp \
  123. ..\caption.cpp \
  124. ..\cclvctl.cpp \
  125. ..\childfrm.cpp \
  126. ..\controls.cpp \
  127. ..\dd.cpp \
  128. ..\docksite.cpp \
  129. ..\evtsink.cpp \
  130. ..\favorite.cpp \
  131. ..\favui.cpp \
  132. ..\filedlgex.cpp \
  133. ..\fontlink.cpp \
  134. ..\ftab.cpp \
  135. ..\histlist.cpp \
  136. ..\idle.cpp \
  137. ..\kbdnav.cpp \
  138. ..\mainfrm.cpp \
  139. ..\mdiclint.cpp \
  140. ..\mdiuisim.cpp \
  141. ..\menubar.cpp \
  142. ..\menubtns.cpp \
  143. ..\mmcaxwin.cpp \
  144. ..\mscparser.cpp \
  145. ..\ocxview.cpp \
  146. ..\props.cpp \
  147. ..\scripthost.cpp \
  148. ..\scriptevents.cpp \
  149. ..\statbar.cpp \
  150. ..\stdbar.cpp \
  151. ..\stringutil.cpp \
  152. ..\strtable.cpp \
  153. ..\subclass.cpp \
  154. ..\svfildlg.cpp \
  155. ..\sysmenu.cpp \
  156. ..\taskhost.cpp \
  157. ..\tbtrack.cpp \
  158. ..\toolbar.cpp \
  159. ..\treectrl.cpp \
  160. ..\trobimpl.cpp \
  161. ..\vwtrack.cpp \
  162. ..\webctrl.cpp \
  163. ..\wrapper.cpp \
  164. MISCFILES = \
  165. ..\Microsoft_Management_Console_(MMC)_{386FE156-EDEB-4687-9AF0-7B24E6DE4EA4}.sld