mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-28 06:38:20 +01:00
c379b55a93
Change-Id: I2508c786a095a2a75bebf766210c64e2af88f9b6
59 lines
1.9 KiB
Makefile
59 lines
1.9 KiB
Makefile
AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src
|
|
|
|
bin_PROGRAMS = dwebp cwebp
|
|
if BUILD_VWEBP
|
|
bin_PROGRAMS += vwebp
|
|
endif
|
|
if WANT_MUX
|
|
bin_PROGRAMS += webpmux
|
|
endif
|
|
|
|
if BUILD_GIF2WEBP
|
|
bin_PROGRAMS += gif2webp
|
|
endif
|
|
|
|
if BUILD_ANIMDIFF
|
|
noinst_PROGRAMS = anim_diff
|
|
endif
|
|
|
|
anim_diff_SOURCES = anim_diff.c anim_util.c anim_util.h
|
|
anim_diff_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
|
anim_diff_LDADD = ../src/demux/libwebpdemux.la
|
|
anim_diff_LDADD += ../imageio/libexample_util.la
|
|
anim_diff_LDADD += $(GIF_LIBS) -lm
|
|
|
|
dwebp_SOURCES = dwebp.c stopwatch.h
|
|
dwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
dwebp_CPPFLAGS += $(JPEG_INCLUDES) $(PNG_INCLUDES)
|
|
dwebp_LDADD = ../imageio/libexample_util.la $(PNG_LIBS) $(JPEG_LIBS)
|
|
|
|
cwebp_SOURCES = cwebp.c stopwatch.h
|
|
cwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
cwebp_LDADD = ../imageio/libexample_util.la ../imageio/libimagedec.la
|
|
cwebp_LDADD += ../src/libwebp.la $(JPEG_LIBS) $(PNG_LIBS) $(TIFF_LIBS)
|
|
|
|
gif2webp_SOURCES = gif2webp.c gifdec.c gifdec.h
|
|
gif2webp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GIF_INCLUDES)
|
|
gif2webp_LDADD = ../imageio/libexample_util.la ../src/mux/libwebpmux.la
|
|
gif2webp_LDADD += ../src/libwebp.la $(GIF_LIBS)
|
|
|
|
webpmux_SOURCES = webpmux.c
|
|
webpmux_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE)
|
|
webpmux_LDADD = ../imageio/libexample_util.la ../src/mux/libwebpmux.la
|
|
webpmux_LDADD += ../src/libwebp.la
|
|
|
|
vwebp_SOURCES = vwebp.c
|
|
vwebp_CPPFLAGS = $(AM_CPPFLAGS) $(USE_EXPERIMENTAL_CODE) $(GL_INCLUDES)
|
|
vwebp_LDADD = ../imageio/libexample_util.la ../src/demux/libwebpdemux.la
|
|
vwebp_LDADD += $(GL_LIBS)
|
|
|
|
if BUILD_LIBWEBPDECODER
|
|
anim_diff_LDADD += ../src/libwebpdecoder.la
|
|
dwebp_LDADD += ../src/libwebpdecoder.la
|
|
vwebp_LDADD += ../src/libwebpdecoder.la
|
|
else
|
|
anim_diff_LDADD += ../src/libwebp.la
|
|
dwebp_LDADD += ../src/libwebp.la
|
|
vwebp_LDADD += ../src/libwebp.la
|
|
endif
|