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.

240 lines
6.0 KiB

  1. !IF 0
  2. Copyright (C) Microsoft Corporation, 1999-2000
  3. Module Name:
  4. sources.
  5. !ENDIF
  6. MAJORCOMP=DirectShow
  7. MINORCOMP=MSVidCtl
  8. DSHOWPUB=$(PROJECT_ROOT)\published\dxmdev\dshowdev
  9. PUBLICPROXYSTUBS=$(DSHOWPUB)\idl\$(O)
  10. FILTERS=$(PROJECT_ROOT)\dshow\filters
  11. PASS0_HEADERDIR = $(O)
  12. PASS0_SOURCEDIR = $(O)
  13. MIDL_UUIDDIR = $(O)
  14. MIDL_TLBDIR = $(O)
  15. TARGETNAME=MSVidCtl
  16. TARGETPATH=obj
  17. TARGETTYPE=DYNLINK
  18. MP2DEMUX = $(PROJECT_ROOT)\DShow\filters\mpeg2\mp2demux
  19. ENCDEC_ROOT = $(PROJECT_ROOT)\DShow\Filters\Encdec
  20. # turn on /GS (see http://swiweb/bufferoverruns/gs.html)
  21. BUFFER_OVERFLOW_CHECKS=1
  22. # Explicitly include $(O) first else we pick up the
  23. # wrong copy of msg00001.bin from $(PUBLICPROXYSTUBS)
  24. INCLUDES= \
  25. $(O); \
  26. ..\atl;\
  27. .;\
  28. ..;\
  29. ..\..\..\published\dxmdev\dshowdev\base;\
  30. ..\..\..\published\dxmdev\dshowdev\include;\
  31. $(SDK_INC_PATH)\atl30;\
  32. $(PUBLICPROXYSTUBS);\
  33. $(SDK_PATH)\amovie\inc; \
  34. $(MP2DEMUX); \
  35. $(ENCDEC_ROOT)\inc; \
  36. $(ENCDEC_ROOT)\idl\$(O);
  37. RC_INCLUDES=res
  38. UMTYPE=windows
  39. NOT_LEAN_AND_MEAN=1
  40. C_DEFINES=$(C_DEFINES) -D_USRDLL
  41. #version goo
  42. C_DEFINES=$(C_DEFINES) -DOFFICIAL=1
  43. !if exist( "$(PROJECT_ROOT)\dshow\qbuild.ver" )
  44. C_DEFINES=$(C_DEFINES) -DQBUILD_VER
  45. INCLUDES = $(INCLUDES);$(PROJECT_ROOT)\dshow
  46. !endif
  47. !if defined(DIRECTX_REDIST) && exist( "$(PROJECT_ROOT)\directx\inc\verinfo.h" )
  48. C_DEFINES=$(C_DEFINES) -DDXBUILD_VER
  49. INCLUDES=$(INCLUDES);$(PROJECT_ROOT)\directx\inc
  50. !endif
  51. #end version goo
  52. MSC_WARNING_LEVEL=/W3
  53. #USE_MSVCRT=1
  54. USE_LIBCMT=1
  55. USE_STL=1
  56. DLLENTRY=_DllMainCRTStartup
  57. DLLDEF=MSVidCtl.def
  58. USE_NATIVE_EH=1
  59. !ifndef TUNING_MODEL_ONLY
  60. TUNING_MODEL_ONLY=0
  61. !endif
  62. !if "$(TUNING_MODEL_ONLY)"=="1"
  63. C_DEFINES=$(C_DEFINES) -DTUNING_MODEL_ONLY=1
  64. NONTM_SOURCES=
  65. !else
  66. #
  67. #note build.exe won't do !ifdef so keeping separate lists of .cpp files for
  68. # the tuning_model_only version going out in dx8 and the full ctl going out in whistler
  69. # doesn't actually do anything. we're solving this with #ifdef in the code. but,
  70. # i'm keeping the lists separate in the sources file for documentation purposes.
  71. #
  72. NONTM_SOURCES= composition.cpp \
  73. devices.cpp \
  74. MSVidAudioRenderer.cpp \
  75. MSVidVideoRenderer.cpp \
  76. MSVidFileplayback.cpp \
  77. MSVidSBERecorder.cpp \
  78. MSVidSBESink.cpp \
  79. MSVidSBESource.cpp \
  80. MSVidEncoder.cpp \
  81. MSVidXDS.cpp \
  82. MSVidWebDVD.cpp \
  83. MSVidDVDAdm.cpp \
  84. MSVidDVDBookmark.cpp \
  85. BDATuner.cpp \
  86. MSVidtvtuner.cpp \
  87. vidctl.cpp \
  88. vidprot.cpp \
  89. dvdprot.cpp \
  90. ..\dsextend.cpp \
  91. topwin.cpp \
  92. ..\segment.cpp \
  93. CMSEventBinder.cpp
  94. !endif
  95. !if "$(BUILD_PRODUCT)" == "NT"
  96. C_DEFINES=$(C_DEFINES) -DUNICODE -D_UNICODE
  97. WINVER_VERSION=0x0500
  98. !else
  99. C_DEFINES=$(C_DEFINES) -D_MBCS
  100. WINVER_VERSION=0x0400
  101. !endif
  102. USER_C_FLAGS=/Zm200 $(USER_C_FLAGS)
  103. C_DEFINES=$(C_DEFINES) -D_ATL_STATIC_REGISTRY
  104. PRECOMPILED_INCLUDE=stdafx.h
  105. PRECOMPILED_SOURCEFILE=stdafx.cpp
  106. PRECOMPILED_CXX=1
  107. USE_VCCOM=1
  108. !if $(FREEBUILD)
  109. STRMBASE_LIB=$(SDK_LIB_PATH)\strmbase.lib
  110. !else
  111. DEBUG_CRTS=1
  112. 386_OPTIMIZATION=/Odi
  113. STRMBASE_LIB=$(SDK_LIB_PATH)\strmbasd.lib
  114. !endif
  115. !if $(FREEBUILD) #two different versions of libraries, one for debug
  116. DRMO=free
  117. !else
  118. DRMO=checked
  119. !endif
  120. LINKER_WARNING_SWITCH= # turn of warnings stopping build (nothing after '=
  121. # DRM don't give us PDB files for libs and it complains
  122. TARGETLIBS=$(TARGETLIBS) \
  123. $(SDK_LIB_PATH)\ddraw.lib \
  124. $(SDK_LIB_PATH)\d3dx.lib \
  125. $(SDK_LIB_PATH)\ole32.lib \
  126. $(SDK_LIB_PATH)\oleaut32.lib \
  127. $(SDK_LIB_PATH)\kernel32.lib \
  128. $(SDK_LIB_PATH)\user32.lib \
  129. $(SDK_LIB_PATH)\advapi32.lib \
  130. $(SDK_LIB_PATH)\uuid.lib \
  131. $(SDK_LIB_PATH)\comctl32.lib \
  132. $(SDK_LIB_PATH)\comdlg32.lib \
  133. $(SDK_LIB_PATH)\gdi32.lib \
  134. $(SDK_LIB_PATH)\shell32.lib \
  135. $(SDK_LIB_PATH)\winspool.lib \
  136. $(SDK_LIB_PATH)\odbc32.lib \
  137. $(SDK_LIB_PATH)\odbccp32.lib \
  138. $(SDK_LIB_PATH)\winmm.lib \
  139. $(SDK_LIB_PATH)\strmiids.lib \
  140. $(SDK_LIB_PATH)\shlwapi.lib \
  141. $(SDK_LIB_PATH)\rpcrt4.lib
  142. # $(STRMBASE_LIB)
  143. #DRM goo
  144. !if $(IA64)
  145. BUILD_WITH_DRM=0
  146. !else
  147. BUILD_WITH_DRM=1
  148. !endif
  149. !if "$(BUILD_WITH_DRM)"=="1"
  150. #C_DEFINES=$(C_DEFINES) -DBUILD_WITH_DRM -DUSE_TEST_DRM_CERT # no longer using test certs.
  151. C_DEFINES=$(C_DEFINES) -DBUILD_WITH_DRM
  152. TARGETLIBS= \
  153. $(ENCDEC_ROOT)\DrmLib\drmutil.lib \
  154. $(ENCDEC_ROOT)\DrmLib\$(DRMO)\drmclien.lib \
  155. $(ENCDEC_ROOT)\DrmLib\$(DRMO)\fsv1stub.lib \
  156. $(ENCDEC_ROOT)\DrmLib\$(DRMO)\DRMSecureChannel.lib \
  157. $(ENCDEC_ROOT)\DrmLib\rsa32.lib \
  158. $(ENCDEC_ROOT)\DrmLib\bnpkvsp.lib \
  159. $(ENCDEC_ROOT)\DrmLib\randlib.lib \
  160. $(TARGETLIBS)
  161. !endif
  162. #end DRM goo
  163. DLOAD_ERROR_HANDLER=kernel32.dll
  164. #DELAYLOAD = gdi32.dll; urlmon.dll;shlwapi.dll;winmm.dll
  165. DELAYLOAD = winmm.dll
  166. !if $(IA64)
  167. TARGETLIBS=$(TARGETLIBS) $(SDK_LIB_PATH)\atl21asm.lib
  168. !endif
  169. TM_SOURCES= \
  170. regexp.idl \
  171. MSVidCtl.cpp \
  172. rgsbag.cpp \
  173. createregbag.cpp \
  174. ChannelTuneRequest.cpp \
  175. ATSCChannelTuneRequest.cpp \
  176. MPEG2TuneRequest.cpp \
  177. atsclocator.cpp \
  178. dvbtunerequest.cpp \
  179. dvbslocator.cpp \
  180. dvbtlocator.cpp \
  181. ComponentTypes.cpp \
  182. Components.cpp \
  183. TuningSpaceContainer.cpp \
  184. regexthread.cpp \
  185. bcastevent.cpp \
  186. MSVidCtlerrors.mc \
  187. mtype.cpp \
  188. msvidctlp.c \
  189. regbagp.c \
  190. segmentp.c \
  191. tunerp.c \
  192. dlldatax.c \
  193. MSVidCtl.rc
  194. SOURCES= $(TM_SOURCES) $(NONTM_SOURCES)
  195. PASS0_PUBLISH= \
  196. {..\trace.cpp=$(PROJECT_INC_PATH)\trace.cpp} \
  197. {..\dsextend.cpp=$(PROJECT_INC_PATH)\dsextend.cpp} \
  198. {..\segment.cpp=$(PROJECT_INC_PATH)\segment.cpp}
  199. # end of file - sources