diff options
Diffstat (limited to 'win32')
-rw-r--r-- | win32/makefile | 42 | ||||
-rw-r--r-- | win32/scintilla.mak | 53 |
2 files changed, 38 insertions, 57 deletions
diff --git a/win32/makefile b/win32/makefile index 3c04dadd1..a7ab56835 100644 --- a/win32/makefile +++ b/win32/makefile @@ -34,8 +34,8 @@ ALL: $(COMPONENT) $(LEXCOMPONENT) ScintillaWinS.o WindowAccessor.o clean: del /q *.exe *.o *.obj *.dll *.res *.map -LEXOBJS = LexAVE.o LexConf.o LexCPP.o LexHTML.o LexLua.o LexOthers.o \ - LexPascal.o LexPerl.o LexPython.o LexSQL.o LexVB.o +LEXOBJS = LexAda.o LexAVE.o LexConf.o LexCPP.o LexHTML.o LexLua.o \ + LexOthers.o LexPascal.o LexPerl.o LexPython.o LexSQL.o LexVB.o SOBJS = ScintillaWin.o ScintillaBase.o Editor.o Document.o \ ContractionState.o CellBuffer.o CallTip.o \ @@ -52,6 +52,10 @@ LOBJS = ScintillaWinL.o ScintillaBaseL.o Editor.o Document.o \ $(LEXCOMPONENT): $(LOBJS) $(DLLWRAP) --target i386-mingw32 -o $@ $(LOBJS) $(LDFLAGS) -s --relocatable +# All lexers depend on this set of headers +LEX_HEADERS=Platform.h PropSet.h SString.h Accessor.h \ + KeyWords.h Scintilla.h WinDefs.h SciLexer.h + AutoComplete.o: AutoComplete.cxx Platform.h AutoComplete.h CallTip.o: CallTip.cxx Platform.h CallTip.h CellBuffer.o: CellBuffer.cxx Platform.h Scintilla.h CellBuffer.h @@ -65,28 +69,18 @@ Editor.o: Editor.cxx Platform.h Scintilla.h ContractionState.h \ Document.h Editor.h Indicator.o: Indicator.cxx Platform.h Scintilla.h Indicator.h KeyMap.o: KeyMap.cxx Platform.h Scintilla.h KeyMap.h -LexAVE.o: LexAVE.cxx Platform.h PropSet.h \ - SString.h Accessor.h KeyWords.h Scintilla.h SciLexer.h -LexConf.o: LexConf.cxx Platform.h PropSet.h \ - SString.h Accessor.h KeyWords.h Scintilla.h SciLexer.h -LexCPP.o: LexCPP.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexHTML.o: LexHTML.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexLua.o: LexLua.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexOthers.o: LexOthers.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexPascal.o: LexPascal.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexPerl.o: LexPerl.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexPython.o: LexPython.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexSQL.o: LexSQL.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h -LexVB.o: LexVB.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ - Scintilla.h SciLexer.h +LexAda.o: LexAVE.cxx $(LEX_HEADERS) +LexAVE.o: LexAVE.cxx $(LEX_HEADERS) +LexConf.o: LexConf.cxx $(LEX_HEADERS) +LexCPP.o: LexCPP.cxx $(LEX_HEADERS) +LexHTML.o: LexHTML.cxx $(LEX_HEADERS) +LexLua.o: LexLua.cxx $(LEX_HEADERS) +LexOthers.o: LexOthers.cxx $(LEX_HEADERS) +LexPascal.o: LexPascal.cxx $(LEX_HEADERS) +LexPerl.o: LexPerl.cxx $(LEX_HEADERS) +LexPython.o: LexPython.cxx $(LEX_HEADERS) +LexSQL.o: LexSQL.cxx $(LEX_HEADERS) +LexVB.o: LexVB.cxx $(LEX_HEADERS) KeyWords.o: KeyWords.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \ Scintilla.h SciLexer.h LineMarker.o: LineMarker.cxx Platform.h Scintilla.h LineMarker.h diff --git a/win32/scintilla.mak b/win32/scintilla.mak index eb7b64a01..ad51df98a 100644 --- a/win32/scintilla.mak +++ b/win32/scintilla.mak @@ -103,6 +103,7 @@ SOBJS=\ $(DIR_O)\ViewStyle.obj LEXOBJS=\ + $(DIR_O)\LexAda.obj \ $(DIR_O)\LexAVE.obj \ $(DIR_O)\LexConf.obj \ $(DIR_O)\LexCPP.obj \ @@ -180,6 +181,12 @@ $(DIR_O)\ScintillaWinS.obj: ScintillaWin.cxx $(CC) $(INCLUDEDIRS) $(CXXFLAGS) -DSTATIC_BUILD -c $(NAMEFLAG)$@ ScintillaWin.cxx # Dependencies + +# All lexers depend on this set of headers +LEX_HEADERS=..\include\Platform.h ..\include\PropSet.h \ + ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ + ..\include\Scintilla.h ..\include\SciLexer.h + $(DIR_O)\AutoComplete.obj: ..\src\AutoComplete.cxx ..\include\Platform.h ..\src\AutoComplete.h $(DIR_O)\CallTip.obj: ..\src\CallTip.cxx ..\include\Platform.h ..\src\CallTip.h @@ -206,49 +213,29 @@ $(DIR_O)\KeyWords.obj: ..\src\KeyWords.cxx ..\include\Platform.h ..\include\Prop ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ ..\include\Scintilla.h ..\include\SciLexer.h -$(DIR_O)\LexAVE.obj: ..\src\LexAVE.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexAda.obj: ..\src\LexAda.cxx $(LEX_HEADERS) -$(DIR_O)\LexConf.obj: ..\src\LexConf.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexAVE.obj: ..\src\LexAVE.cxx $(LEX_HEADERS) -$(DIR_O)\LexCPP.obj: ..\src\LexCPP.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexConf.obj: ..\src\LexConf.cxx $(LEX_HEADERS) -$(DIR_O)\LexHTML.obj: ..\src\LexHTML.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexCPP.obj: ..\src\LexCPP.cxx $(LEX_HEADERS) -$(DIR_O)\LexLua.obj: ..\src\LexLua.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexHTML.obj: ..\src\LexHTML.cxx $(LEX_HEADERS) -$(DIR_O)\LexOthers.obj: ..\src\LexOthers.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexLua.obj: ..\src\LexLua.cxx $(LEX_HEADERS) -$(DIR_O)\LexPerl.obj: ..\src\LexPerl.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexOthers.obj: ..\src\LexOthers.cxx $(LEX_HEADERS) -$(DIR_O)\LexPascal.obj: ..\src\LexPascal.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexPerl.obj: ..\src\LexPerl.cxx $(LEX_HEADERS) -$(DIR_O)\LexPython.obj: ..\src\LexPython.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexPascal.obj: ..\src\LexPascal.cxx $(LEX_HEADERS) -$(DIR_O)\LexSQL.obj: ..\src\LexSQL.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexPython.obj: ..\src\LexPython.cxx $(LEX_HEADERS) -$(DIR_O)\LexVB.obj: ..\src\LexVB.cxx ..\include\Platform.h ..\include\PropSet.h \ - ..\include\SString.h ..\include\Accessor.h ..\include\KeyWords.h \ - ..\include\Scintilla.h ..\include\SciLexer.h +$(DIR_O)\LexSQL.obj: ..\src\LexSQL.cxx $(LEX_HEADERS) + +$(DIR_O)\LexVB.obj: ..\src\LexVB.cxx $(LEX_HEADERS) $(DIR_O)\LineMarker.obj: ..\src\LineMarker.cxx ..\include\Platform.h ..\include\Scintilla.h ..\src\LineMarker.h |