|
Packit |
9c6abc |
# The mux and demux libraries depend on libwebp, thus the '.' to force
|
|
Packit |
9c6abc |
# the build order so it's available to them.
|
|
Packit |
9c6abc |
SUBDIRS = dec enc dsp utils .
|
|
Packit |
9c6abc |
if WANT_MUX
|
|
Packit |
9c6abc |
SUBDIRS += mux
|
|
Packit |
9c6abc |
endif
|
|
Packit |
9c6abc |
if WANT_DEMUX
|
|
Packit |
9c6abc |
SUBDIRS += demux
|
|
Packit |
9c6abc |
endif
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
lib_LTLIBRARIES = libwebp.la
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
if BUILD_LIBWEBPDECODER
|
|
Packit |
9c6abc |
lib_LTLIBRARIES += libwebpdecoder.la
|
|
Packit |
9c6abc |
endif
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
common_HEADERS =
|
|
Packit |
9c6abc |
common_HEADERS += webp/decode.h
|
|
Packit |
9c6abc |
common_HEADERS += webp/types.h
|
|
Packit |
9c6abc |
commondir = $(includedir)/webp
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
libwebp_la_SOURCES =
|
|
Packit |
9c6abc |
libwebpinclude_HEADERS =
|
|
Packit |
9c6abc |
libwebpinclude_HEADERS += webp/encode.h
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
noinst_HEADERS =
|
|
Packit |
9c6abc |
noinst_HEADERS += webp/format_constants.h
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
libwebp_la_LIBADD =
|
|
Packit |
9c6abc |
libwebp_la_LIBADD += dec/libwebpdecode.la
|
|
Packit |
9c6abc |
libwebp_la_LIBADD += dsp/libwebpdsp.la
|
|
Packit |
9c6abc |
libwebp_la_LIBADD += enc/libwebpencode.la
|
|
Packit |
9c6abc |
libwebp_la_LIBADD += utils/libwebputils.la
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
# Use '-no-undefined' to declare that libwebp does not depend on any libraries
|
|
Packit |
9c6abc |
# other than the ones listed on the command line, i.e., after linking, it will
|
|
Packit |
9c6abc |
# not have unresolved symbols. Some platforms (Windows among them) require all
|
|
Packit |
9c6abc |
# symbols in shared libraries to be resolved at library creation.
|
|
Packit |
9c6abc |
libwebp_la_LDFLAGS = -no-undefined -version-info 7:2:0
|
|
Packit |
9c6abc |
libwebpincludedir = $(includedir)/webp
|
|
Packit |
9c6abc |
pkgconfig_DATA = libwebp.pc
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
if BUILD_LIBWEBPDECODER
|
|
Packit |
9c6abc |
libwebpdecoder_la_SOURCES =
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
libwebpdecoder_la_LIBADD =
|
|
Packit |
9c6abc |
libwebpdecoder_la_LIBADD += dec/libwebpdecode.la
|
|
Packit |
9c6abc |
libwebpdecoder_la_LIBADD += dsp/libwebpdspdecode.la
|
|
Packit |
9c6abc |
libwebpdecoder_la_LIBADD += utils/libwebputilsdecode.la
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 3:2:0
|
|
Packit |
9c6abc |
pkgconfig_DATA += libwebpdecoder.pc
|
|
Packit |
9c6abc |
endif
|
|
Packit |
9c6abc |
|
|
Packit |
9c6abc |
${pkgconfig_DATA}: ${top_builddir}/config.status
|