• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
2AM_CPPFLAGS += -I$(top_builddir)/src -I$(top_srcdir)/src
3noinst_LTLIBRARIES = libwebpextras.la
4
5noinst_HEADERS =
6noinst_HEADERS += ../src/webp/types.h
7
8libwebpextras_la_SOURCES =
9libwebpextras_la_SOURCES += extras.c extras.h quality_estimate.c
10
11libwebpextras_la_CPPFLAGS = $(AM_CPPFLAGS)
12libwebpextras_la_LDFLAGS = -lm
13libwebpextras_la_LIBADD = ../src/libwebp.la
14
15noinst_PROGRAMS =
16noinst_PROGRAMS += webp_quality
17if BUILD_DEMUX
18  noinst_PROGRAMS += get_disto
19endif
20if BUILD_VWEBP_SDL
21  noinst_PROGRAMS += vwebp_sdl
22endif
23
24get_disto_SOURCES  = get_disto.c
25get_disto_CPPFLAGS = $(AM_CPPFLAGS)
26get_disto_LDADD =
27get_disto_LDADD += ../imageio/libimageio_util.la
28get_disto_LDADD += ../imageio/libimagedec.la
29get_disto_LDADD += ../src/libwebp.la
30get_disto_LDADD += $(PNG_LIBS) $(JPEG_LIBS) $(TIFF_LIBS)
31
32webp_quality_SOURCES  = webp_quality.c
33webp_quality_CPPFLAGS = $(AM_CPPFLAGS)
34webp_quality_LDADD =
35webp_quality_LDADD += ../imageio/libimageio_util.la
36webp_quality_LDADD += libwebpextras.la
37webp_quality_LDADD += ../src/libwebp.la
38
39vwebp_sdl_SOURCES  = vwebp_sdl.c webp_to_sdl.c webp_to_sdl.h
40vwebp_sdl_CPPFLAGS = $(AM_CPPFLAGS) $(SDL_INCLUDES)
41vwebp_sdl_LDADD =
42vwebp_sdl_LDADD += ../imageio/libimageio_util.la
43vwebp_sdl_LDADD += ../src/libwebp.la
44vwebp_sdl_LDADD += $(SDL_LIBS)
45