2013-03-06 01:22:18 +01:00
|
|
|
# The mux and demux libraries depend on libwebp, thus the '.' to force the
|
|
|
|
# build order so it's available to them.
|
|
|
|
SUBDIRS = dec enc dsp utils .
|
2012-04-24 03:46:12 +02:00
|
|
|
if WANT_MUX
|
|
|
|
SUBDIRS += mux
|
|
|
|
endif
|
2012-11-19 20:21:37 +01:00
|
|
|
if WANT_DEMUX
|
|
|
|
SUBDIRS += demux
|
|
|
|
endif
|
2011-02-19 08:33:46 +01:00
|
|
|
|
2011-03-15 23:25:49 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/src
|
2011-02-19 08:33:46 +01:00
|
|
|
lib_LTLIBRARIES = libwebp.la
|
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
lib_LTLIBRARIES += libwebpdecoder.la
|
|
|
|
endif
|
|
|
|
|
2013-03-16 21:29:49 +01:00
|
|
|
common_HEADERS =
|
|
|
|
common_HEADERS += webp/decode.h
|
|
|
|
common_HEADERS += webp/types.h
|
|
|
|
commondir = $(includedir)/webp
|
|
|
|
|
2011-02-19 08:33:46 +01:00
|
|
|
libwebp_la_SOURCES =
|
2012-04-13 00:51:30 +02:00
|
|
|
libwebpinclude_HEADERS =
|
|
|
|
libwebpinclude_HEADERS += webp/encode.h
|
2012-07-14 05:36:14 +02:00
|
|
|
noinst_HEADERS =
|
|
|
|
noinst_HEADERS += webp/format_constants.h
|
2012-04-13 00:51:30 +02:00
|
|
|
|
|
|
|
libwebp_la_LIBADD =
|
|
|
|
libwebp_la_LIBADD += dec/libwebpdecode.la
|
|
|
|
libwebp_la_LIBADD += dsp/libwebpdsp.la
|
|
|
|
libwebp_la_LIBADD += enc/libwebpencode.la
|
|
|
|
libwebp_la_LIBADD += utils/libwebputils.la
|
|
|
|
|
2012-10-09 07:21:10 +02:00
|
|
|
# Use '-no-undefined' to declare that libwebp does not depend on any libraries
|
|
|
|
# other than the ones listed on the command line, i.e., after linking, it will
|
|
|
|
# not have unresolved symbols. Some platforms (Windows among them) require all
|
|
|
|
# symbols in shared libraries to be resolved at library creation.
|
2013-12-19 04:20:00 +01:00
|
|
|
libwebp_la_LDFLAGS = -no-undefined -version-info 5:0:0
|
2011-02-19 08:33:46 +01:00
|
|
|
libwebpincludedir = $(includedir)/webp
|
2013-01-23 22:57:08 +01:00
|
|
|
pkgconfig_DATA = libwebp.pc
|
2011-03-26 18:15:44 +01:00
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
libwebpdecoder_la_SOURCES =
|
|
|
|
|
|
|
|
libwebpdecoder_la_LIBADD =
|
|
|
|
libwebpdecoder_la_LIBADD += dec/libwebpdecode.la
|
|
|
|
libwebpdecoder_la_LIBADD += dsp/libwebpdspdecode.la
|
|
|
|
libwebpdecoder_la_LIBADD += utils/libwebputilsdecode.la
|
|
|
|
|
2013-12-19 04:20:00 +01:00
|
|
|
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 1:0:0
|
2013-01-23 22:57:08 +01:00
|
|
|
pkgconfig_DATA += libwebpdecoder.pc
|
2013-01-23 01:22:20 +01:00
|
|
|
endif
|
|
|
|
|
2011-03-26 18:15:44 +01:00
|
|
|
${pkgconfig_DATA}: ${top_builddir}/config.status
|