-# Extension for the html modules
-swig_sources = run_swig(['html.i', 'htmlhelp.i'], 'src', GENDIR, PKGDIR,
- USE_SWIG, swig_force, swig_args, swig_deps)
-ext = Extension('htmlc', swig_sources,
+
+
+# Extension for the controls module
+swig_sources = run_swig(['controls.i'], 'src', GENDIR, PKGDIR,
+ USE_SWIG, swig_force, swig_args, swig_deps +
+ [ 'src/_controls_rename.i', 'src/_controls_reverse.txt',
+ 'src/_control.i', 'src/_toolbar.i',
+ 'src/_button.i', 'src/_checkbox.i',
+ 'src/_choice.i', 'src/_combobox.i',
+ 'src/_gauge.i', 'src/_statctrls.i',
+ 'src/_listbox.i', 'src/_textctrl.i',
+ 'src/_scrolbar.i', 'src/_spin.i',
+ 'src/_radio.i', 'src/_slider.i',
+ 'src/_tglbtn.i', 'src/_notebook.i',
+ 'src/_listctrl.i', 'src/_treectrl.i',
+ 'src/_dirctrl.i', 'src/_pycontrol.i',
+ 'src/_cshelp.i', 'src/_dragimg.i',
+ ])
+ext = Extension('_controls', swig_sources,