+ library_dirs = libdirs,
+ libraries = libs + xrcLib,
+
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ )
+wxpExtensions.append(ext)
+
+
+
+swig_sources = run_swig(['richtext.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps)
+if not MONOLITHIC and findLib('richtext', libdirs):
+ richLib = makeLibName('richtext')
+else:
+ richLib = []
+ext = Extension('_richtext', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs + richLib,
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ **depends
+ )
+wxpExtensions.append(ext)
+
+
+
+swig_sources = run_swig(['aui.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force,
+ swig_args + ['-I'+opj(WXDIR, 'include/wx/aui')],
+ swig_deps + ['src/_aui_docstrings.i',
+ opj(WXDIR, 'include/wx/aui/framemanager.h'),
+ opj(WXDIR, 'include/wx/aui/floatpane.h'),
+ opj(WXDIR, 'include/wx/aui/dockart.h'),
+ opj(WXDIR, 'include/wx/aui/auibook.h'),
+ ])
+if not MONOLITHIC and findLib('aui', libdirs):
+ auiLib = makeLibName('aui')
+else:
+ auiLib = []
+ext = Extension('_aui', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs + auiLib,
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ **depends
+ )
+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,
+