Makefile 12 KB

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