mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
36c42ea415
libwebp{,decoder} - 0.6.0 libwebp libtool - 7.0.0 libwebpdecoder libtool - 3.0.0 mux - 0.4.0 libtool - 3.0.0 demux - 0.3.2 libtool - 2.2.0 Change-Id: Ie46dc70df1e283df0ccef6eb07c5694feb4d4a2b
55 lines
1.6 KiB
Makefile
55 lines
1.6 KiB
Makefile
# 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 .
|
|
if WANT_MUX
|
|
SUBDIRS += mux
|
|
endif
|
|
if WANT_DEMUX
|
|
SUBDIRS += demux
|
|
endif
|
|
|
|
lib_LTLIBRARIES = libwebp.la
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
lib_LTLIBRARIES += libwebpdecoder.la
|
|
endif
|
|
|
|
common_HEADERS =
|
|
common_HEADERS += webp/decode.h
|
|
common_HEADERS += webp/types.h
|
|
commondir = $(includedir)/webp
|
|
|
|
libwebp_la_SOURCES =
|
|
libwebpinclude_HEADERS =
|
|
libwebpinclude_HEADERS += webp/encode.h
|
|
noinst_HEADERS =
|
|
noinst_HEADERS += webp/format_constants.h
|
|
|
|
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
|
|
|
|
# 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.
|
|
libwebp_la_LDFLAGS = -no-undefined -version-info 7:0:0
|
|
libwebpincludedir = $(includedir)/webp
|
|
pkgconfig_DATA = libwebp.pc
|
|
|
|
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
|
|
|
|
libwebpdecoder_la_LDFLAGS = -no-undefined -version-info 3:0:0
|
|
pkgconfig_DATA += libwebpdecoder.pc
|
|
endif
|
|
|
|
${pkgconfig_DATA}: ${top_builddir}/config.status
|