image/decoders/Makefile.in
author Ed Morley <emorley@mozilla.com>
Mon, 13 May 2013 10:05:49 +0100
changeset 143241 0db9c45c8bde2a553cf4f8bcb62707ad359838c0
parent 143228 496846474ed30201430d5c9b360c8a6956684d16
child 144532 6e45e9f62d2171419a8d8780ad4779ff0488ccb5
permissions -rw-r--r--
Backed out changeset 496846474ed3 (bug 864774)

#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

DEPTH		= @DEPTH@
topsrcdir	= @top_srcdir@
srcdir		= @srcdir@
VPATH		= @srcdir@

include $(DEPTH)/config/autoconf.mk

LIBRARY_NAME = imgdecoders_s
FORCE_STATIC_LIB = 1
MODULE_NAME = nsDecodersModule
LIBXUL_LIBRARY  = 1
FAIL_ON_WARNINGS = 1


CPPSRCS = nsPNGDecoder.cpp nsJPEGDecoder.cpp nsGIFDecoder2.cpp \
          nsBMPDecoder.cpp nsICODecoder.cpp nsIconDecoder.cpp \
          $(NULL)

ifdef MOZ_WBMP
CPPSRCS += nsWBMPDecoder.cpp
endif

CSRCS   = iccjpeg.c \
          $(NULL)

# Decoders need RasterImage.h
LOCAL_INCLUDES += -I$(topsrcdir)/image/src/

# PNG read/write stuff
DEFINES		+= -DMOZ_PNG_WRITE \
	-DMOZ_PNG_READ \
	$(NULL)

include $(topsrcdir)/config/rules.mk