2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07: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/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-01-11 00:22:16 -08:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-02-04 09:32:24 -08:00
|
|
|
TEST_DIRS += tests
|
2008-09-17 16:28:17 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
MODULE = editor
|
|
|
|
LIBRARY_NAME = editorbase_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
|
|
|
# Internal header files, needed by other editor sublibs:
|
|
|
|
INTERNAL_HDR_DIR = ../internal
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsEditor.cpp \
|
|
|
|
nsEditorCommands.cpp \
|
|
|
|
nsEditorController.cpp \
|
2010-03-05 20:01:28 -08:00
|
|
|
nsEditorEventListener.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsEditorUtils.cpp \
|
|
|
|
nsSelectionState.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Transactions: we'd like to split these off,
|
|
|
|
# but currently they and nsEditor are too intertwined!
|
|
|
|
CPPSRCS += \
|
|
|
|
EditTxn.cpp \
|
|
|
|
PlaceholderTxn.cpp \
|
|
|
|
ChangeAttributeTxn.cpp \
|
|
|
|
ChangeCSSInlineStyleTxn.cpp \
|
|
|
|
CreateElementTxn.cpp \
|
2012-06-19 06:23:36 -07:00
|
|
|
DeleteNodeTxn.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
DeleteRangeTxn.cpp \
|
|
|
|
DeleteTextTxn.cpp \
|
|
|
|
EditAggregateTxn.cpp \
|
|
|
|
IMETextTxn.cpp \
|
|
|
|
InsertElementTxn.cpp \
|
|
|
|
InsertTextTxn.cpp \
|
|
|
|
JoinElementTxn.cpp \
|
|
|
|
SetDocTitleTxn.cpp \
|
|
|
|
SplitElementTxn.cpp \
|
|
|
|
nsStyleSheetTxns.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# don't want the shared lib; force the creation of a static lib.
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-03-13 11:54:01 -07:00
|
|
|
INCLUDES += \
|
2010-07-19 13:47:52 -07:00
|
|
|
-I$(topsrcdir)/editor/libeditor/text \
|
2008-03-13 11:54:01 -07:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
2010-05-04 10:40:39 -07:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2010-05-21 13:36:42 -07:00
|
|
|
-I$(topsrcdir)/layout/style \
|
2011-09-13 11:58:54 -07:00
|
|
|
-I$(topsrcdir)/extensions/spellcheck/src \
|
2008-03-13 11:54:01 -07:00
|
|
|
$(NULL)
|