10 OTHERSWIGFLAGS = '-I$(STCLOC)/contrib/include/wx/stc'
11 SWIGDEPS = '$(STCLOC)/contrib/include/wx/stc/stc.h'
14 '$(STCLOC)/contrib/src/stc/scintilla/src/AutoComplete.cxx',
15 '$(STCLOC)/contrib/src/stc/scintilla/src/CallTip.cxx',
16 '$(STCLOC)/contrib/src/stc/scintilla/src/CellBuffer.cxx',
17 '$(STCLOC)/contrib/src/stc/scintilla/src/ContractionState.cxx',
18 '$(STCLOC)/contrib/src/stc/scintilla/src/Document.cxx',
19 '$(STCLOC)/contrib/src/stc/scintilla/src/Editor.cxx',
20 '$(STCLOC)/contrib/src/stc/scintilla/src/Indicator.cxx',
21 '$(STCLOC)/contrib/src/stc/scintilla/src/KeyMap.cxx',
22 '$(STCLOC)/contrib/src/stc/scintilla/src/KeyWords.cxx',
23 '$(STCLOC)/contrib/src/stc/scintilla/src/LineMarker.cxx',
24 '$(STCLOC)/contrib/src/stc/scintilla/src/PropSet.cxx',
25 '$(STCLOC)/contrib/src/stc/scintilla/src/ScintillaBase.cxx',
26 '$(STCLOC)/contrib/src/stc/scintilla/src/Style.cxx',
27 '$(STCLOC)/contrib/src/stc/scintilla/src/ViewStyle.cxx',
28 '$(STCLOC)/contrib/src/stc/scintilla/src/LexCPP.cxx',
29 '$(STCLOC)/contrib/src/stc/scintilla/src/LexHTML.cxx',
30 '$(STCLOC)/contrib/src/stc/scintilla/src/LexOthers.cxx',
31 '$(STCLOC)/contrib/src/stc/scintilla/src/LexPerl.cxx',
32 '$(STCLOC)/contrib/src/stc/scintilla/src/LexPython.cxx',
33 '$(STCLOC)/contrib/src/stc/scintilla/src/LexSQL.cxx',
34 '$(STCLOC)/contrib/src/stc/scintilla/src/LexVB.cxx',
35 '$(STCLOC)/contrib/src/stc/scintilla/src/DocumentAccessor.cxx',
36 '$(STCLOC)/contrib/src/stc/scintilla/src/UniConversion.cxx',
37 '$(STCLOC)/contrib/src/stc/scintilla/src/WindowAccessor.cxx',
39 '$(STCLOC)/contrib/src/stc/PlatWX.cpp',
40 '$(STCLOC)/contrib/src/stc/ScintillaWX.cpp',
41 '$(STCLOC)/contrib/src/stc/stc.cpp',
44 OTHERCFLAGS = '-D__WX__ -DSCI_LEXER ' + \
45 '-I$(STCLOC)/contrib/src/stc/scintilla/include ' + \
46 '-I$(STCLOC)/contrib/include ' + \
47 '-I$(STCLOC)/contrib/src/stc/scintilla/src'
50 if sys.platform == 'win32':
51 OTHERDEFS = 'STCLOC = $(WXWIN)'
53 {$(WXWIN)/contrib/src/stc}.cpp{}.obj:
58 {$(WXWIN)/contrib/src/stc/scintilla/src}.cxx{}.obj:
65 DEFAULTRULE = 'default: contrib $(GENCODEDIR) $(TARGET) $(BUILDDIR)/$(TARGET) bldpycfiles'
66 OTHERDEFS = 'STCLOC = .'
68 %.o : contrib/src/stc/%.cpp
69 $(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
71 %.o : contrib/src/stc/scintilla/src/%.cxx
72 $(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
75 ln -s $(WXWIN)/contrib contrib
80 # There are no platform differences so we don't need separate code directories