2016-07-19 15:23:08 -07:00
|
|
|
# The mux and demux libraries depend on libwebp, thus the '.' to force
|
2015-03-05 23:48:46 -08:00
|
|
|
# the build order so it's available to them.
|
2013-03-05 16:22:18 -08:00
|
|
|
SUBDIRS = dec enc dsp utils .
|
2018-06-02 10:41:49 -07:00
|
|
|
if BUILD_MUX
|
2012-04-23 18:46:12 -07:00
|
|
|
SUBDIRS += mux
|
|
|
|
endif
|
2018-06-02 10:41:49 -07:00
|
|
|
if BUILD_DEMUX
|
2012-11-19 11:21:37 -08:00
|
|
|
SUBDIRS += demux
|
|
|
|
endif
|
2011-02-18 23:33:46 -08:00
|
|
|
|
|
|
|
lib_LTLIBRARIES = libwebp.la
|
|
|
|
|
2013-01-22 16:22:20 -08:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
lib_LTLIBRARIES += libwebpdecoder.la
|
|
|
|
endif
|
|
|
|
|
2013-03-16 13:29:49 -07:00
|
|
|
common_HEADERS =
|
|
|
|
common_HEADERS += webp/decode.h
|
|
|
|
common_HEADERS += webp/types.h
|
|
|
|
commondir = $(includedir)/webp
|
|
|
|
|
2011-02-18 23:33:46 -08:00
|
|
|
libwebp_la_SOURCES =
|
2012-04-12 15:51:30 -07:00
|
|
|
libwebpinclude_HEADERS =
|
|
|
|
libwebpinclude_HEADERS += webp/encode.h
|
2017-08-28 22:54:49 -07:00
|
|
|
|
2012-07-13 20:36:14 -07:00
|
|
|
noinst_HEADERS =
|
|
|
|
noinst_HEADERS += webp/format_constants.h
|
2012-04-12 15:51:30 -07: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-08 22:21:10 -07: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.
|
2018-04-02 15:16:11 -07:00
|
|
|
libwebp_la_LDFLAGS = -no-undefined -version-info 7:2:0
|
2011-02-18 23:33:46 -08:00
|
|
|
libwebpincludedir = $(includedir)/webp
|
2013-01-23 13:57:08 -08:00
|
|
|
pkgconfig_DATA = libwebp.pc
|
2011-03-26 10:15:44 -07:00
|
|
|
|
2013-01-22 16:22:20 -08: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
|
|
|
|
|
2018-04-02 15:16:11 -07:00
|
|
|
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 3:2:0
|
2013-01-23 13:57:08 -08:00
|
|
|
pkgconfig_DATA += libwebpdecoder.pc
|
2013-01-22 16:22:20 -08:00
|
|
|
endif
|
|
|
|
|
2011-03-26 10:15:44 -07:00
|
|
|
${pkgconfig_DATA}: ${top_builddir}/config.status
|