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.

199 lines
4.9 KiB

  1. !ifndef ROOT
  2. ROOT=$(MAKEDIR:\av\codecs\intel\h263=)
  3. !endif
  4. !ifndef DEVROOT
  5. DEVROOT=$(ROOT)\dev
  6. !endif
  7. !include $(DEVROOT)\common.inc
  8. MAJORCOMP=codecs
  9. MINORCOMP=h263
  10. TARGETNAME=msh263
  11. TARGETEXT=drv
  12. TARGETPATH=$(_OBJ_DIR)
  13. TARGETTYPE=DYNLINK
  14. DLLDEF=c3_32.def
  15. 386_ASSEMBLER_NAME = ml611d
  16. NOMASMCOMPATIBILITY=1
  17. # This component is now a bbt comp
  18. # BBTCOMP= 1
  19. #
  20. # We have two options to get access to floating point hardware:
  21. # - static linking to libcmt
  22. DLLENTRY=_DllMainCRTStartup@12
  23. # USE_LIBCMT=1
  24. # => this option yields a file of size 130,480 bytes
  25. #
  26. # - dynamic linking to msvcrt
  27. # USE_MSVCRT=1
  28. # => this option yields a file of size 84,656 bytes
  29. #
  30. USE_NATIVE_EH=1
  31. LINKLIBS= $(ROOT)\nmutil\nmutila\$(_OBJ_DIR)\*\nmutila.lib
  32. TARGETLIBS= $(SDK_LIB_PATH)\winmm.lib \
  33. $(SDK_LIB_PATH)\kernel32.lib \
  34. $(SDK_LIB_PATH)\advapi32.lib \
  35. $(SDK_LIB_PATH)\user32.lib \
  36. $(SDK_LIB_PATH)\gdi32.lib \
  37. $(SDK_LIB_PATH)\msacm32.lib
  38. MSC_WARNING_LEVEL = /W1
  39. #
  40. # Mandatory defines:
  41. # WIN32
  42. # _WINDOWS
  43. # RTP_HEADER
  44. #
  45. # Optional defines
  46. # USE_MMX: Build MMX files
  47. # NEW_BEF: Use new verion of the Block Edge Filter
  48. # DECODE_TIMINGS_ON: Generates decode timings
  49. # DETAILED_DECODE_TIMINGS_ON: Generates detailed decode timings
  50. # LOG_DECODE_TIMINGS_ON: Outputs decode timings into a file (one of the two previous flags needs to be defined)
  51. # ENCODE_TIMINGS_ON: Generates encode timings
  52. # DETAILED_ENCODE_TIMINGS_ON: Generates detailed encode timings
  53. # LOG_ENCODE_TIMINGS_ON: Outputs encode timings into a file (one of the two previous flags needs to be defined)
  54. # FORCE_ZOOM_BY_2: Output data is zoomed by 2 by the codec
  55. # FORCE_8BIT_OUTPUT: Output decompressed data uses only 256 colors, whatever the current video mode is
  56. # FORCE_16BIT_OUTPUT: Output decompressed data uses 65536 colors, whatever the current video mode is
  57. # FORCE_24BIT_OUTPUT: Output decompressed data uses 16777216 colors, whatever the current video mode is
  58. # USE_WIN95_PAL: Use the Win95 palette when dithering to 8 bit
  59. # TRACK_ALLOCATIONS: Use MemMon to track memory allocations
  60. # USE_BILINEAR_MSH26X: Use bilinearly interpolated version of the codec (MSH26X)
  61. #
  62. # USER_C_FLAGS=/DWIN32 /D_WINDOWS /DRTP_HEADER /DUSE_MMX /DH263 /DUSE_BILINEAR_MSH26X $(USER_C_FLAGS)
  63. # ASM_DEFINES=-DWIN32 -DUSE_BILINEAR_MSH26X $(ASM_DEFINES)
  64. USER_C_FLAGS=/DWIN32 /D_WINDOWS /DRTP_HEADER /DUSE_MMX /DH263 $(USER_C_FLAGS)
  65. ASM_DEFINES=-DWIN32 $(ASM_DEFINES)
  66. #
  67. # List of sources
  68. #
  69. SOURCES= c3rtp.cpp \
  70. ccpuvsn.cpp \
  71. cdialogs.cpp \
  72. cdrvbase.cpp \
  73. cdrvproc.cpp \
  74. cldebug.cpp \
  75. d3bvriq.cpp \
  76. d3color.cpp \
  77. d3coltbl.cpp \
  78. d3dec.cpp \
  79. d3gob.cpp \
  80. d3halfmc.cpp \
  81. d3idct.cpp \
  82. d3mblk.cpp \
  83. d3mvdec.cpp \
  84. d3pict.cpp \
  85. d3rtp.cpp \
  86. d3tables.cpp \
  87. dxap.cpp \
  88. dxbase.cpp \
  89. dxblkadd.cpp \
  90. dxblkcpy.cpp \
  91. dxctrls.cpp \
  92. dxgetbit.cpp \
  93. dxidctab.cpp \
  94. dxpal.cpp \
  95. e3enc.cpp \
  96. e3mbenc.cpp \
  97. e3pcolor.cpp \
  98. e3rgb16.cpp \
  99. e3rgb24.cpp \
  100. e3rgb32.cpp \
  101. e3rgb4.cpp \
  102. e3rgb8.cpp \
  103. e3rtp.cpp \
  104. e3stat.cpp \
  105. e3ycrcb.cpp \
  106. exbase.cpp \
  107. exbitsio.cpp \
  108. exbrc.cpp \
  109. excolcnv.cpp \
  110. counters.cpp \
  111. memmon.cpp \
  112. c_h26x.rc
  113. i386_SOURCES= i386\adjpels.asm \
  114. i386\cx1209.asm \
  115. i386\cx512161.asm \
  116. i386\cx512162.asm \
  117. i386\cx512241.asm \
  118. i386\cx512242.asm \
  119. i386\cx512321.asm \
  120. i386\cx512322.asm \
  121. i386\cx51281.asm \
  122. i386\cx51282.asm \
  123. i386\cx5128a1.asm \
  124. i386\cx5128a2.asm \
  125. i386\cx512y2.asm \
  126. i386\cx512yuv.asm \
  127. i386\cxm12161.asm \
  128. i386\cxm12162.asm \
  129. i386\cxm12241.asm \
  130. i386\cxm12242.asm \
  131. i386\cxm12321.asm \
  132. i386\cxm12322.asm \
  133. i386\cxm1281.asm \
  134. i386\cxm1282.asm \
  135. i386\cxm12y2.asm \
  136. i386\d3madvpr.asm \
  137. i386\d35bimot.asm \
  138. i386\d3mbimot.asm \
  139. i386\d3mbkadd.asm \
  140. i386\d3mbvriq.asm \
  141. i386\d3mmc.asm \
  142. i386\d35obmc.asm \
  143. i386\d35xpand.asm \
  144. i386\dx5frmcp.asm \
  145. i386\dxmidct.asm \
  146. i386\e35bme.asm \
  147. i386\e3mbme.asm \
  148. i386\e3msig.asm \
  149. i386\e35vlc.asm \
  150. i386\ex5fdct.asm \
  151. i386\ex5me.asm \
  152. i386\ex5qrle.asm \
  153. i386\exmfdct.asm \
  154. i386\exmme.asm \
  155. i386\exmqrle.asm \
  156. i386\yuv12enc.asm
  157. #
  158. # Precompiled specs
  159. #
  160. PRECOMPILED_INCLUDE = precomp.h
  161. PRECOMPILED_PCH = precomp.pch
  162. PRECOMPILED_cpp = precomp.obj
  163. PRECOMPILED_CXX = 1
  164. CONDITIONAL_INCLUDES = \
  165. std.h \
  166. sys.h \
  167. cxprf.h \
  168. d1dec.h \
  169. e1enc.h \
  170. e1rtp.h \
  171. encasst.h \
  172. macocidl.h \
  173. macwin32.h \
  174. rpcerr.h \
  175. rpcmac.h \
  176. winwlm.h \
  177. macname1.h \
  178. macname2.h \
  179. macpub.h \
  180. macapi.h