Unix/Win makefiles for 66345. r=cmanske, sr=sfraser. Not yet part of the build
This commit is contained in:
Родитель
d704cae585
Коммит
28412b356e
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -28,5 +28,12 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
DIRS = src
|
||||
|
||||
# Enable Editor API Logging!
|
||||
ENABLE_EDITOR_API_LOG=1
|
||||
|
||||
ifdef ENABLE_EDITOR_API_LOG
|
||||
DEFINES += -DENABLE_EDITOR_API_LOG
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
#!nmake
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..
|
||||
|
||||
DIRS= public src
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -0,0 +1,73 @@
|
|||
#!nmake
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
include <$(DEPTH)/config/config.mak>
|
||||
|
||||
LIBRARY_NAME=composer
|
||||
|
||||
CPPSRCS = \
|
||||
nsEditorShell.cpp \
|
||||
nsEditorShellMouseListener.cpp \
|
||||
nsInterfaceState.cpp \
|
||||
nsComposerController.cpp \
|
||||
nsComposerCommands.cpp \
|
||||
nsComposerRegistration.cpp \
|
||||
nsEditorParserObserver.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
.\$(OBJDIR)\nsEditorShell.obj \
|
||||
.\$(OBJDIR)\nsEditorShellMouseListener.obj \
|
||||
.\$(OBJDIR)\nsInterfaceState.obj \
|
||||
.\$(OBJDIR)\nsComposerController.obj \
|
||||
.\$(OBJDIR)\nsComposerCommands.obj \
|
||||
.\$(OBJDIR)\nsComposerRegistration.obj \
|
||||
.\$(OBJDIR)\nsEditorParserObserver.obj \
|
||||
$(NULL)
|
||||
|
||||
MODULE=composer
|
||||
|
||||
MAKE_OBJ_TYPE = DLL
|
||||
DLLNAME = composer
|
||||
DLL=.\$(OBJDIR)\$(DLLNAME).dll
|
||||
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the libraries we need to link with to create the dll
|
||||
LLIBS = \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(DLL)
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\bin\components\$(DLLNAME).dll
|
||||
rm -f $(DIST)\lib\$(DLLNAME).lib
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -28,17 +28,5 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
DIRS = base text html build
|
||||
|
||||
# Enable Editor API Logging!
|
||||
ENABLE_EDITOR_API_LOG=1
|
||||
|
||||
ifdef ENABLE_EDITOR_API_LOG
|
||||
DEFINES += -DENABLE_EDITOR_API_LOG
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
install::
|
||||
@$(REGCHROME) content editor comm.jar
|
||||
@$(REGCHROME) content editor-region comm.jar
|
||||
@$(REGCHROME) locale en-US/editor en-US.jar
|
||||
@$(REGCHROME) locale US/editor-region US.jar
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -26,7 +26,45 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = src
|
||||
MODULE = editor
|
||||
LIBRARY_NAME = editorbase_s
|
||||
# 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
|
||||
|
||||
# Internal header files, needed by other editor sublibs:
|
||||
INTERNAL_HDR_DIR = ../internal
|
||||
|
||||
CPPSRCS = \
|
||||
nsEditor.cpp \
|
||||
nsEditorCommands.cpp \
|
||||
nsEditorController.cpp \
|
||||
nsEditorService.cpp \
|
||||
nsEditorUtils.cpp \
|
||||
nsSelectionState.cpp \
|
||||
$(NULL)
|
||||
|
||||
# Transactions: we'd like to split these off,
|
||||
# but currently they and nsEditor are too intertwined!
|
||||
CPPSRCS += \
|
||||
EditTxn.cpp \
|
||||
PlaceholderTxn.cpp \
|
||||
ChangeAttributeTxn.cpp \
|
||||
CreateElementTxn.cpp \
|
||||
DeleteElementTxn.cpp \
|
||||
DeleteRangeTxn.cpp \
|
||||
DeleteTextTxn.cpp \
|
||||
EditAggregateTxn.cpp \
|
||||
IMETextTxn.cpp \
|
||||
InsertElementTxn.cpp \
|
||||
InsertTextTxn.cpp \
|
||||
JoinElementTxn.cpp \
|
||||
SetDocTitleTxn.cpp \
|
||||
SplitElementTxn.cpp \
|
||||
nsStyleSheetTxns.cpp \
|
||||
TransactionFactory.cpp \
|
||||
$(NULL)
|
||||
|
||||
# don't want the shared lib; force the creation of a static lib.
|
||||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -21,7 +21,80 @@
|
|||
|
||||
DEPTH=..\..\..
|
||||
|
||||
DIRS= public src
|
||||
LIBRARY_NAME=libbaseeditor_s
|
||||
|
||||
CPPSRCS = \
|
||||
ChangeAttributeTxn.cpp \
|
||||
CreateElementTxn.cpp \
|
||||
DeleteElementTxn.cpp \
|
||||
DeleteRangeTxn.cpp \
|
||||
DeleteTextTxn.cpp \
|
||||
EditAggregateTxn.cpp \
|
||||
EditTxn.cpp \
|
||||
IMETextTxn.cpp \
|
||||
InsertElementTxn.cpp \
|
||||
InsertTextTxn.cpp \
|
||||
JoinElementTxn.cpp \
|
||||
PlaceholderTxn.cpp \
|
||||
SetDocTitleTxn.cpp \
|
||||
SplitElementTxn.cpp \
|
||||
TransactionFactory.cpp \
|
||||
nsEditor.cpp \
|
||||
nsEditorCommands.cpp \
|
||||
nsEditorController.cpp \
|
||||
nsEditorService.cpp \
|
||||
nsEditorUtils.cpp \
|
||||
nsSelectionState.cpp \
|
||||
nsStyleSheetTxns.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
.\$(OBJDIR)\ChangeAttributeTxn.obj \
|
||||
.\$(OBJDIR)\CreateElementTxn.obj \
|
||||
.\$(OBJDIR)\DeleteElementTxn.obj \
|
||||
.\$(OBJDIR)\DeleteRangeTxn.obj \
|
||||
.\$(OBJDIR)\DeleteTextTxn.obj \
|
||||
.\$(OBJDIR)\EditAggregateTxn.obj \
|
||||
.\$(OBJDIR)\EditTxn.obj \
|
||||
.\$(OBJDIR)\IMETextTxn.obj \
|
||||
.\$(OBJDIR)\InsertElementTxn.obj \
|
||||
.\$(OBJDIR)\InsertTextTxn.obj \
|
||||
.\$(OBJDIR)\JoinElementTxn.obj \
|
||||
.\$(OBJDIR)\PlaceholderTxn.obj \
|
||||
.\$(OBJDIR)\SetDocTitleTxn.obj \
|
||||
.\$(OBJDIR)\SplitElementTxn.obj \
|
||||
.\$(OBJDIR)\TransactionFactory.obj \
|
||||
.\$(OBJDIR)\nsEditor.obj \
|
||||
.\$(OBJDIR)\nsEditorCommands.obj \
|
||||
.\$(OBJDIR)\nsEditorController.obj \
|
||||
.\$(OBJDIR)\nsEditorService.obj \
|
||||
.\$(OBJDIR)\nsEditorUtils.obj \
|
||||
.\$(OBJDIR)\nsSelectionState.obj \
|
||||
.\$(OBJDIR)\nsStyleSheetTxns.obj \
|
||||
$(NULL)
|
||||
|
||||
MODULE=editor
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the libraries we need to link with to create the dll
|
||||
# LLIBS = \
|
||||
# $(DIST)\lib\xpcom.lib \
|
||||
# $(DIST)\lib\js3250.lib \
|
||||
# $(DIST)\lib\gkparser.lib \
|
||||
# $(DIST)\lib\raptorwidget_s.lib \
|
||||
# $(DIST)\lib\timer_s.lib \
|
||||
# $(LIBNSPR) \
|
||||
# $(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(LIBRARY)
|
||||
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|
||||
rm -f $(PDBFILE).pdb
|
||||
|
|
|
@ -30,7 +30,6 @@ include $(DEPTH)/config/autoconf.mk
|
|||
|
||||
MODULE = editor
|
||||
LIBRARY_NAME = editor
|
||||
EXPORT_LIBRARY = 1
|
||||
IS_COMPONENT = 1
|
||||
EXTRA_DSO_LDOPTS = \
|
||||
$(MOZ_NECKO_UTIL_LIBS) \
|
||||
|
@ -76,8 +75,9 @@ SHARED_LIBRARY_LIBS = $(NULL)
|
|||
else
|
||||
CPPSRCS = nsEditorRegistration.cpp
|
||||
SHARED_LIBRARY_LIBS = \
|
||||
../html/src/libhtmleditor_s.$(LIB_SUFFIX) \
|
||||
../html/libhtmleditor_s.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
# ../composer/src/libcomposer_s.$(LIB_SUFFIX)
|
||||
endif
|
||||
|
||||
#ifndef MKSHLIB_FORCE_ALL
|
||||
|
@ -86,8 +86,8 @@ endif
|
|||
|
||||
# These libraries always get built:
|
||||
SHARED_LIBRARY_LIBS += \
|
||||
../text/src/libtexteditor_s.$(LIB_SUFFIX) \
|
||||
../base/src/libeditorbase_s.$(LIB_SUFFIX) \
|
||||
../text/libtexteditor_s.$(LIB_SUFFIX) \
|
||||
../base/libeditorbase_s.$(LIB_SUFFIX) \
|
||||
$(NULL)
|
||||
|
||||
ifdef ENABLE_EDITOR_API_LOG
|
||||
|
@ -96,5 +96,5 @@ endif
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
INCLUDES += -I../base/src -I../text/src -I../html/src
|
||||
INCLUDES += -I../base -I../text -I../html -I../../composer/src
|
||||
|
||||
|
|
|
@ -1,108 +1,132 @@
|
|||
#!nmake
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
include <$(DEPTH)/config/config.mak>
|
||||
|
||||
MODULE = editor
|
||||
LIBRARY_NAME = texteditor
|
||||
|
||||
# Uncomment the line below, or define MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY
|
||||
# in your environment, to build only the plain text editor core files:
|
||||
# MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY=1
|
||||
|
||||
!if defined(MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY)
|
||||
|
||||
CPPSRCS = \
|
||||
$(CPPSRCS) \
|
||||
nsTextEditorReg.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
$(CPP_OBJS) \
|
||||
.\$(OBJDIR)\nsTextEditorReg.obj \
|
||||
$(NULL)
|
||||
|
||||
!else
|
||||
|
||||
CPPSRCS = \
|
||||
$(CPPSRCS) \
|
||||
nsEditorRegistration.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
$(CPP_OBJS) \
|
||||
.\$(OBJDIR)\nsEditorRegistration.obj \
|
||||
$(NULL)
|
||||
|
||||
#Enable Editor API Logging!
|
||||
ENABLE_EDITOR_API_LOG=1
|
||||
|
||||
!if defined(ENABLE_EDITOR_API_LOG)
|
||||
DEFINES = -DENABLE_EDITOR_API_LOG $(DEFINES)
|
||||
!endif
|
||||
|
||||
!endif
|
||||
|
||||
LINCS = \
|
||||
-I..\base\public \
|
||||
-I..\base\src \
|
||||
-I..\text\src \
|
||||
$(NULL)
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the base editor libraries we need to link with to create the dll
|
||||
|
||||
SUB_LIBRARIES = \
|
||||
$(DIST)\lib\libbaseeditor_s.lib \
|
||||
$(DIST)\lib\libtexteditor_s.lib \
|
||||
$(NULL)
|
||||
|
||||
!if !defined(MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY)
|
||||
|
||||
LINCS = \
|
||||
$(LINCS) \
|
||||
-I..\html\src \
|
||||
$(NULL)
|
||||
|
||||
# These are the html editor libraries we need to link with to create the dll
|
||||
|
||||
SUB_LIBRARIES = \
|
||||
$(DIST)\lib\libhtmleditor_s.lib \
|
||||
$(NULL)
|
||||
|
||||
!endif
|
||||
|
||||
# These are the external libraries we need to link with to create the dll
|
||||
|
||||
LLIBS = \
|
||||
$(LLIBS) \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(LIBNSPR) \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
#!nmake
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
# 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.
|
||||
#
|
||||
# The Original Code is mozilla.org code.
|
||||
#
|
||||
# The Initial Developer of the Original Code is Netscape
|
||||
# Communications Corporation. Portions created by Netscape are
|
||||
# Copyright (C) 1998 Netscape Communications Corporation. All
|
||||
# Rights Reserved.
|
||||
#
|
||||
# Contributor(s):
|
||||
|
||||
DEPTH=..\..\..
|
||||
|
||||
include <$(DEPTH)/config/config.mak>
|
||||
|
||||
MODULE = editor
|
||||
IS_COMPONENT = 1
|
||||
|
||||
# Uncomment the line below, or define MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY
|
||||
# in your environment, to build only the plain text editor core files:
|
||||
# MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY=1
|
||||
|
||||
!if defined(MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY)
|
||||
|
||||
CPPSRCS = \
|
||||
$(CPPSRCS) \
|
||||
nsTextEditorReg.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
$(CPP_OBJS) \
|
||||
.\$(OBJDIR)\nsTextEditorReg.obj \
|
||||
$(NULL)
|
||||
|
||||
DLLNAME = texteditor
|
||||
|
||||
!else
|
||||
|
||||
CPPSRCS = \
|
||||
$(CPPSRCS) \
|
||||
nsEditorRegistration.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
$(CPP_OBJS) \
|
||||
.\$(OBJDIR)\nsEditorRegistration.obj \
|
||||
$(NULL)
|
||||
|
||||
#Enable Editor API Logging!
|
||||
ENABLE_EDITOR_API_LOG=1
|
||||
|
||||
!if defined(ENABLE_EDITOR_API_LOG)
|
||||
DEFINES = -DENABLE_EDITOR_API_LOG $(DEFINES)
|
||||
!endif
|
||||
|
||||
DLLNAME = editor
|
||||
|
||||
!endif
|
||||
|
||||
LINCS = \
|
||||
-I..\base \
|
||||
-I..\text \
|
||||
$(NULL)
|
||||
|
||||
MAKE_OBJ_TYPE = DLL
|
||||
DLL = .\$(OBJDIR)\$(DLLNAME).dll
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the base editor libraries we need to link with to create the dll
|
||||
|
||||
LLIBS = \
|
||||
$(DIST)\lib\libtexteditor_s.lib \
|
||||
$(DIST)\lib\libbaseeditor_s.lib \
|
||||
$(NULL)
|
||||
|
||||
!if !defined(MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY)
|
||||
|
||||
LINCS = \
|
||||
$(LINCS) \
|
||||
-I..\html \
|
||||
$(NULL)
|
||||
|
||||
# These are the html editor libraries we need to link with to create the dll
|
||||
|
||||
LLIBS = \
|
||||
$(DIST)\lib\libhtmleditor_s.lib \
|
||||
$(LLIBS) \
|
||||
$(NULL)
|
||||
|
||||
!endif
|
||||
|
||||
# These are the external libraries we need to link with to create the dll
|
||||
|
||||
LLIBS = \
|
||||
$(LLIBS) \
|
||||
$(DIST)\lib\xpcom.lib \
|
||||
$(DIST)\lib\js3250.lib \
|
||||
$(DIST)\lib\gkgfx.lib \
|
||||
$(LIBNSPR) \
|
||||
$(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
build:: $(DLL)
|
||||
|
||||
!if !defined(MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY)
|
||||
|
||||
install:: $(DLL)
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).dll $(DIST)\bin\components
|
||||
$(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME).lib $(DIST)\lib
|
||||
set MOZ_BUILD_PLAINTEXT_EDITOR_CORE_ONLY=1
|
||||
nmake -f makefile.win build
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\bin\$(DLLNAME).dll
|
||||
rm -f $(DIST)\lib\$(DLLNAME).lib
|
||||
|
||||
!endif
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -26,7 +26,36 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = src
|
||||
MODULE = editor
|
||||
LIBRARY_NAME = htmleditor_s
|
||||
# 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
|
||||
|
||||
# Building the full blown HTML Editor so add it's source files and objects:
|
||||
|
||||
CPPSRCS = \
|
||||
nsEditProperty.cpp \
|
||||
nsHTMLDataTransfer.cpp \
|
||||
nsHTMLEditor.cpp \
|
||||
nsHTMLEditorStyle.cpp \
|
||||
nsHTMLEditRules.cpp \
|
||||
nsHTMLEditUtils.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../base -I../text
|
||||
|
|
|
@ -21,7 +21,85 @@
|
|||
|
||||
DEPTH=..\..\..
|
||||
|
||||
DIRS= public src
|
||||
LIBRARY_NAME=libhtmleditor_s
|
||||
|
||||
CPPSRCS = \
|
||||
TypeInState.cpp \
|
||||
nsEditProperty.cpp \
|
||||
nsHTMLDataTransfer.cpp \
|
||||
nsHTMLEditRules.cpp \
|
||||
nsHTMLEditUtils.cpp \
|
||||
nsHTMLEditor.cpp \
|
||||
nsHTMLEditorStyle.cpp \
|
||||
nsHTMLURIRefObject.cpp \
|
||||
nsTableEditor.cpp \
|
||||
nsWSRunObject.cpp \
|
||||
TextEditorTest.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
.\$(OBJDIR)\TypeInState.obj \
|
||||
.\$(OBJDIR)\nsEditProperty.obj \
|
||||
.\$(OBJDIR)\nsHTMLDataTransfer.obj \
|
||||
.\$(OBJDIR)\nsHTMLEditRules.obj \
|
||||
.\$(OBJDIR)\nsHTMLEditUtils.obj \
|
||||
.\$(OBJDIR)\nsHTMLEditor.obj \
|
||||
.\$(OBJDIR)\nsHTMLEditorStyle.obj \
|
||||
.\$(OBJDIR)\nsHTMLURIRefObject.obj \
|
||||
.\$(OBJDIR)\nsTableEditor.obj \
|
||||
.\$(OBJDIR)\nsWSRunObject.obj \
|
||||
.\$(OBJDIR)\TextEditorTest.obj \
|
||||
$(NULL)
|
||||
|
||||
|
||||
# Enable Editor API Logging!
|
||||
ENABLE_EDITOR_API_LOG=1
|
||||
|
||||
!if defined(ENABLE_EDITOR_API_LOG)
|
||||
|
||||
CPPSRCS = \
|
||||
$(CPPSRCS) \
|
||||
nsEditorTxnLog.cpp \
|
||||
nsHTMLEditorLog.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
$(CPP_OBJS) \
|
||||
.\$(OBJDIR)\nsEditorTxnLog.obj \
|
||||
.\$(OBJDIR)\nsHTMLEditorLog.obj \
|
||||
$(NULL)
|
||||
|
||||
DEFINES = -DENABLE_EDITOR_API_LOG $(DEFINES)
|
||||
|
||||
!endif
|
||||
|
||||
MODULE=editor
|
||||
|
||||
LINCS = \
|
||||
-I..\base \
|
||||
-I..\text \
|
||||
$(NULL)
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the libraries we need to link with to create the dll
|
||||
# LLIBS = \
|
||||
# $(DIST)\lib\xpcom.lib \
|
||||
# $(DIST)\lib\js3250.lib \
|
||||
# $(DIST)\lib\gkparser.lib \
|
||||
# $(DIST)\lib\raptorwidget_s.lib \
|
||||
# $(DIST)\lib\timer_s.lib \
|
||||
# $(LIBNSPR) \
|
||||
# $(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(LIBRARY)
|
||||
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|
||||
rm -f $(PDBFILE).pdb
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Makefile
|
|
@ -26,7 +26,32 @@ VPATH = @srcdir@
|
|||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS = src
|
||||
MODULE = editor
|
||||
LIBRARY_NAME = texteditor_s
|
||||
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
|
||||
|
||||
CPPSRCS = \
|
||||
nsPlaintextDataTransfer.cpp \
|
||||
nsPlaintextEditor.cpp \
|
||||
nsTextEditUtils.cpp \
|
||||
nsTextEditRules.cpp \
|
||||
nsEditorEventListeners.cpp \
|
||||
nsWrapUtils.cpp \
|
||||
nsInternetCiter.cpp \
|
||||
nsAOLCiter.cpp \
|
||||
$(NULL)
|
||||
|
||||
ifdef IBMBIDI
|
||||
CPPSRCS += \
|
||||
nsTextEditRulesBidi.cpp \
|
||||
$(NULL)
|
||||
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../base
|
||||
|
||||
|
|
|
@ -21,7 +21,58 @@
|
|||
|
||||
DEPTH=..\..\..
|
||||
|
||||
DIRS= public src
|
||||
LIBRARY_NAME=libtexteditor_s
|
||||
|
||||
CPPSRCS = \
|
||||
nsAOLCiter.cpp \
|
||||
nsEditorEventListeners.cpp \
|
||||
nsInternetCiter.cpp \
|
||||
nsPlaintextDataTransfer.cpp \
|
||||
nsPlaintextEditor.cpp \
|
||||
nsTextEditRules.cpp \
|
||||
nsTextEditRulesBidi.cpp \
|
||||
nsTextEditUtils.cpp \
|
||||
nsWrapUtils.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
.\$(OBJDIR)\nsAOLCiter.obj \
|
||||
.\$(OBJDIR)\nsEditorEventListeners.obj \
|
||||
.\$(OBJDIR)\nsInternetCiter.obj \
|
||||
.\$(OBJDIR)\nsPlaintextDataTransfer.obj \
|
||||
.\$(OBJDIR)\nsPlaintextEditor.obj \
|
||||
.\$(OBJDIR)\nsTextEditRules.obj \
|
||||
.\$(OBJDIR)\nsTextEditRulesBidi.obj \
|
||||
.\$(OBJDIR)\nsTextEditUtils.obj \
|
||||
.\$(OBJDIR)\nsWrapUtils.obj \
|
||||
$(NULL)
|
||||
|
||||
MODULE=editor
|
||||
|
||||
LINCS = \
|
||||
-I..\base \
|
||||
$(NULL)
|
||||
|
||||
LCFLAGS = \
|
||||
$(LCFLAGS) \
|
||||
$(DEFINES) \
|
||||
$(NULL)
|
||||
|
||||
# These are the libraries we need to link with to create the dll
|
||||
# LLIBS = \
|
||||
# $(DIST)\lib\xpcom.lib \
|
||||
# $(DIST)\lib\js3250.lib \
|
||||
# $(DIST)\lib\gkparser.lib \
|
||||
# $(DIST)\lib\raptorwidget_s.lib \
|
||||
# $(DIST)\lib\timer_s.lib \
|
||||
# $(LIBNSPR) \
|
||||
# $(NULL)
|
||||
|
||||
include <$(DEPTH)\config\rules.mak>
|
||||
|
||||
install:: $(LIBRARY)
|
||||
$(MAKE_INSTALL) $(LIBRARY) $(DIST)\lib
|
||||
|
||||
clobber::
|
||||
rm -f $(DIST)\lib\$(LIBRARY_NAME).lib
|
||||
rm -f $(PDBFILE).pdb
|
||||
|
|
Загрузка…
Ссылка в новой задаче