1998-11-11 06:34:37 +03:00
|
|
|
#!nmake
|
|
|
|
#
|
1999-11-06 06:43:54 +03: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 06:34:37 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03: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 06:34:37 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1998-11-11 06:34:37 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1998-11-11 06:34:37 +03:00
|
|
|
|
|
|
|
DEPTH=..\..
|
1999-09-01 04:54:34 +04:00
|
|
|
|
1999-07-29 08:25:34 +04:00
|
|
|
include <$(DEPTH)/config/config.mak>
|
1998-11-11 06:34:37 +03:00
|
|
|
|
2000-04-13 23:43:51 +04:00
|
|
|
LIBRARY_NAME=editor
|
1998-11-11 06:34:37 +03:00
|
|
|
|
|
|
|
CPPSRCS = \
|
1999-02-12 20:18:58 +03:00
|
|
|
nsEditor.cpp \
|
2000-05-02 01:38:11 +04:00
|
|
|
nsEditorService.cpp \
|
1999-12-15 06:46:27 +03:00
|
|
|
nsEditorController.cpp \
|
2000-02-16 04:35:57 +03:00
|
|
|
nsEditorCommands.cpp \
|
2000-05-02 01:38:11 +04:00
|
|
|
nsComposerCommands.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsEditorUtils.cpp \
|
2000-05-02 01:38:11 +04:00
|
|
|
nsEditorRegistration.cpp \
|
2000-03-31 06:36:10 +04:00
|
|
|
nsEditorParserObserver.cpp \
|
1999-03-10 22:47:34 +03:00
|
|
|
nsTextEditRules.cpp \
|
1999-03-29 12:01:21 +04:00
|
|
|
nsHTMLEditRules.cpp \
|
2000-01-26 03:36:18 +03:00
|
|
|
nsHTMLEditUtils.cpp \
|
1999-04-15 10:06:33 +04:00
|
|
|
TextEditorTest.cpp \
|
2000-05-02 01:38:11 +04:00
|
|
|
nsEditorEventListeners.cpp \
|
2000-05-10 03:03:41 +04:00
|
|
|
nsEditorShellMouseListener.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsEditProperty.cpp \
|
1999-01-14 21:02:45 +03:00
|
|
|
EditTxn.cpp \
|
1999-01-21 04:51:09 +03:00
|
|
|
EditAggregateTxn.cpp \
|
1999-01-06 23:30:13 +03:00
|
|
|
ChangeAttributeTxn.cpp \
|
1999-01-14 21:02:45 +03:00
|
|
|
InsertTextTxn.cpp \
|
|
|
|
DeleteTextTxn.cpp \
|
1999-03-15 03:57:32 +03:00
|
|
|
PlaceholderTxn.cpp \
|
1999-01-14 21:02:45 +03:00
|
|
|
CreateElementTxn.cpp \
|
1999-02-24 20:24:37 +03:00
|
|
|
InsertElementTxn.cpp \
|
1999-01-14 21:02:45 +03:00
|
|
|
DeleteElementTxn.cpp \
|
|
|
|
DeleteRangeTxn.cpp \
|
|
|
|
SplitElementTxn.cpp \
|
1999-01-21 04:51:09 +03:00
|
|
|
JoinElementTxn.cpp \
|
1999-07-02 08:01:38 +04:00
|
|
|
nsStyleSheetTxns.cpp \
|
1999-01-21 04:51:09 +03:00
|
|
|
TransactionFactory.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
TypeInState.cpp \
|
1999-03-02 08:30:53 +03:00
|
|
|
nsHTMLEditor.cpp \
|
2000-02-10 08:14:52 +03:00
|
|
|
nsTableEditor.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsInternetCiter.cpp \
|
|
|
|
nsAOLCiter.cpp \
|
2000-04-21 02:45:54 +04:00
|
|
|
nsWrapUtils.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsInterfaceState.cpp \
|
|
|
|
nsEditorShell.cpp \
|
|
|
|
IMETextTxn.cpp \
|
|
|
|
IMECommitTxn.cpp \
|
1998-11-11 06:34:37 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPP_OBJS = \
|
1999-02-12 20:18:58 +03:00
|
|
|
.\$(OBJDIR)\nsEditor.obj \
|
2000-05-02 01:38:11 +04:00
|
|
|
.\$(OBJDIR)\nsEditorService.obj \
|
2000-02-16 04:35:57 +03:00
|
|
|
.\$(OBJDIR)\nsEditorController.obj \
|
|
|
|
.\$(OBJDIR)\nsEditorCommands.obj \
|
2000-05-02 01:38:11 +04:00
|
|
|
.\$(OBJDIR)\nsComposerCommands.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsEditorUtils.obj \
|
2000-02-16 04:35:57 +03:00
|
|
|
.\$(OBJDIR)\nsEditorRegistration.obj \
|
2000-03-31 06:36:10 +04:00
|
|
|
.\$(OBJDIR)\nsEditorParserObserver.obj \
|
1999-03-10 22:47:34 +03:00
|
|
|
.\$(OBJDIR)\nsTextEditRules.obj \
|
1999-04-15 10:06:33 +04:00
|
|
|
.\$(OBJDIR)\TextEditorTest.obj \
|
1999-03-29 12:01:21 +04:00
|
|
|
.\$(OBJDIR)\nsHTMLEditRules.obj \
|
2000-01-26 03:48:12 +03:00
|
|
|
.\$(OBJDIR)\nsHTMLEditUtils.obj \
|
1999-02-12 20:18:58 +03:00
|
|
|
.\$(OBJDIR)\nsEditorEventListeners.obj \
|
2000-05-10 03:03:41 +04:00
|
|
|
.\$(OBJDIR)\nsEditorShellMouseListener.obj \
|
1999-02-24 20:24:37 +03:00
|
|
|
.\$(OBJDIR)\nsEditProperty.obj \
|
1999-01-14 21:02:45 +03:00
|
|
|
.\$(OBJDIR)\EditTxn.obj \
|
1999-01-21 04:51:09 +03:00
|
|
|
.\$(OBJDIR)\EditAggregateTxn.obj \
|
1999-01-14 21:02:45 +03:00
|
|
|
.\$(OBJDIR)\ChangeAttributeTxn.obj \
|
|
|
|
.\$(OBJDIR)\InsertTextTxn.obj \
|
|
|
|
.\$(OBJDIR)\DeleteTextTxn.obj \
|
1999-03-15 03:57:32 +03:00
|
|
|
.\$(OBJDIR)\PlaceholderTxn.obj \
|
1999-01-14 21:02:45 +03:00
|
|
|
.\$(OBJDIR)\CreateElementTxn.obj \
|
1999-02-24 20:24:37 +03:00
|
|
|
.\$(OBJDIR)\InsertElementTxn.obj \
|
1999-01-14 21:02:45 +03:00
|
|
|
.\$(OBJDIR)\DeleteElementTxn.obj \
|
|
|
|
.\$(OBJDIR)\DeleteRangeTxn.obj \
|
|
|
|
.\$(OBJDIR)\SplitElementTxn.obj \
|
1999-01-21 04:51:09 +03:00
|
|
|
.\$(OBJDIR)\JoinElementTxn.obj \
|
1999-07-02 08:01:38 +04:00
|
|
|
.\$(OBJDIR)\nsStyleSheetTxns.obj \
|
1999-01-21 04:51:09 +03:00
|
|
|
.\$(OBJDIR)\TransactionFactory.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\TypeInState.obj \
|
1999-03-02 08:30:53 +03:00
|
|
|
.\$(OBJDIR)\nsHTMLEditor.obj \
|
2000-02-10 08:14:52 +03:00
|
|
|
.\$(OBJDIR)\nsTableEditor.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsInternetCiter.obj \
|
|
|
|
.\$(OBJDIR)\nsAOLCiter.obj \
|
2000-04-21 02:45:54 +04:00
|
|
|
.\$(OBJDIR)\nsWrapUtils.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsInterfaceState.obj \
|
|
|
|
.\$(OBJDIR)\nsEditorShell.obj \
|
|
|
|
.\$(OBJDIR)\IMETextTxn.obj \
|
1999-06-30 00:31:22 +04:00
|
|
|
.\$(OBJDIR)\IMECommitTxn.obj \
|
1998-11-11 06:34:37 +03:00
|
|
|
$(NULL)
|
|
|
|
|
1998-11-11 23:44:02 +03:00
|
|
|
MODULE=editor
|
1998-11-11 06:34:37 +03:00
|
|
|
|
|
|
|
MAKE_OBJ_TYPE = DLL
|
2000-04-13 23:43:51 +04:00
|
|
|
DLLNAME = editor
|
1998-11-11 06:34:37 +03:00
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
|
1999-08-19 17:19:10 +04:00
|
|
|
# Enable Editor API Logging!
|
|
|
|
ENABLE_EDITOR_API_LOG=1
|
1999-08-09 05:42:08 +04:00
|
|
|
|
1999-08-19 17:19:10 +04:00
|
|
|
!if defined(ENABLE_EDITOR_API_LOG)
|
|
|
|
CPPSRCS = $(CPPSRCS) \
|
|
|
|
nsHTMLEditorLog.cpp \
|
|
|
|
nsEditorTxnLog.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPP_OBJS = $(CPP_OBJS) \
|
|
|
|
.\$(OBJDIR)\nsHTMLEditorLog.obj \
|
|
|
|
.\$(OBJDIR)\nsEditorTxnLog.obj \
|
|
|
|
$(NULL)
|
1999-08-09 05:42:08 +04:00
|
|
|
|
1999-08-19 17:19:10 +04:00
|
|
|
DEFINES = -DENABLE_EDITOR_API_LOG $(DEFINES)
|
1999-06-15 00:02:46 +04:00
|
|
|
|
1999-08-09 05:57:28 +04:00
|
|
|
!endif
|
|
|
|
|
1998-11-11 06:34:37 +03:00
|
|
|
LCFLAGS = \
|
|
|
|
$(LCFLAGS) \
|
|
|
|
$(DEFINES) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# These are the libraries we need to link with to create the dll
|
|
|
|
LLIBS= \
|
1999-05-26 05:38:36 +04:00
|
|
|
$(DIST)\lib\xpcom.lib \
|
1999-10-19 01:39:18 +04:00
|
|
|
$(DIST)\lib\js3250.lib \
|
1999-10-10 05:32:59 +04:00
|
|
|
$(DIST)\lib\gkparser.lib \
|
1999-03-12 04:49:12 +03:00
|
|
|
$(DIST)\lib\raptorwidget_s.lib \
|
2000-03-04 02:35:11 +03:00
|
|
|
$(DIST)\lib\timer_s.lib \
|
1998-11-11 06:34:37 +03:00
|
|
|
$(LIBNSPR)
|
|
|
|
!if "$(MOZ_BITS)"=="32" && defined(MOZ_DEBUG) && defined(GLOWCODE)
|
|
|
|
LLIBS=$(LLIBS) $(GLOWDIR)\glowcode.lib
|
|
|
|
!endif
|
|
|
|
|
|
|
|
|
|
|
|
include <$(DEPTH)\config\rules.mak>
|
|
|
|
|
1999-06-28 14:35:57 +04:00
|
|
|
install:: $(DLL)
|
1999-03-09 01:46:33 +03:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
1998-11-11 06:34:37 +03:00
|
|
|
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
|
|
|
|
|
|
|
clobber::
|
1999-03-11 00:25:03 +03:00
|
|
|
rm -f $(DIST)\bin\components\$(DLLNAME).dll
|
1998-11-11 06:34:37 +03:00
|
|
|
rm -f $(DIST)\lib\$(DLLNAME).lib
|