mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
a3dd3d0f9e
older versions of automake (1.9) it seems would install the headers regardless of the fact that the library was marked noinst_ this change follows some of the header guidance found here: http://www.gnu.org/software/automake/manual/automake.html#Headers Change-Id: I80acc00935097ebf36004e9871574fb9ef09aabf
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
AM_CPPFLAGS = -I$(top_srcdir)/src
|
|
|
|
bin_PROGRAMS = dwebp cwebp
|
|
if WANT_MUX
|
|
bin_PROGRAMS += webpmux
|
|
endif
|
|
|
|
if BUILD_GIF2WEBP
|
|
bin_PROGRAMS += gif2webp
|
|
endif
|
|
|
|
noinst_LTLIBRARIES = libexampleutil.la
|
|
|
|
libexampleutil_la_SOURCES = example_util.c example_util.h
|
|
|
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
|
dwebp_LDADD = libexampleutil.la $(PNG_LIBS) $(JPEG_LIBS)
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
dwebp_LDADD += ../src/libwebpdecoder.la
|
|
else
|
|
dwebp_LDADD += ../src/libwebp.la
|
|
endif
|
|
|
|
cwebp_SOURCES = cwebp.c metadata.c metadata.h stopwatch.h
|
|
cwebp_SOURCES += jpegdec.c jpegdec.h
|
|
cwebp_SOURCES += pngdec.c pngdec.h
|
|
cwebp_SOURCES += tiffdec.c tiffdec.h
|
|
cwebp_SOURCES += wicdec.c wicdec.h
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
cwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES) $(TIFF_INCLUDES)
|
|
cwebp_LDADD = ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
|
|
|
gif2webp_SOURCES = gif2webp.c
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
|
gif2webp_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|
|
gif2webp_LDADD += $(GIF_LIBS)
|
|
|
|
webpmux_SOURCES = webpmux.c
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
webpmux_LDADD = libexampleutil.la ../src/mux/libwebpmux.la ../src/libwebp.la
|