gecko-dev/editor/base/Makefile.in

121 lines
3.5 KiB
Makefile
Raw Normal View History

1998-11-11 03:34:37 +00:00
#
# The contents of this file are subject to the Netscape 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/NPL/
1998-11-11 03:34:37 +00:00
#
# 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.
1998-11-11 03:34:37 +00:00
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
1998-11-11 03:34:37 +00:00
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
1999-09-09 03:34:19 +00:00
#
1998-11-11 03:34:37 +00:00
1999-09-09 03:34:19 +00:00
DEPTH = ../..
1998-11-11 03:34:37 +00:00
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
1999-09-09 03:34:19 +00:00
MODULE = editor
LIBRARY_NAME = editor
1999-09-09 03:34:19 +00:00
IS_COMPONENT = 1
REQUIRES = xpcom string dom js locale layout uriloader widget txmgr htmlparser necko pref view appshell rdf webshell timer txtsvc intl lwbrk docshell chrome caps appcomps xuldoc gfx2 mozcomps windowwatcher
CPPSRCS = \
ChangeAttributeTxn.cpp \
CreateElementTxn.cpp \
DeleteElementTxn.cpp \
DeleteRangeTxn.cpp \
DeleteTextTxn.cpp \
EditAggregateTxn.cpp \
EditTxn.cpp \
IMETextTxn.cpp \
InsertElementTxn.cpp \
InsertTextTxn.cpp \
JoinElementTxn.cpp \
nsEditorCommands.cpp \
nsComposerCommands.cpp \
nsEditorController.cpp \
nsComposerController.cpp \
nsEditor.cpp \
nsEditorEventListeners.cpp \
nsEditorUtils.cpp \
nsEditProperty.cpp \
nsTextEditUtils.cpp \
nsHTMLEditUtils.cpp \
nsPlaintextDataTransfer.cpp \
nsPlaintextEditor.cpp \
nsSelectionState.cpp \
nsStyleSheetTxns.cpp \
nsTextEditRules.cpp \
PlaceholderTxn.cpp \
SplitElementTxn.cpp \
TransactionFactory.cpp \
1999-09-09 03:34:19 +00:00
$(NULL)
1999-08-09 01:42:08 +00:00
# MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY=1
ifdef MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY
# We're only building the Core PlainText Editor Source so just include
# the plain text registration file.
CPPSRCS += nsTextEditorReg.cpp
else
# Building the full blown HTML Editor so add it's source files and objects:
CPPSRCS += nsAOLCiter.cpp \
nsEditorParserObserver.cpp \
nsEditorRegistration.cpp \
nsEditorShell.cpp \
nsEditorShellMouseListener.cpp \
nsEditorService.cpp \
nsHTMLDataTransfer.cpp \
nsHTMLEditor.cpp \
nsHTMLEditorStyle.cpp \
nsHTMLEditRules.cpp \
nsInterfaceState.cpp \
nsInternetCiter.cpp \
nsTableEditor.cpp \
nsWrapUtils.cpp \
TextEditorTest.cpp \
TypeInState.cpp \
SetDocTitleTxn.cpp \
$(NULL)
# Enable Editor API Logging!
ENABLE_EDITOR_API_LOG=1
ifdef ENABLE_EDITOR_API_LOG
CPPSRCS += nsHTMLEditorLog.cpp \
nsEditorTxnLog.cpp \
$(NULL)
DEFINES += -DENABLE_EDITOR_API_LOG
endif
endif
1999-09-09 03:34:19 +00:00
EXTRA_DSO_LDOPTS = \
1999-09-15 02:15:11 +00:00
$(MOZ_NECKO_UTIL_LIBS) \
$(MOZ_COMPONENT_LIBS) \
$(MOZ_JS_LIBS) \
1999-09-09 03:34:19 +00:00
$(NULL)
1998-11-11 03:34:37 +00:00
include $(topsrcdir)/config/rules.mk