http://www.purl.org/tcl/home/man/tcl8.4/TclCmd/pkgMkIndex.htm
This is a proc in Tcl that is used to create the package index files, allowing packages to be loaded automatically when package require commands are executed.
LV So,
$ tclsh8.4 % pkg_mkIndex [glob *.tcl *.so]
See also pkg_mkIndex pitfalls, pkgMkIndex, A simple package example, package management, How to build good packages, Better Static Package Support for Tcl9