build and distrib things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
1
utils/wxPython/modules/stc/.cvsignore
Normal file
1
utils/wxPython/modules/stc/.cvsignore
Normal file
@@ -0,0 +1 @@
|
||||
Makefile
|
7
utils/wxPython/modules/stc/README.txt
Normal file
7
utils/wxPython/modules/stc/README.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Since STC is not always bundled with distributions of wxWindows, in
|
||||
order for it to be a standard part of wxPython I need to bundle it
|
||||
here. The contents of the contrib directory are copies of the
|
||||
relevant parts of the main contrib directory in wxWindows. The
|
||||
build.py script in this directory will also build the needed files
|
||||
from there, so you no longer have to worry about aquiring and building
|
||||
additional libraries beyond wxWindows itself.
|
@@ -7,18 +7,61 @@ SOURCES = []
|
||||
PYFILES = ['stc.py']
|
||||
|
||||
|
||||
OTHERCFLAGS = '-I$(WXWIN)/contrib/include'
|
||||
OTHERSWIGFLAGS = '-I$(WXWIN)/contrib/include/wx/stc'
|
||||
|
||||
SWIGDEPS = '$(WXWIN)/contrib/include/wx/stc/stc.h'
|
||||
|
||||
if sys.platform == 'win32':
|
||||
OTHERCFLAGS = '-I$(WXWIN)/contrib/include'
|
||||
OTHERLIBS = '$(WXWIN)/contrib/lib/stc$(LIBEXT).lib'
|
||||
else:
|
||||
OTHERLIBS = '-lstc'
|
||||
OTHERCFLAGS = '-D__WX__ -DSCI_LEXER ' + \
|
||||
'-Icontrib/src/stc/scintilla/include -Icontrib/include ' + \
|
||||
'-Icontrib/src/stc/scintilla/src'
|
||||
SOURCES = SOURCES + [
|
||||
'contrib/src/stc/scintilla/src/Accessor.cxx',
|
||||
'contrib/src/stc/scintilla/src/AutoComplete.cxx',
|
||||
'contrib/src/stc/scintilla/src/CallTip.cxx',
|
||||
'contrib/src/stc/scintilla/src/CellBuffer.cxx',
|
||||
'contrib/src/stc/scintilla/src/ContractionState.cxx',
|
||||
'contrib/src/stc/scintilla/src/Document.cxx',
|
||||
'contrib/src/stc/scintilla/src/Editor.cxx',
|
||||
'contrib/src/stc/scintilla/src/Indicator.cxx',
|
||||
'contrib/src/stc/scintilla/src/KeyMap.cxx',
|
||||
'contrib/src/stc/scintilla/src/KeyWords.cxx',
|
||||
'contrib/src/stc/scintilla/src/LineMarker.cxx',
|
||||
'contrib/src/stc/scintilla/src/PropSet.cxx',
|
||||
'contrib/src/stc/scintilla/src/ScintillaBase.cxx',
|
||||
'contrib/src/stc/scintilla/src/Style.cxx',
|
||||
'contrib/src/stc/scintilla/src/ViewStyle.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexCPP.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexHTML.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexOthers.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexPerl.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexPython.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexSQL.cxx',
|
||||
'contrib/src/stc/scintilla/src/LexVB.cxx',
|
||||
|
||||
'contrib/src/stc/PlatWX.cpp',
|
||||
'contrib/src/stc/ScintillaWX.cpp',
|
||||
'contrib/src/stc/stc.cpp',
|
||||
]
|
||||
DEFAULTRULE = 'default: contrib $(GENCODEDIR) $(TARGET)'
|
||||
|
||||
OTHERRULES = """
|
||||
%.o : contrib/src/stc/%.cpp
|
||||
$(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
|
||||
|
||||
%.o : contrib/src/stc/scintilla/src/%.cxx
|
||||
$(CCC) $(CCSHARED) $(CFLAGS) $(OTHERCFLAGS) -c $<
|
||||
|
||||
contrib :
|
||||
ln -s $(WXWIN)/contrib contrib
|
||||
|
||||
"""
|
||||
|
||||
|
||||
# There are no platform differences so we don't need separate code directories
|
||||
GENCODEDIR='.'
|
||||
SWIGTOOLKITFLAG=''
|
||||
|
||||
|
Reference in New Issue
Block a user