2012-04-24 03:46:12 +02:00
|
|
|
SUBDIRS = dec enc dsp utils
|
2013-01-23 01:22:20 +01:00
|
|
|
|
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
|
|
|
|
|
2011-02-19 08:33:46 +01:00
|
|
|
libwebp_la_SOURCES =
|
2012-04-13 00:51:30 +02:00
|
|
|
libwebpinclude_HEADERS =
|
|
|
|
libwebpinclude_HEADERS += webp/decode.h
|
|
|
|
libwebpinclude_HEADERS += webp/encode.h
|
|
|
|
libwebpinclude_HEADERS += webp/types.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.
|
2012-10-30 03:17:17 +01:00
|
|
|
libwebp_la_LDFLAGS = -no-undefined -version-info 4:1:0
|
2011-02-19 08:33:46 +01:00
|
|
|
libwebpincludedir = $(includedir)/webp
|
2011-03-26 18:15:44 +01:00
|
|
|
|
2013-01-23 01:22:20 +01:00
|
|
|
if BUILD_LIBWEBPDECODER
|
|
|
|
libwebpdecoder_la_SOURCES =
|
|
|
|
libwebpdecoderinclude_HEADERS =
|
|
|
|
libwebpdecoderinclude_HEADERS += webp/decode.h
|
|
|
|
libwebpdecoderinclude_HEADERS += webp/types.h
|
|
|
|
|
|
|
|
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 4:1:0
|
|
|
|
libwebpdecoderincludedir = $(includedir)/webp
|
|
|
|
endif
|
|
|
|
|
2011-03-26 18:15:44 +01:00
|
|
|
pkgconfig_DATA = libwebp.pc
|
|
|
|
${pkgconfig_DATA}: ${top_builddir}/config.status
|