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.

239 lines
15KB

  1. NAME = avutil
  2. DESC = FFmpeg utility library
  3. HEADERS = adler32.h \
  4. aes.h \
  5. aes_ctr.h \
  6. attributes.h \
  7. audio_fifo.h \
  8. avassert.h \
  9. avstring.h \
  10. avutil.h \
  11. base64.h \
  12. blowfish.h \
  13. bprint.h \
  14. bswap.h \
  15. buffer.h \
  16. cast5.h \
  17. camellia.h \
  18. channel_layout.h \
  19. common.h \
  20. cpu.h \
  21. crc.h \
  22. des.h \
  23. dict.h \
  24. display.h \
  25. downmix_info.h \
  26. error.h \
  27. eval.h \
  28. fifo.h \
  29. file.h \
  30. frame.h \
  31. hash.h \
  32. hmac.h \
  33. hwcontext.h \
  34. hwcontext_cuda.h \
  35. hwcontext_dxva2.h \
  36. hwcontext_qsv.h \
  37. hwcontext_vaapi.h \
  38. hwcontext_videotoolbox.h \
  39. hwcontext_vdpau.h \
  40. imgutils.h \
  41. intfloat.h \
  42. intreadwrite.h \
  43. lfg.h \
  44. log.h \
  45. macros.h \
  46. mathematics.h \
  47. mastering_display_metadata.h \
  48. md5.h \
  49. mem.h \
  50. motion_vector.h \
  51. murmur3.h \
  52. opt.h \
  53. parseutils.h \
  54. pixdesc.h \
  55. pixelutils.h \
  56. pixfmt.h \
  57. random_seed.h \
  58. rc4.h \
  59. rational.h \
  60. replaygain.h \
  61. ripemd.h \
  62. samplefmt.h \
  63. sha.h \
  64. sha512.h \
  65. spherical.h \
  66. stereo3d.h \
  67. threadmessage.h \
  68. time.h \
  69. timecode.h \
  70. timestamp.h \
  71. tree.h \
  72. twofish.h \
  73. version.h \
  74. xtea.h \
  75. tea.h \
  76. HEADERS-$(CONFIG_LZO) += lzo.h
  77. HEADERS-$(CONFIG_OPENCL) += opencl.h
  78. ARCH_HEADERS = bswap.h \
  79. intmath.h \
  80. intreadwrite.h \
  81. timer.h \
  82. BUILT_HEADERS = avconfig.h \
  83. ffversion.h
  84. OBJS = adler32.o \
  85. aes.o \
  86. aes_ctr.o \
  87. audio_fifo.o \
  88. avstring.o \
  89. base64.o \
  90. blowfish.o \
  91. bprint.o \
  92. buffer.o \
  93. cast5.o \
  94. camellia.o \
  95. channel_layout.o \
  96. color_utils.o \
  97. cpu.o \
  98. crc.o \
  99. des.o \
  100. dict.o \
  101. display.o \
  102. downmix_info.o \
  103. error.o \
  104. eval.o \
  105. fifo.o \
  106. file.o \
  107. file_open.o \
  108. float_dsp.o \
  109. fixed_dsp.o \
  110. frame.o \
  111. hash.o \
  112. hmac.o \
  113. hwcontext.o \
  114. imgutils.o \
  115. integer.o \
  116. intmath.o \
  117. lfg.o \
  118. lls.o \
  119. log.o \
  120. log2_tab.o \
  121. mathematics.o \
  122. mastering_display_metadata.o \
  123. md5.o \
  124. mem.o \
  125. murmur3.o \
  126. opt.o \
  127. parseutils.o \
  128. pixdesc.o \
  129. pixelutils.o \
  130. random_seed.o \
  131. rational.o \
  132. reverse.o \
  133. rc4.o \
  134. ripemd.o \
  135. samplefmt.o \
  136. sha.o \
  137. sha512.o \
  138. spherical.o \
  139. stereo3d.o \
  140. threadmessage.o \
  141. time.o \
  142. timecode.o \
  143. tree.o \
  144. twofish.o \
  145. utils.o \
  146. xga_font_data.o \
  147. xtea.o \
  148. tea.o \
  149. OBJS-$(!HAVE_ATOMICS_NATIVE) += atomic.o \
  150. OBJS-$(CONFIG_CUDA) += hwcontext_cuda.o
  151. OBJS-$(CONFIG_DXVA2) += hwcontext_dxva2.o
  152. OBJS-$(CONFIG_QSV) += hwcontext_qsv.o
  153. OBJS-$(CONFIG_LZO) += lzo.o
  154. OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
  155. OBJS-$(CONFIG_VAAPI) += hwcontext_vaapi.o
  156. OBJS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.o
  157. OBJS-$(CONFIG_VDPAU) += hwcontext_vdpau.o
  158. OBJS += $(COMPAT_OBJS:%=../compat/%)
  159. # Windows resource file
  160. SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
  161. SKIPHEADERS-$(HAVE_CUDA_H) += hwcontext_cuda.h
  162. SKIPHEADERS-$(CONFIG_CUDA) += hwcontext_cuda_internal.h
  163. SKIPHEADERS-$(CONFIG_DXVA2) += hwcontext_dxva2.h
  164. SKIPHEADERS-$(CONFIG_QSV) += hwcontext_qsv.h
  165. SKIPHEADERS-$(CONFIG_VAAPI) += hwcontext_vaapi.h
  166. SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += hwcontext_videotoolbox.h
  167. SKIPHEADERS-$(CONFIG_VDPAU) += hwcontext_vdpau.h
  168. SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
  169. SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
  170. SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
  171. SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
  172. TESTPROGS = adler32 \
  173. aes \
  174. aes_ctr \
  175. atomic \
  176. audio_fifo \
  177. avstring \
  178. base64 \
  179. blowfish \
  180. bprint \
  181. cast5 \
  182. camellia \
  183. color_utils \
  184. cpu \
  185. crc \
  186. des \
  187. dict \
  188. display \
  189. error \
  190. eval \
  191. file \
  192. fifo \
  193. hash \
  194. hmac \
  195. imgutils \
  196. lfg \
  197. lls \
  198. log \
  199. md5 \
  200. murmur3 \
  201. opt \
  202. pca \
  203. parseutils \
  204. pixdesc \
  205. pixelutils \
  206. random_seed \
  207. rational \
  208. ripemd \
  209. sha \
  210. sha512 \
  211. softfloat \
  212. tree \
  213. twofish \
  214. utf8 \
  215. xtea \
  216. tea \
  217. TESTPROGS-$(HAVE_THREADS) += cpu_init
  218. TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
  219. TOOLS = crypto_bench ffhash ffeval ffescape
  220. tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
  221. tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
  222. $(SUBDIR)tests/lzo$(EXESUF): ELIBS = -llzo2