blob: bfb436719d33ec0689d6353842e1159f7302e867 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# Make file for Scintilla on Linux or compatible OS
# Copyright 1998-2001 by Neil Hodgson <neilh@scintilla.org>
# The License.txt file describes the conditions under which this software may be distributed.
# This makefile assumes GCC 2.95.2 is used and changes will be needed to use other compilers.
# GNU make does not like \r\n line endings so should be saved to CVS in binary form.
.SUFFIXES: .cxx .o .h .a
CC = g++
AR = ar
COMPLIB=../bin/scintilla.a
vpath %.h ../src ../include
vpath %.cxx ../src
INCLUDEDIRS=-I ../include -I ../src
CXXBASEFLAGS= -DGTK -DSCI_LEXER -W -Wall
ifdef DEBUG
CXXFLAGS=-DDEBUG $(CXXBASEFLAGS)
else
CXXFLAGS=-DNDEBUG $(CXXBASEFLAGS)
endif
.cxx.o:
$(CC) `gtk-config --cflags` $(INCLUDEDIRS) $(CXXFLAGS) -c $< -o $@
LEXOBJS = LexConf.o LexCPP.o LexHTML.o LexLua.o LexOthers.o LexPascal.o \
LexPerl.o LexPython.o LexSQL.o LexVB.o
# The LEXOBJS have to be treated specially as the functions in them are not called from external code
all: $(COMPLIB) $(LEXOBJS)
$(COMPLIB): DocumentAccessor.o WindowAccessor.o KeyWords.o Document.o CallTip.o \
ScintillaBase.o ContractionState.o Editor.o PropSet.o PlatGTK.o \
KeyMap.o LineMarker.o ScintillaGTK.o CellBuffer.o ViewStyle.o \
Style.o Indicator.o AutoComplete.o
$(AR) rc $@ $^
AutoComplete.o: AutoComplete.cxx Platform.h AutoComplete.h
CallTip.o: CallTip.cxx Platform.h CallTip.h
CellBuffer.o: CellBuffer.cxx Platform.h Scintilla.h WinDefs.h \
CellBuffer.h
ContractionState.o: ContractionState.cxx Platform.h ContractionState.h
Document.o: Document.cxx Platform.h Scintilla.h WinDefs.h CellBuffer.h \
Document.h
DocumentAccessor.o: DocumentAccessor.cxx Platform.h PropSet.h SString.h \
Accessor.h DocumentAccessor.h Scintilla.h WinDefs.h
Editor.o: Editor.cxx Platform.h Scintilla.h WinDefs.h \
ContractionState.h CellBuffer.h KeyMap.h Indicator.h LineMarker.h \
Style.h ViewStyle.h Document.h Editor.h
Indicator.o: Indicator.cxx Platform.h Scintilla.h WinDefs.h \
Indicator.h
KeyMap.o: KeyMap.cxx Platform.h Scintilla.h WinDefs.h KeyMap.h
KeyWords.o: KeyWords.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexConf.o: LexConf.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexCPP.o: LexCPP.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexHTML.o: LexHTML.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexLua.o: LexLua.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexOthers.o: LexOthers.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexPascal.o: LexPascal.cxx Platform.h PropSet.h SString.h Accessor.h \
KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexPerl.o: LexPerl.cxx Platform.h PropSet.h SString.h Accessor.h KeyWords.h \
Scintilla.h WinDefs.h SciLexer.h
LexPython.o: LexPython.cxx Platform.h PropSet.h SString.h \
Accessor.h KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexSQL.o: LexSQL.cxx Platform.h PropSet.h SString.h \
Accessor.h KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LexVB.o: LexVB.cxx Platform.h PropSet.h SString.h \
Accessor.h KeyWords.h Scintilla.h WinDefs.h SciLexer.h
LineMarker.o: LineMarker.cxx Platform.h Scintilla.h WinDefs.h \
LineMarker.h
PlatGTK.o: PlatGTK.cxx Platform.h Scintilla.h ScintillaWidget.h WinDefs.h
PropSet.o: PropSet.cxx Platform.h PropSet.h SString.h
SciTEBase.o: SciTEBase.cxx Platform.h WinDefs.h SciTE.h PropSet.h \
SString.h Accessor.h KeyWords.h Scintilla.h SciLexer.h SciTEBase.h
SciTEGTK.o: SciTEGTK.cxx Platform.h WinDefs.h SciTE.h PropSet.h \
SString.h Accessor.h KeyWords.h Scintilla.h SciTEBase.h
ScintillaBase.o: ScintillaBase.cxx Platform.h Scintilla.h WinDefs.h \
SciLexer.h PropSet.h SString.h Accessor.h KeyWords.h ContractionState.h \
CellBuffer.h CallTip.h KeyMap.h Indicator.h LineMarker.h Style.h \
ViewStyle.h AutoComplete.h Document.h Editor.h ScintillaBase.h
ScintillaGTK.o: ScintillaGTK.cxx Platform.h Scintilla.h ScintillaWidget.h WinDefs.h \
SciLexer.h PropSet.h SString.h Accessor.h KeyWords.h ContractionState.h \
CellBuffer.h CallTip.h KeyMap.h Indicator.h LineMarker.h Style.h \
AutoComplete.h ViewStyle.h Document.h Editor.h ScintillaBase.h
Style.o: Style.cxx Platform.h Style.h
ViewStyle.o: ViewStyle.cxx Platform.h Scintilla.h WinDefs.h \
Indicator.h LineMarker.h Style.h ViewStyle.h
WindowAccessor.o: WindowAccessor.cxx Platform.h PropSet.h SString.h \
Accessor.h WindowAccessor.h Scintilla.h WinDefs.h
clean:
rm -f *.o SciTE
|