2012-05-21 11:12:37 +00:00
|
|
|
# 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/.
|
2004-12-07 18:09:28 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
2004-12-07 18:09:28 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-02-04 17:32:24 +00:00
|
|
|
TEST_DIRS += test
|
2007-04-15 23:14:26 +00:00
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
MODULE = layout
|
|
|
|
LIBRARY_NAME = gkgeneric_s
|
2004-12-15 04:07:01 +00:00
|
|
|
LIBXUL_LIBRARY = 1
|
2004-12-07 18:09:28 +00:00
|
|
|
|
|
|
|
|
2008-02-18 08:50:04 +00:00
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
EXPORTS = \
|
2009-01-12 19:20:59 +00:00
|
|
|
nsQueryFrame.h \
|
2012-06-05 15:10:28 +00:00
|
|
|
nsFrameIdList.h \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsFrameList.h \
|
2009-10-08 06:18:18 +00:00
|
|
|
nsCanvasFrame.h \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsHTMLParts.h \
|
|
|
|
nsHTMLReflowMetrics.h \
|
|
|
|
nsHTMLReflowState.h \
|
|
|
|
nsIAnonymousContentCreator.h \
|
|
|
|
nsIFrame.h \
|
|
|
|
nsIFrameUtil.h \
|
|
|
|
nsILineIterator.h \
|
|
|
|
nsIObjectFrame.h \
|
|
|
|
nsIPageSequenceFrame.h \
|
|
|
|
nsIScrollableFrame.h \
|
2012-08-03 10:35:14 +00:00
|
|
|
ScrollbarActivity.h \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsIStatefulFrame.h \
|
2006-04-26 02:01:07 +00:00
|
|
|
nsFrameSelection.h \
|
2010-08-31 00:49:07 +00:00
|
|
|
nsSubDocumentFrame.h \
|
2012-06-08 14:20:55 +00:00
|
|
|
Selection.h \
|
2011-06-01 04:37:54 +00:00
|
|
|
nsObjectFrame.h \
|
2004-12-07 18:09:28 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-06-08 14:20:55 +00:00
|
|
|
EXPORTS_NAMESPACES = mozilla/layout mozilla
|
2011-08-24 20:54:29 +00:00
|
|
|
|
|
|
|
EXPORTS_mozilla/layout = \
|
|
|
|
FrameChildList.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-06-08 14:20:55 +00:00
|
|
|
EXPORTS_mozilla = \
|
|
|
|
Selection.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
CPPSRCS = \
|
2011-08-24 20:54:29 +00:00
|
|
|
FrameChildList.cpp \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsAbsoluteContainingBlock.cpp \
|
|
|
|
nsBRFrame.cpp \
|
|
|
|
nsBlockFrame.cpp \
|
|
|
|
nsBlockReflowContext.cpp \
|
|
|
|
nsBlockReflowState.cpp \
|
|
|
|
nsBulletFrame.cpp \
|
|
|
|
nsColumnSetFrame.cpp \
|
|
|
|
nsContainerFrame.cpp \
|
|
|
|
nsFirstLetterFrame.cpp \
|
2009-01-05 00:39:54 +00:00
|
|
|
nsFloatManager.cpp \
|
2012-04-16 22:32:12 +00:00
|
|
|
nsFontInflationData.cpp \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsFrame.cpp \
|
|
|
|
nsFrameList.cpp \
|
|
|
|
nsFrameSetFrame.cpp \
|
|
|
|
nsFrameUtil.cpp \
|
|
|
|
nsGfxScrollFrame.cpp \
|
2005-04-18 06:33:23 +00:00
|
|
|
nsHTMLCanvasFrame.cpp \
|
2009-10-08 06:18:18 +00:00
|
|
|
nsCanvasFrame.cpp \
|
2010-10-07 04:25:45 +00:00
|
|
|
nsHTMLReflowMetrics.cpp \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsHTMLReflowState.cpp \
|
|
|
|
nsImageFrame.cpp \
|
|
|
|
nsImageMap.cpp \
|
|
|
|
nsInlineFrame.cpp \
|
|
|
|
nsIntervalSet.cpp \
|
|
|
|
nsLeafFrame.cpp \
|
|
|
|
nsLineBox.cpp \
|
|
|
|
nsLineLayout.cpp \
|
|
|
|
nsObjectFrame.cpp \
|
|
|
|
nsPageContentFrame.cpp \
|
|
|
|
nsPageFrame.cpp \
|
|
|
|
nsPlaceholderFrame.cpp \
|
2012-08-03 10:35:14 +00:00
|
|
|
ScrollbarActivity.cpp \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsSelection.cpp \
|
|
|
|
nsSimplePageSequence.cpp \
|
|
|
|
nsSplittableFrame.cpp \
|
2010-08-31 00:49:11 +00:00
|
|
|
nsSubDocumentFrame.cpp \
|
2007-07-02 03:31:57 +00:00
|
|
|
nsTextFrameThebes.cpp \
|
|
|
|
nsTextFrameUtils.cpp \
|
2011-06-22 18:11:48 +00:00
|
|
|
TextOverflow.cpp \
|
2007-07-02 03:31:57 +00:00
|
|
|
nsTextRunTransformations.cpp \
|
2004-12-07 18:09:28 +00:00
|
|
|
nsViewportFrame.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-06-26 22:12:13 +00:00
|
|
|
ifdef MOZ_FLEXBOX
|
|
|
|
CPPSRCS += \
|
|
|
|
nsFlexContainerFrame.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2008-07-09 08:22:20 +00:00
|
|
|
ifdef MOZ_MEDIA
|
|
|
|
CPPSRCS += \
|
|
|
|
nsVideoFrame.cpp \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2009-08-27 00:29:47 +00:00
|
|
|
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
|
|
|
|
CMMSRCS += \
|
|
|
|
nsPluginUtilsOSX.mm \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
RESOURCES_HTML = \
|
2007-08-17 22:57:36 +00:00
|
|
|
$(srcdir)/folder.png \
|
2004-12-07 18:09:28 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
2010-08-16 14:10:25 +00:00
|
|
|
include $(topsrcdir)/config/config.mk
|
|
|
|
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
2004-12-07 18:09:28 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir) \
|
|
|
|
-I$(srcdir)/../base \
|
2007-12-22 21:07:58 +00:00
|
|
|
-I$(srcdir)/../forms \
|
2010-08-31 16:05:12 +00:00
|
|
|
-I$(srcdir)/../style \
|
2004-12-07 18:09:28 +00:00
|
|
|
-I$(srcdir)/../tables \
|
|
|
|
-I$(srcdir)/../xul/base/src \
|
|
|
|
-I$(srcdir)/../../content/xul/content/src \
|
|
|
|
-I$(srcdir)/../../content/base/src \
|
2005-01-12 19:45:38 +00:00
|
|
|
-I$(srcdir)/../../content/html/content/src \
|
2009-03-11 14:10:19 +00:00
|
|
|
-I$(srcdir)/../../dom/base \
|
2011-04-26 21:38:43 +00:00
|
|
|
-I$(srcdir)/../../dom/plugins/base \
|
2012-03-19 08:34:19 +00:00
|
|
|
-I$(srcdir)/../svg/base/src \
|
2006-03-04 14:23:39 +00:00
|
|
|
$(MOZ_CAIRO_CFLAGS) \
|
2012-05-26 06:44:00 +00:00
|
|
|
$(MOZ_PIXMAN_CFLAGS) \
|
2004-12-07 18:09:28 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2007-07-03 03:33:13 +00:00
|
|
|
ifdef MOZ_ENABLE_GTK2
|
|
|
|
CXXFLAGS += $(MOZ_GTK2_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2008-08-09 13:43:08 +00:00
|
|
|
ifdef MOZ_ENABLE_QT
|
|
|
|
CXXFLAGS += $(MOZ_QT_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2004-12-07 18:09:28 +00:00
|
|
|
libs::
|
|
|
|
$(INSTALL) $(RESOURCES_HTML) $(DIST)/bin/res/html
|
|
|
|
|
|
|
|
install::
|
|
|
|
$(SYSINSTALL) $(IFLAGS1) $(RESOURCES_HTML) $(DESTDIR)$(mozappdir)/res/html
|
|
|
|
|
|
|
|
DEFINES += -D_IMPL_NS_LAYOUT
|