makefile.unix: normalize image decode lib name

libexample_dec -> libimagedec

+ add it to OUT_LIBS so it can be removed by the clean target

Change-Id: I3ef4711e261ead2e5d437182ad3b495ae3da7cbc
This commit is contained in:
James Zern 2016-07-20 11:39:20 -07:00
parent ed34c39bfc
commit 259f0434a5

View File

@ -306,7 +306,8 @@ HDRS = \
src/webp/format_constants.h \
$(HDRS_INSTALLED) \
OUT_LIBS = imageio/libexample_util.a src/libwebpdecoder.a src/libwebp.a
OUT_LIBS = imageio/libexample_util.a imageio/libimagedec.a src/libwebpdecoder.a
OUT_LIBS += src/libwebp.a
EXTRA_LIB = extras/libwebpextras.a
OUT_EXAMPLES = examples/cwebp examples/dwebp
EXTRA_EXAMPLES = examples/gif2webp examples/vwebp examples/webpmux \
@ -339,8 +340,8 @@ src/utils/bit_writer.o: src/utils/endian_inl.h
examples/libanim_util.a: $(ANIM_UTIL_OBJS)
examples/libgifdec.a: $(GIFDEC_OBJS)
extras/libwebpextras.a: $(LIBWEBPEXTRA_OBJS)
imageio/libexample_dec.a: $(EX_FORMAT_DEC_OBJS)
imageio/libexample_util.a: $(EX_UTIL_OBJS)
imageio/libimagedec.a: $(EX_FORMAT_DEC_OBJS)
src/libwebpdecoder.a: $(LIBWEBPDECODER_OBJS)
src/libwebp.a: $(LIBWEBP_OBJS)
src/mux/libwebpmux.a: $(LIBWEBPMUX_OBJS)
@ -361,7 +362,7 @@ examples/anim_diff: src/demux/libwebpdemux.a imageio/libexample_util.a
examples/anim_diff: src/libwebp.a
examples/anim_diff: EXTRA_LIBS += $(GIF_LIBS)
examples/anim_diff: EXTRA_FLAGS += -DWEBP_HAVE_GIF
examples/cwebp: imageio/libexample_util.a imageio/libexample_dec.a
examples/cwebp: imageio/libexample_util.a imageio/libimagedec.a
examples/cwebp: src/libwebp.a
examples/cwebp: EXTRA_LIBS += $(CWEBP_LIBS)
examples/dwebp: imageio/libexample_util.a src/libwebpdecoder.a