diff options
author | Neil <nyamatongwe@gmail.com> | 2021-07-03 08:28:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-07-03 08:28:56 +1000 |
commit | c15fc57b0be7d5a81b8e67a943a4db8e80898e06 (patch) | |
tree | 7dbd9b5f52e6b8fcdd1addc6767eba069388734b /win32 | |
parent | 7b646db9fbfb71c41c477b01d99e1e1c6c85cef8 (diff) | |
download | scintilla-mirror-c15fc57b0be7d5a81b8e67a943a4db8e80898e06.tar.gz |
Remove remnants of support for including lexers in Scintilla.
Diffstat (limited to 'win32')
-rw-r--r-- | win32/DepGen.py | 6 | ||||
-rw-r--r-- | win32/Scintilla.vcxproj | 6 | ||||
-rw-r--r-- | win32/deps.mak | 37 | ||||
-rw-r--r-- | win32/makefile | 23 | ||||
-rw-r--r-- | win32/nmdeps.mak | 37 | ||||
-rw-r--r-- | win32/scintilla.mak | 40 |
6 files changed, 7 insertions, 142 deletions
diff --git a/win32/DepGen.py b/win32/DepGen.py index 72ae027a5..f2cbb4838 100644 --- a/win32/DepGen.py +++ b/win32/DepGen.py @@ -19,12 +19,6 @@ def Generate(): # Create the dependencies file for g++ deps = Dependencies.FindDependencies(["../win32/*.cxx"] + sources, ["../win32"] + includes, ".o", "../win32/") - # Add ScintillaBaseL as the same as ScintillaBase - deps = Dependencies.InsertSynonym(deps, "ScintillaBase.o", "ScintillaBaseL.o") - - # Add CatalogueL as the same as Catalogue - deps = Dependencies.InsertSynonym(deps, "Catalogue.o", "CatalogueL.o") - Dependencies.UpdateDependencies("../win32/deps.mak", deps, topComment) # Create the dependencies file for MSVC diff --git a/win32/Scintilla.vcxproj b/win32/Scintilla.vcxproj index 746da1b03..e6bc39949 100644 --- a/win32/Scintilla.vcxproj +++ b/win32/Scintilla.vcxproj @@ -84,8 +84,8 @@ <ItemDefinitionGroup>
<ClCompile>
<WarningLevel>Level4</WarningLevel>
- <PreprocessorDefinitions>SCI_EMPTYCATALOGUE;SCI_LEXER;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <AdditionalIncludeDirectories>..\include;..\src;..\lexlib;</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>SCI_EMPTYCATALOGUE;_CRT_SECURE_NO_DEPRECATE;_SCL_SECURE_NO_WARNINGS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ <AdditionalIncludeDirectories>..\include;..\src;</AdditionalIncludeDirectories>
<BrowseInformation>true</BrowseInformation>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
@@ -162,7 +162,6 @@ </Link>
</ItemDefinitionGroup>
<ItemGroup>
- <ClCompile Include="..\lexlib\*.cxx" />
<ClCompile Include="..\src\*.cxx" />
<ClCompile Include="..\win32\HanjaDic.cxx" />
<ClCompile Include="..\win32\PlatWin.cxx" />
@@ -172,7 +171,6 @@ <ItemGroup>
<ClInclude Include="..\include\*.h" />
<ClInclude Include="..\src\*.h" />
- <ClInclude Include="..\lexlib\*.h" />
<ClInclude Include="..\win32\*.h" />
</ItemGroup>
<ItemGroup>
diff --git a/win32/deps.mak b/win32/deps.mak index 474551cc4..c932250fb 100644 --- a/win32/deps.mak +++ b/win32/deps.mak @@ -404,43 +404,6 @@ ScintillaBase.o: \ ../src/Editor.h \ ../src/AutoComplete.h \ ../src/ScintillaBase.h -ScintillaBaseL.o: \ - ../src/ScintillaBase.cxx \ - ../include/ScintillaTypes.h \ - ../include/ScintillaMessages.h \ - ../include/ScintillaStructures.h \ - ../include/ILoader.h \ - ../include/Sci_Position.h \ - ../include/ILexer.h \ - ../src/Debugging.h \ - ../src/Geometry.h \ - ../src/Platform.h \ - ../src/CharacterCategoryMap.h \ - ../src/Position.h \ - ../src/UniqueString.h \ - ../src/SplitVector.h \ - ../src/Partitioning.h \ - ../src/RunStyles.h \ - ../src/ContractionState.h \ - ../src/CellBuffer.h \ - ../src/CallTip.h \ - ../src/KeyMap.h \ - ../src/Indicator.h \ - ../src/LineMarker.h \ - ../src/Style.h \ - ../src/ViewStyle.h \ - ../src/CharClassify.h \ - ../src/Decoration.h \ - ../src/CaseFolder.h \ - ../src/Document.h \ - ../src/Selection.h \ - ../src/PositionCache.h \ - ../src/EditModel.h \ - ../src/MarginView.h \ - ../src/EditView.h \ - ../src/Editor.h \ - ../src/AutoComplete.h \ - ../src/ScintillaBase.h Selection.o: \ ../src/Selection.cxx \ ../src/Debugging.h \ diff --git a/win32/makefile b/win32/makefile index 9a49602ef..c09d8d74a 100644 --- a/win32/makefile +++ b/win32/makefile @@ -41,13 +41,13 @@ else DEL = rm -f endif -vpath %.h ../src ../include ../lexlib -vpath %.cxx ../src ../lexlib ../lexers +vpath %.h ../src ../include +vpath %.cxx ../src LDFLAGS=-shared -static -mwindows LIBS=-lgdi32 -luser32 -limm32 -lole32 -luuid -loleaut32 -lmsimg32 $(LIBSMINGW) -INCLUDES=-I ../include -I ../src -I../lexlib +INCLUDES=-I ../include -I ../src BASE_FLAGS += $(WARNINGS) @@ -112,14 +112,6 @@ SRC_OBJS = \ ViewStyle.o \ XPM.o -# Required by libraries and DLLs that include lexing -SCILEX_OBJS=\ - $(SRC_OBJS) \ - HanjaDic.o \ - PlatWin.o \ - ScintillaBaseL.o \ - ScintillaWin.o - COMPONENT_OBJS = \ $(SRC_OBJS) \ HanjaDic.o \ @@ -139,15 +131,6 @@ $(LIBSCI): $(COMPONENT_OBJS) # Automatically generate dependencies for most files with "make deps" include deps.mak -ScintillaBaseL.o: - $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D SCI_LEXER -c $< -o $@ - -Catalogue.o: Catalogue.cxx - $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D SCI_LEXER -D SCI_EMPTYCATALOGUE -c $< -o $@ - -CatalogueL.o: Catalogue.cxx - $(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D SCI_LEXER -c $< -o $@ - ScintRes.o: ScintRes.rc $(WINDRES) ScintRes.rc $@ diff --git a/win32/nmdeps.mak b/win32/nmdeps.mak index 47c5f97f8..51404eb9d 100644 --- a/win32/nmdeps.mak +++ b/win32/nmdeps.mak @@ -404,43 +404,6 @@ $(DIR_O)/ScintillaBase.obj: \ ../src/Editor.h \ ../src/AutoComplete.h \ ../src/ScintillaBase.h -$(DIR_O)/ScintillaBaseL.obj: \ - ../src/ScintillaBase.cxx \ - ../include/ScintillaTypes.h \ - ../include/ScintillaMessages.h \ - ../include/ScintillaStructures.h \ - ../include/ILoader.h \ - ../include/Sci_Position.h \ - ../include/ILexer.h \ - ../src/Debugging.h \ - ../src/Geometry.h \ - ../src/Platform.h \ - ../src/CharacterCategoryMap.h \ - ../src/Position.h \ - ../src/UniqueString.h \ - ../src/SplitVector.h \ - ../src/Partitioning.h \ - ../src/RunStyles.h \ - ../src/ContractionState.h \ - ../src/CellBuffer.h \ - ../src/CallTip.h \ - ../src/KeyMap.h \ - ../src/Indicator.h \ - ../src/LineMarker.h \ - ../src/Style.h \ - ../src/ViewStyle.h \ - ../src/CharClassify.h \ - ../src/Decoration.h \ - ../src/CaseFolder.h \ - ../src/Document.h \ - ../src/Selection.h \ - ../src/PositionCache.h \ - ../src/EditModel.h \ - ../src/MarginView.h \ - ../src/EditView.h \ - ../src/Editor.h \ - ../src/AutoComplete.h \ - ../src/ScintillaBase.h $(DIR_O)/Selection.obj: \ ../src/Selection.cxx \ ../src/Debugging.h \ diff --git a/win32/scintilla.mak b/win32/scintilla.mak index cf272173b..ed40818ef 100644 --- a/win32/scintilla.mak +++ b/win32/scintilla.mak @@ -62,7 +62,7 @@ LDFLAGS=$(LDDEBUG) $(LDFLAGS) CXXFLAGS=$(CXXFLAGS) $(CXXNDEBUG) !ENDIF -INCLUDES=-I../include -I../src -I../lexlib +INCLUDES=-I../include -I../src CXXFLAGS=$(CXXFLAGS) $(INCLUDES) all: $(COMPONENT) $(LIBSCI) @@ -70,7 +70,7 @@ all: $(COMPONENT) $(LIBSCI) clean: -del /q $(DIR_O)\*.obj $(DIR_O)\*.pdb $(DIR_O)\*.asm $(COMPONENT) \ $(DIR_O)\*.res $(DIR_BIN)\*.map $(DIR_BIN)\*.exp $(DIR_BIN)\*.pdb \ - $(DIR_BIN)\Scintilla.lib $(DIR_BIN)\SciLexer.lib $(LIBSCI) + $(DIR_BIN)\Scintilla.lib $(LIBSCI) depend: pyw DepGen.py @@ -108,28 +108,6 @@ SRC_OBJS=\ $(DIR_O)\ViewStyle.obj \ $(DIR_O)\XPM.obj -# Required by lexers -LEXLIB_OBJS = \ - $(DIR_O)\Accessor.obj \ - $(DIR_O)\CatalogueL.obj \ - $(DIR_O)\ExternalLexer.obj \ - $(DIR_O)\DefaultLexer.obj \ - $(DIR_O)\LexerBase.obj \ - $(DIR_O)\LexerModule.obj \ - $(DIR_O)\LexerSimple.obj \ - $(DIR_O)\StyleContext.obj \ - $(DIR_O)\WordList.obj - -# Required by libraries and DLLs that include lexing -SCILEX_OBJS = \ - $(SRC_OBJS) \ - $(LEXLIB_OBJS) \ - $(LEX_OBJS) \ - $(DIR_O)\HanjaDic.obj \ - $(DIR_O)\PlatWin.obj \ - $(DIR_O)\ScintillaBaseL.obj \ - $(DIR_O)\ScintillaWin.obj - COMPONENT_OBJS = \ $(DIR_O)\HanjaDic.obj \ $(DIR_O)\PlatWin.obj \ @@ -151,23 +129,9 @@ $(LIBSCI): $(COMPONENT_OBJS) {..\src}.cxx{$(DIR_O)}.obj:: $(CXX) $(CXXFLAGS) -c $(NAME)$(DIR_O)\ $< -{..\lexlib}.cxx{$(DIR_O)}.obj:: - $(CXX) $(CXXFLAGS) -c $(NAME)$(DIR_O)\ $< -{..\lexers}.cxx{$(DIR_O)}.obj:: - $(CXX) $(CXXFLAGS) -c $(NAME)$(DIR_O)\ $< {.}.cxx{$(DIR_O)}.obj:: $(CXX) $(CXXFLAGS) -c $(NAME)$(DIR_O)\ $< -# Some source files are compiled into more than one object because of different conditional compilation -$(DIR_O)\ScintillaBaseL.obj: ..\src\ScintillaBase.cxx - $(CXX) $(CXXFLAGS) -DSCI_LEXER -c $(NAME)$@ ..\src\ScintillaBase.cxx - -$(DIR_O)\CatalogueL.obj: ..\src\Catalogue.cxx - $(CXX) $(CXXFLAGS) -DSCI_LEXER -c $(NAME)$@ ..\src\Catalogue.cxx - -$(DIR_O)\Catalogue.obj: ..\src\Catalogue.cxx - $(CXX) $(CXXFLAGS) -DSCI_LEXER -DSCI_EMPTYCATALOGUE -c $(NAME)$@ ..\src\Catalogue.cxx - # Dependencies !IF EXISTS(nmdeps.mak) |