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.

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