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-10-10 19:38:47 -07:00
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
MODULE = editor
|
|
|
|
LIBRARY_NAME = htmleditor_s
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
|
|
|
# Building the full blown HTML Editor so add its source files and objects:
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsEditProperty.cpp \
|
|
|
|
nsHTMLAbsPosition.cpp \
|
|
|
|
nsHTMLAnonymousUtils.cpp \
|
|
|
|
nsHTMLDataTransfer.cpp \
|
|
|
|
nsHTMLCSSUtils.cpp \
|
|
|
|
nsHTMLEditor.cpp \
|
|
|
|
nsHTMLEditorStyle.cpp \
|
|
|
|
nsHTMLEditRules.cpp \
|
|
|
|
nsHTMLEditUtils.cpp \
|
|
|
|
nsHTMLObjectResizer.cpp \
|
2010-03-05 20:01:28 -08:00
|
|
|
nsHTMLEditorEventListener.cpp \
|
2007-03-22 10:30:00 -07:00
|
|
|
nsHTMLInlineTableEditor.cpp \
|
|
|
|
nsHTMLURIRefObject.cpp \
|
|
|
|
nsTableEditor.cpp \
|
|
|
|
nsWSRunObject.cpp \
|
|
|
|
TypeInState.cpp \
|
|
|
|
TextEditorTest.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
ifdef ENABLE_EDITOR_API_LOG
|
|
|
|
CPPSRCS += nsHTMLEditorLog.cpp \
|
|
|
|
nsEditorTxnLog.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
DEFINES += -DENABLE_EDITOR_API_LOG
|
|
|
|
endif
|
|
|
|
|
|
|
|
# don't want the shared lib; force the creation of a static lib.
|
|
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
INCLUDES += -I$(topsrcdir)/editor/libeditor/base \
|
2008-03-13 11:54:01 -07:00
|
|
|
-I$(topsrcdir)/editor/libeditor/text \
|
|
|
|
-I$(topsrcdir)/content/base/src \
|
|
|
|
$(NULL)
|