image/src/Makefile.in
author Michael Ratcliffe <mratcliffe@mozilla.com>
Wed, 19 Dec 2012 11:18:44 +0000
changeset 116651 73bb1c39936345ec43fff094f23c6930084c005a
parent 116340 b0c4f68563c3d30aef72863bb5429d7be3cd78c5
child 116963 0ea9204be1bb34b5791302f91107e4ec2ae26965
permissions -rw-r--r--
Bug 821141 - Target is firing a navigation event when an anchor is clicked r=paul

#
# 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 \
		   imgRequestProxy.h \
		   $(NULL)

CPPSRCS		= \
			Image.cpp \
			ImageFactory.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)