+ **depends
+ )
+wxpExtensions.append(ext)
+
+
+
+swig_sources = run_swig(['xrc.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps +
+ [ 'src/_xrc_rename.i',
+ 'src/_xrc_ex.py',
+ 'src/_xmlres.i',
+ 'src/_xmlsub.i',
+ 'src/_xml.i',
+ 'src/_xmlhandler.i',
+ ])
+ext = Extension('_xrc',
+ swig_sources,
+
+ include_dirs = includes + CONTRIBS_INC,
+ define_macros = defines,
+
+ library_dirs = libdirs,
+ libraries = libs + makeLibName('xrc'),
+
+ 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)
+ext = Extension('_richtext', swig_sources,
+ include_dirs = includes,
+ define_macros = defines,
+ library_dirs = libdirs,
+ libraries = libs + makeLibName('richtext'),
+ extra_compile_args = cflags,
+ extra_link_args = lflags,
+ **depends