Makefile 16 KB

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