2011-06-26 09:46:05 +02:00
|
|
|
include $(SUBDIR)../config.mak
|
|
|
|
|
2008-03-08 14:39:43 +00:00
|
|
|
NAME = avutil
|
|
|
|
|
2008-11-20 22:53:18 +00:00
|
|
|
HEADERS = adler32.h \
|
2011-04-07 10:19:23 -03:00
|
|
|
aes.h \
|
2010-03-08 21:28:56 +00:00
|
|
|
attributes.h \
|
2012-03-23 17:45:48 -04:00
|
|
|
audio_fifo.h \
|
2011-02-07 14:37:08 +01:00
|
|
|
audioconvert.h \
|
2010-10-01 13:55:13 +00:00
|
|
|
avassert.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
avstring.h \
|
|
|
|
avutil.h \
|
|
|
|
base64.h \
|
2012-07-03 15:45:27 +02:00
|
|
|
blowfish.h \
|
2012-02-01 20:37:50 +01:00
|
|
|
bprint.h \
|
2010-07-10 22:22:07 +00:00
|
|
|
bswap.h \
|
2012-10-07 15:45:44 +02:00
|
|
|
buffer.h \
|
2012-11-10 09:03:17 -05:00
|
|
|
channel_layout.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
common.h \
|
2010-09-04 09:59:08 +00:00
|
|
|
cpu.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
crc.h \
|
2014-02-15 17:12:22 +00:00
|
|
|
downmix_info.h \
|
2010-03-13 09:43:24 +00:00
|
|
|
error.h \
|
2010-06-05 12:01:28 +00:00
|
|
|
eval.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
fifo.h \
|
2010-12-22 14:13:04 +00:00
|
|
|
file.h \
|
2012-10-17 11:51:01 +02:00
|
|
|
frame.h \
|
2012-10-12 15:01:06 +03:00
|
|
|
hmac.h \
|
2011-02-07 14:37:08 +01:00
|
|
|
imgutils.h \
|
2012-01-29 20:09:22 +00:00
|
|
|
intfloat.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
intfloat_readwrite.h \
|
2010-07-10 22:22:07 +00:00
|
|
|
intreadwrite.h \
|
2010-07-02 12:12:06 +00:00
|
|
|
lfg.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
log.h \
|
2013-12-27 02:57:48 +01:00
|
|
|
macros.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
mathematics.h \
|
|
|
|
md5.h \
|
|
|
|
mem.h \
|
2013-05-09 14:34:46 +02:00
|
|
|
murmur3.h \
|
2011-05-22 12:45:00 +02:00
|
|
|
dict.h \
|
2012-10-08 08:10:23 +02:00
|
|
|
old_pix_fmts.h \
|
2010-10-08 23:42:25 +00:00
|
|
|
opt.h \
|
2011-02-07 14:37:08 +01:00
|
|
|
parseutils.h \
|
2009-11-24 23:33:41 +00:00
|
|
|
pixdesc.h \
|
2009-02-22 14:27:50 +00:00
|
|
|
pixfmt.h \
|
2010-05-23 08:53:40 +00:00
|
|
|
random_seed.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
rational.h \
|
2013-06-15 14:04:19 -03:00
|
|
|
ripemd.h \
|
2011-02-07 14:37:08 +01:00
|
|
|
samplefmt.h \
|
2011-04-07 10:19:23 -03:00
|
|
|
sha.h \
|
2013-05-30 04:56:29 -03:00
|
|
|
sha512.h \
|
2013-11-28 14:47:13 +01:00
|
|
|
stereo3d.h \
|
2012-06-20 01:24:39 +01:00
|
|
|
time.h \
|
2012-01-16 11:20:46 +01:00
|
|
|
timecode.h \
|
2012-01-17 17:12:42 +01:00
|
|
|
timestamp.h \
|
2012-07-05 08:21:49 +02:00
|
|
|
version.h \
|
2012-07-03 15:53:16 +02:00
|
|
|
xtea.h \
|
2008-11-20 22:53:18 +00:00
|
|
|
|
2012-10-18 19:48:27 +02:00
|
|
|
HEADERS-$(CONFIG_LZO) += lzo.h
|
|
|
|
|
2013-04-01 17:46:11 +08:00
|
|
|
HEADERS-$(CONFIG_OPENCL) += opencl.h
|
|
|
|
|
2012-04-14 13:05:08 +02:00
|
|
|
ARCH_HEADERS = bswap.h \
|
|
|
|
intmath.h \
|
|
|
|
intreadwrite.h \
|
|
|
|
timer.h \
|
|
|
|
|
2013-11-28 16:29:41 -08:00
|
|
|
BUILT_HEADERS = avconfig.h \
|
|
|
|
ffversion.h
|
2010-01-19 04:40:16 +00:00
|
|
|
|
2008-10-26 15:21:45 +00:00
|
|
|
OBJS = adler32.o \
|
|
|
|
aes.o \
|
2012-12-02 14:34:50 -08:00
|
|
|
atomic.o \
|
2012-03-23 17:45:48 -04:00
|
|
|
audio_fifo.o \
|
2009-01-29 22:12:36 +00:00
|
|
|
avstring.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
base64.o \
|
2012-07-03 15:45:27 +02:00
|
|
|
blowfish.o \
|
2012-02-01 20:37:50 +01:00
|
|
|
bprint.o \
|
2012-10-07 15:45:44 +02:00
|
|
|
buffer.o \
|
2012-11-10 09:03:17 -05:00
|
|
|
channel_layout.o \
|
2010-09-08 15:07:14 +00:00
|
|
|
cpu.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
crc.o \
|
|
|
|
des.o \
|
2014-02-15 17:12:22 +00:00
|
|
|
downmix_info.o \
|
2010-03-25 22:46:35 +00:00
|
|
|
error.o \
|
2010-06-05 12:01:28 +00:00
|
|
|
eval.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
fifo.o \
|
2010-12-22 14:13:04 +00:00
|
|
|
file.o \
|
2013-08-09 10:58:15 +03:00
|
|
|
file_open.o \
|
2012-05-21 12:58:41 -04:00
|
|
|
float_dsp.o \
|
2012-10-17 11:51:01 +02:00
|
|
|
frame.o \
|
2013-05-09 18:10:47 +02:00
|
|
|
hash.o \
|
2012-10-12 15:01:06 +03:00
|
|
|
hmac.o \
|
2011-02-07 14:37:08 +01:00
|
|
|
imgutils.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
intfloat_readwrite.o \
|
2012-10-26 14:48:40 -04:00
|
|
|
intmath.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
lfg.o \
|
2013-11-15 23:32:51 +01:00
|
|
|
lls1.o \
|
2013-11-15 22:35:46 +01:00
|
|
|
lls2.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
log.o \
|
2012-10-04 21:12:32 +02:00
|
|
|
log2_tab.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
mathematics.o \
|
|
|
|
md5.o \
|
|
|
|
mem.o \
|
2013-05-09 14:34:46 +02:00
|
|
|
murmur3.o \
|
2011-05-22 12:45:00 +02:00
|
|
|
dict.o \
|
2010-09-26 14:25:22 +00:00
|
|
|
opt.o \
|
2011-02-07 14:37:08 +01:00
|
|
|
parseutils.o \
|
2009-11-24 23:33:41 +00:00
|
|
|
pixdesc.o \
|
2009-03-08 01:28:14 +00:00
|
|
|
random_seed.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
rational.o \
|
|
|
|
rc4.o \
|
2013-06-15 14:04:19 -03:00
|
|
|
ripemd.o \
|
2011-02-07 14:37:08 +01:00
|
|
|
samplefmt.o \
|
2009-07-10 15:50:49 +00:00
|
|
|
sha.o \
|
2013-05-30 04:56:29 -03:00
|
|
|
sha512.o \
|
2013-11-28 14:47:13 +01:00
|
|
|
stereo3d.o \
|
2012-06-20 01:24:39 +01:00
|
|
|
time.o \
|
2012-01-16 11:20:46 +01:00
|
|
|
timecode.o \
|
2008-10-26 15:21:45 +00:00
|
|
|
tree.o \
|
|
|
|
utils.o \
|
2012-09-22 09:56:33 +02:00
|
|
|
xga_font_data.o \
|
2012-07-03 15:53:16 +02:00
|
|
|
xtea.o \
|
2007-02-28 03:40:23 +00:00
|
|
|
|
2012-10-18 19:48:27 +02:00
|
|
|
OBJS-$(CONFIG_LZO) += lzo.o
|
2013-04-25 19:28:40 +08:00
|
|
|
OBJS-$(CONFIG_OPENCL) += opencl.o opencl_internal.o
|
2012-09-24 18:44:20 -04:00
|
|
|
|
2012-10-14 17:56:00 +01:00
|
|
|
OBJS += $(COMPAT_OBJS:%=../compat/%)
|
2012-09-04 14:30:37 +01:00
|
|
|
|
2013-12-05 17:50:14 -03:00
|
|
|
# Windows resource file
|
|
|
|
SLIBOBJS-$(HAVE_GNU_WINDRES) += avutilres.o
|
|
|
|
|
2012-10-08 12:09:16 +02:00
|
|
|
SKIPHEADERS = old_pix_fmts.h
|
|
|
|
|
2013-04-06 19:04:56 +02:00
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_GCC) += atomic_gcc.h
|
2013-03-27 19:26:19 +01:00
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_SUNCC) += atomic_suncc.h
|
|
|
|
SKIPHEADERS-$(HAVE_ATOMICS_WIN32) += atomic_win32.h
|
2013-04-03 15:28:29 +02:00
|
|
|
SKIPHEADERS-$(CONFIG_OPENCL) += opencl.h
|
2013-03-08 15:31:54 +02:00
|
|
|
|
2012-04-14 13:05:08 +02:00
|
|
|
TESTPROGS = adler32 \
|
|
|
|
aes \
|
2012-12-02 14:34:50 -08:00
|
|
|
atomic \
|
2012-04-14 13:05:08 +02:00
|
|
|
avstring \
|
|
|
|
base64 \
|
2012-07-03 15:45:27 +02:00
|
|
|
blowfish \
|
2012-05-07 22:42:41 +02:00
|
|
|
bprint \
|
2012-04-14 13:05:08 +02:00
|
|
|
cpu \
|
|
|
|
crc \
|
|
|
|
des \
|
2012-02-06 14:16:33 +01:00
|
|
|
error \
|
2012-04-14 13:05:08 +02:00
|
|
|
eval \
|
2012-05-07 22:42:41 +02:00
|
|
|
file \
|
2012-04-14 13:05:08 +02:00
|
|
|
fifo \
|
2014-03-03 19:15:35 +01:00
|
|
|
float_dsp \
|
2013-01-15 13:05:12 +02:00
|
|
|
hmac \
|
2012-04-14 13:05:08 +02:00
|
|
|
lfg \
|
2013-11-15 23:32:51 +01:00
|
|
|
lls1 \
|
2013-11-15 22:35:46 +01:00
|
|
|
lls2 \
|
2012-04-14 13:05:08 +02:00
|
|
|
md5 \
|
2013-05-09 14:34:46 +02:00
|
|
|
murmur3 \
|
2012-04-14 13:05:08 +02:00
|
|
|
opt \
|
2012-05-07 22:42:41 +02:00
|
|
|
pca \
|
2012-04-14 13:05:08 +02:00
|
|
|
parseutils \
|
2012-05-07 22:42:41 +02:00
|
|
|
random_seed \
|
|
|
|
rational \
|
2013-06-15 14:04:19 -03:00
|
|
|
ripemd \
|
2012-04-14 13:05:08 +02:00
|
|
|
sha \
|
2013-05-30 04:56:29 -03:00
|
|
|
sha512 \
|
2012-04-14 13:05:08 +02:00
|
|
|
tree \
|
2013-10-03 01:21:40 +02:00
|
|
|
utf8 \
|
2012-07-03 15:53:16 +02:00
|
|
|
xtea \
|
2012-05-07 22:42:41 +02:00
|
|
|
|
2009-04-09 14:55:05 +00:00
|
|
|
TESTPROGS-$(HAVE_LZO1X_999_COMPRESS) += lzo
|
2008-01-27 22:39:30 +00:00
|
|
|
|
2013-05-16 20:10:11 +02:00
|
|
|
TOOLS = crypto_bench ffhash ffeval ffescape
|
|
|
|
|
|
|
|
tools/crypto_bench$(EXESUF): ELIBS += $(if $(VERSUS),$(subst +, -l,+$(VERSUS)),)
|
|
|
|
tools/crypto_bench$(EXESUF): CFLAGS += -DUSE_EXT_LIBS=0$(if $(VERSUS),$(subst +,+USE_,+$(VERSUS)),)
|
2012-01-15 23:05:07 +01:00
|
|
|
|
2009-04-02 22:41:58 +00:00
|
|
|
$(SUBDIR)lzo-test$(EXESUF): ELIBS = -llzo2
|