- [opj(STC_H, 'stc.h')] + swig_deps)
-
- # copy a contrib project specific py module to the main package dir
- copy_file(opj(location, 'stc.py'), PKGDIR, update=1, verbose=0)
-
- # add some include dirs to the standard set
- stc_includes = includes[:]
- stc_includes.append('%s/scintilla/include' % STCLOC)
- stc_includes.append('%s/scintilla/src' % STCLOC)
- stc_includes.append(STCINC)
-
- # and some macro definitions
- stc_defines = defines[:]
- stc_defines.append( ('__WX__', None) )
- stc_defines.append( ('SCI_LEXER', None) )
- stc_defines.append( ('LINK_LEXERS', None) )
-
-
- ext = Extension('stc_c',
- ['%s/scintilla/src/AutoComplete.cxx' % STCLOC,
- '%s/scintilla/src/CallTip.cxx' % STCLOC,
- '%s/scintilla/src/CellBuffer.cxx' % STCLOC,
- '%s/scintilla/src/ContractionState.cxx' % STCLOC,
- '%s/scintilla/src/Document.cxx' % STCLOC,
- '%s/scintilla/src/DocumentAccessor.cxx' % STCLOC,
- '%s/scintilla/src/Editor.cxx' % STCLOC,
- '%s/scintilla/src/Indicator.cxx' % STCLOC,
- '%s/scintilla/src/KeyMap.cxx' % STCLOC,
- '%s/scintilla/src/KeyWords.cxx' % STCLOC,
- '%s/scintilla/src/LineMarker.cxx' % STCLOC,
- '%s/scintilla/src/PropSet.cxx' % STCLOC,
- '%s/scintilla/src/RESearch.cxx' % STCLOC,
- '%s/scintilla/src/ScintillaBase.cxx' % STCLOC,
- '%s/scintilla/src/Style.cxx' % STCLOC,
- '%s/scintilla/src/StyleContext.cxx' % STCLOC,
- '%s/scintilla/src/UniConversion.cxx' % STCLOC,
- '%s/scintilla/src/ViewStyle.cxx' % STCLOC,
- '%s/scintilla/src/WindowAccessor.cxx' % STCLOC,
-
- '%s/scintilla/src/LexAda.cxx' % STCLOC,
- '%s/scintilla/src/LexAVE.cxx' % STCLOC,
- '%s/scintilla/src/LexBaan.cxx' % STCLOC,
- '%s/scintilla/src/LexBullant.cxx' % STCLOC,
- '%s/scintilla/src/LexCPP.cxx' % STCLOC,
- '%s/scintilla/src/LexConf.cxx' % STCLOC,
- '%s/scintilla/src/LexCrontab.cxx' % STCLOC,
- '%s/scintilla/src/LexEiffel.cxx' % STCLOC,
- '%s/scintilla/src/LexHTML.cxx' % STCLOC,
- '%s/scintilla/src/LexLisp.cxx' % STCLOC,
- '%s/scintilla/src/LexLua.cxx' % STCLOC,
- '%s/scintilla/src/LexMatlab.cxx' % STCLOC,
- '%s/scintilla/src/LexOthers.cxx' % STCLOC,
- '%s/scintilla/src/LexPascal.cxx' % STCLOC,
- '%s/scintilla/src/LexPerl.cxx' % STCLOC,
- '%s/scintilla/src/LexPython.cxx' % STCLOC,
- '%s/scintilla/src/LexRuby.cxx' % STCLOC,
- '%s/scintilla/src/LexSQL.cxx' % STCLOC,
- '%s/scintilla/src/LexVB.cxx' % STCLOC,
-
- '%s/PlatWX.cpp' % STCLOC,
- '%s/ScintillaWX.cpp' % STCLOC,
- '%s/stc.cpp' % STCLOC,
- ] + swig_sources,
-
- include_dirs = stc_includes,
- define_macros = stc_defines,
-
- library_dirs = libdirs,
- libraries = libs,
-
- extra_compile_args = cflags,
- extra_link_args = lflags,
- )
-
- wxpExtensions.append(ext)
-
-
-
-#----------------------------------------------------------------------
-# Define the IEWIN extension module (experimental)
-#----------------------------------------------------------------------
-
-if BUILD_IEWIN:
- msg('Preparing IEWIN...')
- location = 'contrib/iewin'