Makefile 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. include $(SUBDIR)../config.mak
  2. NAME = avutil
  3. HEADERS = adler32.h \
  4. aes.h \
  5. attributes.h \
  6. audio_fifo.h \
  7. audioconvert.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. channel_layout.h \
  17. common.h \
  18. cpu.h \
  19. crc.h \
  20. display.h \
  21. downmix_info.h \
  22. error.h \
  23. eval.h \
  24. fifo.h \
  25. file.h \
  26. frame.h \
  27. hash.h \
  28. hmac.h \
  29. imgutils.h \
  30. intfloat.h \
  31. intfloat_readwrite.h \
  32. intreadwrite.h \
  33. lfg.h \
  34. log.h \
  35. macros.h \
  36. mathematics.h \
  37. md5.h \
  38. mem.h \
  39. motion_vector.h \
  40. murmur3.h \
  41. dict.h \
  42. old_pix_fmts.h \
  43. opt.h \
  44. parseutils.h \
  45. pixdesc.h \
  46. pixelutils.h \
  47. pixfmt.h \
  48. random_seed.h \
  49. replaygain.h \
  50. rational.h \
  51. ripemd.h \
  52. samplefmt.h \
  53. sha.h \
  54. sha512.h \
  55. stereo3d.h \
  56. threadmessage.h \
  57. time.h \
  58. timecode.h \
  59. timestamp.h \
  60. version.h \
  61. xtea.h \
  62. HEADERS-$(CONFIG_LZO) += lzo.h
  63. HEADERS-$(CONFIG_OPENCL) += opencl.h
  64. ARCH_HEADERS = bswap.h \
  65. intmath.h \
  66. intreadwrite.h \
  67. timer.h \
  68. BUILT_HEADERS = avconfig.h \
  69. ffversion.h
  70. OBJS = adler32.o \
  71. aes.o \
  72. atomic.o \
  73. audio_fifo.o \
  74. avstring.o \
  75. base64.o \
  76. blowfish.o \
  77. bprint.o \
  78. buffer.o \
  79. channel_layout.o \
  80. cpu.o \
  81. crc.o \
  82. des.o \
  83. display.o \
  84. downmix_info.o \
  85. error.o \
  86. eval.o \
  87. fifo.o \
  88. file.o \
  89. file_open.o \
  90. float_dsp.o \
  91. fixed_dsp.o \
  92. frame.o \
  93. hash.o \
  94. hmac.o \
  95. imgutils.o \
  96. intfloat_readwrite.o \
  97. intmath.o \
  98. lfg.o \
  99. lls.o \
  100. log.o \
  101. log2_tab.o \
  102. mathematics.o \
  103. md5.o \
  104. mem.o \
  105. murmur3.o \
  106. dict.o \
  107. opt.o \
  108. parseutils.o \
  109. pixdesc.o \
  110. pixelutils.o \
  111. random_seed.o \
  112. rational.o \
  113. rc4.o \
  114. ripemd.o \
  115. samplefmt.o \
  116. sha.o \
  117. sha512.o \
  118. stereo3d.o \
  119. threadmessage.o \
  120. time.o \
  121. timecode.o \
  122. tree.o \
  123. utils.o \
  124. xga_font_data.o \
  125. xtea.o \
  126. OBJS-$(CONFIG_LZO) += lzo.o
  127. OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
  128. OBJS += $(COMPAT_OBJS:%=../compat/%)
  129. # Windows resource file
  130. SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
  131. SKIPHEADERS = old_pix_fmts.h
  132. SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
  133. SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
  134. SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
  135. SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
  136. TESTPROGS = adler32 \
  137. aes \
  138. atomic \
  139. avstring \
  140. base64 \
  141. blowfish \
  142. bprint \
  143. cpu \
  144. crc \
  145. des \
  146. error \
  147. eval \
  148. file \
  149. fifo \
  150. float_dsp \
  151. hmac \
  152. lfg \
  153. lls \
  154. log \
  155. md5 \
  156. murmur3 \
  157. opt \
  158. pca \
  159. parseutils \
  160. pixdesc \
  161. pixelutils \
  162. random_seed \
  163. rational \
  164. ripemd \
  165. sha \
  166. sha512 \
  167. tree \
  168. utf8 \
  169. xtea \
  170. TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
  171. TOOLS = crypto_bench ffhash ffeval ffescape
  172. tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
  173. tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
  174. $(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2