'src/_colour.i',
'src/_dc.i',
'src/_graphics.i',
+ 'src/_overlay.i',
'src/_gdiobj.i',
'src/_imaglist.i',
'src/_region.i',
wxpExtensions.append(ext)
+swig_sources = run_swig(['animate.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps)
+ext = Extension('_animate',
+ swig_sources,
+
+ include_dirs = includes + CONTRIBS_INC,
+ define_macros = defines,
+
+ library_dirs = libdirs,
+ libraries = libs,
+
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ )
+
+wxpExtensions.append(ext)
+
wxpExtensions.append(ext)
-#----------------------------------------------------------------------
-# Define the ANIMATE extension module
-#----------------------------------------------------------------------
-
-if BUILD_ANIMATE:
- msg('Preparing ANIMATE...')
- location = 'contrib/animate'
-
- swig_sources = run_swig(['animate.i'], location, GENDIR, PKGDIR,
- USE_SWIG, swig_force, swig_args, swig_deps)
-
- ext = Extension('_animate',
- swig_sources,
-
- include_dirs = includes + CONTRIBS_INC,
- define_macros = defines,
-
- library_dirs = libdirs,
- libraries = libs + makeLibName('animate'),
-
- extra_compile_args = cflags,
- extra_link_args = lflags,
- )
-
- wxpExtensions.append(ext)
-
-
-
#----------------------------------------------------------------------
# Define the DLLWIDGET extension module
#----------------------------------------------------------------------
i_files = glob.glob(opj("src/*.i")) + \
glob.glob(opj("src/_*.py")) + \
glob.glob(opj("src/*.swg"))
+ if BUILD_GLCANVAS:
+ i_files += glob.glob(opj("contrib/glcanvas/*.i"))
HEADERS = zip(h_files, ["/wxPython"]*len(h_files)) + \
zip(i_files, ["/wxPython/i_files"]*len(i_files))