1998-11-11 06:34:37 +03:00
|
|
|
#!nmake
|
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public License
|
|
|
|
# Version 1.0 (the "NPL"); you may not use this file except in
|
|
|
|
# compliance with the NPL. You may obtain a copy of the NPL at
|
|
|
|
# http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the NPL is distributed on an "AS IS" basis,
|
|
|
|
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
|
|
|
# for the specific language governing rights and limitations under the
|
|
|
|
# NPL.
|
|
|
|
#
|
|
|
|
# The Initial Developer of this code under the NPL is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
|
|
|
# Reserved.
|
|
|
|
|
|
|
|
DEPTH=..\..
|
|
|
|
IGNORE_MANIFEST=1
|
1999-07-29 08:25:34 +04:00
|
|
|
include <$(DEPTH)/config/config.mak>
|
1998-11-11 06:34:37 +03:00
|
|
|
|
|
|
|
LIBRARY_NAME=ender
|
|
|
|
|
|
|
|
CPPSRCS = \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsInsertHTMLTxn.cpp \
|
1999-02-12 20:18:58 +03:00
|
|
|
nsEditor.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsEditorUtils.cpp \
|
|
|
|
nsEditorRegistration.cpp \
|
1999-03-10 22:47:34 +03:00
|
|
|
nsTextEditRules.cpp \
|
1999-03-29 12:01:21 +04:00
|
|
|
nsHTMLEditRules.cpp \
|
1999-04-15 10:06:33 +04:00
|
|
|
TextEditorTest.cpp \
|
1999-02-12 20:18:58 +03:00
|
|
|
nsEditorEventListeners.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsEditProperty.cpp \
|
|
|
|
nsEditorFactory.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 \
|
|
|
|
EditTable.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
nsInternetCiter.cpp \
|
|
|
|
nsAOLCiter.cpp \
|
|
|
|
nsInterfaceState.cpp \
|
|
|
|
nsEditorShell.cpp \
|
1999-06-11 23:56:35 +04:00
|
|
|
nsEditorShellFactory.cpp \
|
1999-08-09 05:37:50 +04:00
|
|
|
IMETextTxn.cpp \
|
|
|
|
IMECommitTxn.cpp \
|
1998-11-11 06:34:37 +03:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPP_OBJS = \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsInsertHTMLTxn.obj \
|
1999-02-12 20:18:58 +03:00
|
|
|
.\$(OBJDIR)\nsEditor.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsEditorUtils.obj \
|
|
|
|
.\$(OBJDIR)\nsEditorRegistration.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 \
|
1999-02-12 20:18:58 +03:00
|
|
|
.\$(OBJDIR)\nsEditorEventListeners.obj \
|
1999-02-24 20:24:37 +03:00
|
|
|
.\$(OBJDIR)\nsEditProperty.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsEditorFactory.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 \
|
|
|
|
.\$(OBJDIR)\EditTable.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(OBJDIR)\nsInternetCiter.obj \
|
|
|
|
.\$(OBJDIR)\nsAOLCiter.obj \
|
|
|
|
.\$(OBJDIR)\nsInterfaceState.obj \
|
|
|
|
.\$(OBJDIR)\nsEditorShell.obj \
|
1999-06-11 23:28:17 +04:00
|
|
|
.\$(OBJDIR)\nsEditorShellFactory.obj \
|
1999-08-09 05:37:50 +04:00
|
|
|
.\$(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
|
|
|
|
DLLNAME = ender
|
|
|
|
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
|
|
|
|
1999-08-09 05:42:08 +04:00
|
|
|
!if defined(ENABLE_JS_EDITOR_LOG)
|
|
|
|
CPPSRCS += \
|
|
|
|
nsJSEditorLog.cpp \
|
|
|
|
nsJSTxnLog.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
CPP_OBJS += \
|
|
|
|
.\$(OBJDIR)\nsJSEditorLog.obj \
|
|
|
|
.\$(OBJDIR)\nsJSTxnLog.obj \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-06-15 00:02:46 +04:00
|
|
|
DEFINES = -DENABLE_JS_EDITOR_LOG $(DEFINES)
|
|
|
|
|
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-03-05 00:53:42 +03:00
|
|
|
$(DIST)\lib\raptorhtmlpars.lib \
|
1999-03-12 04:49:12 +03:00
|
|
|
$(DIST)\lib\raptorwidget_s.lib \
|
1999-06-28 14:35:57 +04:00
|
|
|
!ifdef NECKO
|
1999-07-02 01:49:24 +04:00
|
|
|
$(DIST)\lib\neckoutil_s.lib \
|
1999-06-28 14:35:57 +04:00
|
|
|
!else
|
1999-06-09 05:27:08 +04:00
|
|
|
$(DIST)\lib\netlib.lib \
|
1999-06-28 14:35:57 +04:00
|
|
|
!endif
|
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
|