image/src/Makefile.in
author Ed Morley <emorley@mozilla.com>
Tue, 30 Oct 2012 17:02:31 +0000
changeset 120431 ad1d720d82b7f84d3c7e50f4b02b7c3201662ddb
parent 119201 df7e936ddfd3d3af7b36cb43bb0447dc232e1c24
child 126009 82077de3f9bc573f09268bfcc01f7dcc7f63ac5d
permissions -rw-r--r--
Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE

#
# 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

MODULE		= imglib2
LIBRARY_NAME	= imglib2_s
FORCE_STATIC_LIB = 1
MODULE_NAME	= nsImageLib2Module
GRE_MODULE	= 1
LIBXUL_LIBRARY  = 1
FAIL_ON_WARNINGS = 1


EXPORTS		=  imgLoader.h \
		   imgRequest.h \
		   $(NULL)

CPPSRCS		= \
			Image.cpp \
			Decoder.cpp \
			DiscardTracker.cpp \
			RasterImage.cpp \
			ScriptedNotificationObserver.cpp \
			SVGDocumentWrapper.cpp \
			VectorImage.cpp \
			imgFrame.cpp \
			imgLoader.cpp    \
			imgRequest.cpp   \
			imgRequestProxy.cpp \
			imgTools.cpp \
			imgStatusTracker.cpp \
			$(NULL)

# We need to instantiate the decoders
LOCAL_INCLUDES += -I$(topsrcdir)/image/decoders

# Because SVGDocumentWrapper.cpp includes "nsSVGSVGElement.h"
LOCAL_INCLUDES += \
			-I$(topsrcdir)/content/svg/content/src \
			-I$(topsrcdir)/content/base/src \
			$(NULL)

# Because VectorImage.cpp includes nsSVGUtils.h and nsSVGEffects.h
LOCAL_INCLUDES += -I$(topsrcdir)/layout/svg

include $(topsrcdir)/config/rules.mk
include $(topsrcdir)/ipc/chromium/chromium-config.mk

# Because imgFrame.cpp includes "cairo.h"
CXXFLAGS += $(MOZ_CAIRO_CFLAGS) $(MOZ_PIXMAN_CFLAGS)