2001-04-06 03:51:30 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** BEGIN LICENSE BLOCK *****
|
|
|
|
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
2001-04-06 03:51:30 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The contents of this file are subject to the Mozilla Public License Version
|
|
|
|
# 1.1 (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
# http://www.mozilla.org/MPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# License.
|
2001-04-06 03:51:30 +04:00
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# The Initial Developer of the Original Code is
|
|
|
|
# Netscape Communications Corporation.
|
|
|
|
# Portions created by the Initial Developer are Copyright (C) 1998
|
|
|
|
# the Initial Developer. All Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
2001-04-06 03:51:30 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# Alternatively, the contents of this file may be used under the terms of
|
|
|
|
# either of the GNU General Public License Version 2 or later (the "GPL"),
|
|
|
|
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
# in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
# of those above. If you wish to allow use of your version of this file only
|
|
|
|
# under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
# use your version of this file under the terms of the MPL, indicate your
|
|
|
|
# decision by deleting the provisions above and replace them with the notice
|
|
|
|
# and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
# the provisions above, a recipient may use your version of this file under
|
|
|
|
# the terms of any one of the MPL, the GPL or the LGPL.
|
2001-04-06 03:51:30 +04:00
|
|
|
#
|
2004-04-18 18:21:17 +04:00
|
|
|
# ***** END LICENSE BLOCK *****
|
2001-04-06 03:51:30 +04:00
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2001-09-25 04:45:54 +04:00
|
|
|
MODULE = editor
|
|
|
|
LIBRARY_NAME = htmleditor_s
|
2004-12-15 07:07:01 +03:00
|
|
|
LIBXUL_LIBRARY = 1
|
2001-09-25 04:45:54 +04:00
|
|
|
|
2002-06-07 00:28:14 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
dom \
|
2007-02-24 23:07:06 +03:00
|
|
|
js \
|
2002-06-07 00:28:14 +04:00
|
|
|
layout \
|
|
|
|
locale \
|
|
|
|
unicharutil \
|
|
|
|
content \
|
|
|
|
txmgr \
|
2005-02-02 00:12:53 +03:00
|
|
|
txtsvc \
|
2002-06-07 00:28:14 +04:00
|
|
|
htmlparser \
|
|
|
|
necko \
|
|
|
|
pref \
|
|
|
|
gfx \
|
2007-03-20 03:58:20 +03:00
|
|
|
thebes \
|
2002-06-07 00:28:14 +04:00
|
|
|
widget \
|
2004-01-30 01:04:45 +03:00
|
|
|
view \
|
2005-06-10 02:50:41 +04:00
|
|
|
webshell \
|
2002-06-07 00:28:14 +04:00
|
|
|
$(NULL)
|
2001-10-03 04:54:12 +04:00
|
|
|
|
|
|
|
# Building the full blown HTML Editor so add its source files and objects:
|
2001-09-25 04:45:54 +04:00
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
nsEditProperty.cpp \
|
2003-06-25 12:50:48 +04:00
|
|
|
nsHTMLAbsPosition.cpp \
|
|
|
|
nsHTMLAnonymousUtils.cpp \
|
2001-09-25 04:45:54 +04:00
|
|
|
nsHTMLDataTransfer.cpp \
|
2002-01-09 16:51:37 +03:00
|
|
|
nsHTMLCSSUtils.cpp \
|
2001-09-25 04:45:54 +04:00
|
|
|
nsHTMLEditor.cpp \
|
|
|
|
nsHTMLEditorStyle.cpp \
|
|
|
|
nsHTMLEditRules.cpp \
|
|
|
|
nsHTMLEditUtils.cpp \
|
2003-02-24 12:37:18 +03:00
|
|
|
nsHTMLObjectResizer.cpp \
|
2002-03-17 23:39:16 +03:00
|
|
|
nsHTMLEditorMouseListener.cpp \
|
2003-06-25 12:50:48 +04:00
|
|
|
nsHTMLInlineTableEditor.cpp \
|
2004-01-30 01:04:45 +03:00
|
|
|
nsHTMLURIRefObject.cpp \
|
2001-09-25 04:45:54 +04:00
|
|
|
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
|
2001-04-06 03:51:30 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-10-05 05:57:05 +04:00
|
|
|
INCLUDES += -I$(topsrcdir)/editor/libeditor/base \
|
|
|
|
-I$(topsrcdir)/editor/libeditor/text
|