aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-27 08:00:51 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-27 08:00:51 +1100
commit28f4806856030014c58c42941e8f645a23876e80 (patch)
treefdb2296f45c9c9f637b36d284f9905a89d015f89
parentb7829e12011db27aeffa3739225bd3c02de82e82 (diff)
downloadscintilla-mirror-28f4806856030014c58c42941e8f645a23876e80.tar.gz
Collect objects into variables and define one-per-line.
This simplifies referencing the objects and makes for smaller patches when changing the set of objects.
-rw-r--r--gtk/makefile59
1 files changed, 52 insertions, 7 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 74d4f2a88..1b815494f 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -99,13 +99,58 @@ analyze:
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 \
- ScintillaBase.o ContractionState.o EditModel.o Editor.o EditView.o ExternalLexer.o MarginView.o \
- PropSetSimple.o PlatGTK.o \
- KeyMap.o LineMarker.o PositionCache.o ScintillaGTK.o ScintillaGTKAccessible.o CellBuffer.o CharacterCategory.o ViewStyle.o \
- RESearch.o RunStyles.o Selection.o Style.o Indicator.o AutoComplete.o UniConversion.o UniqueString.o XPM.o \
- $(MARSHALLER) $(LEXOBJS)
+# Required for base Scintilla
+SRC_OBJS = \
+ AutoComplete.o \
+ CallTip.o \
+ CaseConvert.o \
+ CaseFolder.o \
+ CellBuffer.o \
+ CharacterCategory.o \
+ CharacterSet.o \
+ CharClassify.o \
+ ContractionState.o \
+ DBCS.o \
+ Decoration.o \
+ Document.o \
+ EditModel.o \
+ Editor.o \
+ EditView.o \
+ Indicator.o \
+ KeyMap.o \
+ LineMarker.o \
+ MarginView.o \
+ PerLine.o \
+ PositionCache.o \
+ RESearch.o \
+ RunStyles.o \
+ Selection.o \
+ Style.o \
+ UniConversion.o \
+ UniqueString.o \
+ ViewStyle.o \
+ XPM.o
+
+# Required by lexers
+LEXLIB_OBJS = \
+ Accessor.o \
+ Catalogue.o \
+ DefaultLexer.o \
+ ExternalLexer.o \
+ LexerBase.o \
+ LexerModule.o \
+ LexerSimple.o \
+ PropSetSimple.o \
+ StyleContext.o \
+ WordList.o
+
+GTK_OBJS = \
+ ScintillaBase.o \
+ PlatGTK.o \
+ ScintillaGTK.o \
+ ScintillaGTKAccessible.o
+
+$(COMPLIB): $(SRC_OBJS) $(LEXLIB_OBJS) $(GTK_OBJS) $(MARSHALLER) $(LEXOBJS)
$(AR) $(ARFLAGS) $@ $^
$(RANLIB) $@