]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/setup.py
moved the rest of XPMs to /art
[wxWidgets.git] / wxPython / setup.py
index 6d3637c38a3249f95404b82a4fcc902d566f6c89..ae094c25f03b9cba9230eb1c9da4683bfe5a3eed 100755 (executable)
@@ -465,7 +465,7 @@ if BUILD_GLCANVAS or GL_ONLY:
     other_sources = []
 
     swig_sources = run_swig(swig_files, location, GENDIR, PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
     gl_libs = []
     if os.name == 'posix':
@@ -507,7 +507,7 @@ if not GL_ONLY and BUILD_OGL:
                   'oglcanvas.i']
 
     swig_sources = run_swig(swig_files, location, '', PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
     if IN_CVS_TREE:
         # make sure local copy of contrib files are up to date
@@ -577,7 +577,7 @@ if not GL_ONLY and BUILD_STC:
     swig_sources = run_swig(swig_files, location, GENDIR, PKGDIR,
                             USE_SWIG, swig_force,
                             swig_args + ['-I'+STC_H, '-I'+location],
-                            [opj(STC_H, 'stc.h')])
+                            [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)
@@ -592,6 +592,7 @@ if not GL_ONLY and BUILD_STC:
     stc_defines = defines[:]
     stc_defines.append( ('__WX__', None) )
     stc_defines.append( ('SCI_LEXER', None) )
+    stc_defines.append( ('LINK_LEXERS', None) )
 
 
     ext = Extension('stc_c',
@@ -617,6 +618,8 @@ if not GL_ONLY and BUILD_STC:
 
                      '%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,
@@ -624,6 +627,7 @@ if not GL_ONLY and BUILD_STC:
                      '%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,
@@ -662,7 +666,7 @@ if not GL_ONLY and BUILD_IEWIN:
     swig_files = ['iewin.i', ]
 
     swig_sources = run_swig(swig_files, location, '', PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
 
     ext = Extension('iewinc', ['%s/IEHtmlWin.cpp' % location,
@@ -694,7 +698,7 @@ if not GL_ONLY and BUILD_XRC:
     swig_files = ['xrc.i']
 
     swig_sources = run_swig(swig_files, location, '', PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
     xmlres_includes = includes[:]
     xmlres_includes.append('%s/expat/xmlparse' % XMLLOC)
@@ -782,7 +786,7 @@ if not GL_ONLY and BUILD_GIZMOS:
     swig_files = ['gizmos.i']
 
     swig_sources = run_swig(swig_files, location, '', PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
     gizmos_includes = includes[:]
     gizmos_includes.append(GIZMOINC)
@@ -825,7 +829,7 @@ if not GL_ONLY and BUILD_DLLWIDGET:
     swig_files = ['dllwidget_.i']
 
     swig_sources = run_swig(swig_files, location, '', PKGDIR,
-                            USE_SWIG, swig_force, swig_args)
+                            USE_SWIG, swig_force, swig_args, swig_deps)
 
     # copy a contrib project specific py module to the main package dir
     copy_file(opj(location, 'dllwidget.py'), PKGDIR, update=1, verbose=0)