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