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.

238 lines
15KB

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