2001-04-06 03:51:30 +04:00
|
|
|
#
|
2012-05-21 15:12:37 +04: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/.
|
2001-04-06 03:51:30 +04:00
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
2012-01-11 12:22:16 +04:00
|
|
|
FAIL_ON_WARNINGS = 1
|
2001-04-06 03:51:30 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2012-02-04 21:32:24 +04:00
|
|
|
TEST_DIRS += tests
|
2008-09-18 03:28:17 +04:00
|
|
|
|
2001-09-25 04:45:54 +04:00
|
|
|
MODULE = editor
|
|
|
|
LIBRARY_NAME = editorbase_s
|
2004-12-15 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2001-10-03 04:54:12 +04:00
|
|
|
|
2001-09-25 04:45:54 +04:00
|
|
|
|
|
|
|
# Internal header files, needed by other editor sublibs:
|
|
|
|
INTERNAL_HDR_DIR = ../internal
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsEditor.cpp \
|
|
|
|
nsEditorCommands.cpp \
|
|
|
|
nsEditorController.cpp \
|
2010-03-06 07:01:28 +03:00
|
|
|
nsEditorEventListener.cpp \
|
2001-09-25 04:45:54 +04: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 \
|
2002-01-09 16:51:37 +03:00
|
|
|
ChangeCSSInlineStyleTxn.cpp \
|
2001-09-25 04:45:54 +04:00
|
|
|
CreateElementTxn.cpp \
|
2012-06-19 17:23:36 +04:00
|
|
|
DeleteNodeTxn.cpp \
|
2001-09-25 04:45:54 +04: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
|
2001-04-06 03:51:30 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2008-03-13 21:54:01 +03:00
|
|
|
INCLUDES += \
|
2010-07-20 00:47:52 +04:00
|
|
|
-I$(topsrcdir)/editor/libeditor/text \
|
2012-06-19 17:23:36 +04:00
|
|
|
-I$(topsrcdir)/editor/txmgr/src \
|
2008-03-13 21:54:01 +03:00
|
|
|
-I$(topsrcdir)/content/base/src \
|
2010-05-04 21:40:39 +04:00
|
|
|
-I$(topsrcdir)/content/events/src \
|
2010-05-22 00:36:42 +04:00
|
|
|
-I$(topsrcdir)/layout/style \
|
2011-09-13 22:58:54 +04:00
|
|
|
-I$(topsrcdir)/extensions/spellcheck/src \
|
2008-03-13 21:54:01 +03:00
|
|
|
$(NULL)
|