aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-04-01 14:30:32 +1100
committerNeil <nyamatongwe@gmail.com>2019-04-01 14:30:32 +1100
commit8c406e0fc4bebda5501d520f1c177fc48d38cd93 (patch)
tree5b6c3a459495aad04c73ee1e75ea858eaa05ff7c /gtk/makefile
parent7e849320b326d7c8b41d0aadb3beedb57d85766e (diff)
downloadscintilla-mirror-8c406e0fc4bebda5501d520f1c177fc48d38cd93.tar.gz
Switch generation of make dependencies to Python scripts DepGen.py.
Dependencies files deps.mak and nmdeps.mak are formatted with one file per line as that makes it easier to examine differences between versions.
Diffstat (limited to 'gtk/makefile')
-rw-r--r--gtk/makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/makefile b/gtk/makefile
index f2dd23736..4e1dccaa7 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -110,12 +110,8 @@ LEXOBJS:=$(addsuffix .o,$(basename $(sort $(notdir $(wildcard $(srcdir)/../lexer
analyze:
clang --analyze $(CONFIGFLAGS) $(CXXTFLAGS) $(CXXFLAGS) $(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(srcdir)/../lexers/*.cxx
-# To minimize deltas, including between Unix and Windows, the lexer file names are sorted case-insensitively
-LEXSORTED=$(shell ls $(srcdir)/../lexers/Lex*.cxx | sort -f)
-DEPSRCS=$(srcdir)/*.cxx $(srcdir)/../src/*.cxx $(srcdir)/../lexlib/*.cxx $(LEXSORTED)
-deps: deps.mak
-deps.mak:
- $(CXX) -MM $(CONFIGFLAGS) $(CXXTFLAGS) $(DEPSRCS) | sed -e 's/\/usr.* //' | grep [a-zA-Z] > $@
+depend deps.mak:
+ python DepGen.py
$(COMPLIB): Accessor.o CharacterSet.o DefaultLexer.o LexerBase.o LexerModule.o LexerSimple.o StyleContext.o WordList.o \
CharClassify.o Decoration.o Document.o PerLine.o Catalogue.o CallTip.o CaseConvert.o CaseFolder.o \