From fa4465a97c579bb4893c7926f999d2e343484ca1 Mon Sep 17 00:00:00 2001 From: cas Date: Tue, 10 Jul 2001 15:59:55 +0000 Subject: [PATCH] No comments --- src/WOKLibs/pkgIndex.tcl | 90 +++++++++++++++++++++++++++++++--------- 1 file changed, 70 insertions(+), 20 deletions(-) diff --git a/src/WOKLibs/pkgIndex.tcl b/src/WOKLibs/pkgIndex.tcl index af750f6..a7f8839 100755 --- a/src/WOKLibs/pkgIndex.tcl +++ b/src/WOKLibs/pkgIndex.tcl @@ -1,15 +1,38 @@ -# Tcl package index file, version 1.0 -# This file is generated by the "pkg_mkIndex" command -# and sourced either when an application starts up or -# by a "package unknown" script. It invokes the -# "package ifneeded" command to set up package-related -# information so that packages will be loaded automatically -# in response to "package require" commands. When this -# script is sourced, the variable $dir must contain the -# full path name of this file's directory. - -package ifneeded Woktools 2.0 "tclPkgSetup $dir Woktools 2.0 { - {libwoktoolscmd.so load { + +global tcl_platform +if { $tcl_platform(os) == "Linux" } { +package ifneeded Woktools 2.0 "tclPkgSetup $dir/lin Woktools 2.0 { + {libTKWOKLibswoktoolscmd.so load { + msgprint msgisset msgissetcmd msgissetlong msgset msgsetcmd + msgsetlong msgunset msgunsetcmd msgunsetlong msgsetheader + msgunsetheader msgissetheader msginfo}}}" + +package ifneeded Wokutils 2.0 "tclPkgSetup $dir Wokutils 2.0 { + {libwokutilscmd.so load { wokcmp} } }" + +package ifneeded Wok 2.0 "package require Woktools; + tclPkgSetup $dir/lin Wok 2.0 { + {libTKWOKLibswokcmd.so load { + Sinfo Wcreate Winfo Wrm Wdeclare fcreate finfo frm pinfo screate + sinfo srm ucreate uinfo umpmake umake urm w_info wcreate + wokcd wokclose wokinfo wokparam wokprofile wokenv wrm wmove + stepinputaddstepinputinfo stepoutputadd stepoutputinfo stepaddexecdepitem }}}" + +package ifneeded Ms 2.0 "package require Woktools; + tclPkgSetup $dir/lin Ms 2.0 { + {libTKWOKLibsmscmd.so load { + mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo + msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo + mstranslate msxmthinfo}}}" + + + } + +########################################### + +if { $tcl_platform(os) == "SunOS" } { +package ifneeded Woktools 2.0 "tclPkgSetup $dir/sun Woktools 2.0 { + {libTKWOKLibswoktoolscmd.so load { msgprint msgisset msgissetcmd msgissetlong msgset msgsetcmd msgsetlong msgunset msgunsetcmd msgunsetlong msgsetheader msgunsetheader msgissetheader msginfo}}}" @@ -18,22 +41,49 @@ package ifneeded Wokutils 2.0 "tclPkgSetup $dir Wokutils 2.0 { {libwokutilscmd.so load { wokcmp} } }" package ifneeded Wok 2.0 "package require Woktools; - tclPkgSetup $dir Wok 2.0 { - {libwokcmd.so load { + tclPkgSetup $dir/sun Wok 2.0 { + {libTKWOKLibswokcmd.so load { Sinfo Wcreate Winfo Wrm Wdeclare fcreate finfo frm pinfo screate sinfo srm ucreate uinfo umpmake umake urm w_info wcreate wokcd wokclose wokinfo wokparam wokprofile wokenv wrm wmove stepinputaddstepinputinfo stepoutputadd stepoutputinfo stepaddexecdepitem }}}" package ifneeded Ms 2.0 "package require Woktools; - tclPkgSetup $dir Ms 2.0 { - {libmscmd.so load { + tclPkgSetup $dir/sun Ms 2.0 { + {libTKWOKLibsmscmd.so load { mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo mstranslate msxmthinfo}}}" -package ifneeded Woknet 2.0 "package require Woktools; - tclPkgSetup $dir Woknet 2.0 { - {libwoknetcmd.so load { - unetmake woknetclose}}}" + } + +########################################### + + +if { $tcl_platform(os) == "WindowsNT" } { +package ifneeded Woktools 2.0 "tclPkgSetup $dir/wnt Woktools 2.0 { + {TKWOKLibswoktoolscmd.dll load { + msgprint msgisset msgissetcmd msgissetlong msgset msgsetcmd + msgsetlong msgunset msgunsetcmd msgunsetlong msgsetheader + msgunsetheader msgissetheader msginfo}}}" + +package ifneeded Wokutils 2.0 "tclPkgSetup $dir/wnt Wokutils 2.0 { + {wokutilscmd.dll load { wokcmp wokfind} } }" + +package ifneeded Wok 2.0 "package require Woktools; + tclPkgSetup $dir/wnt Wok 2.0 { + {TKWOKLibswokcmd.dll load { + Sinfo Wcreate Winfo Wrm Wdeclare fcreate finfo frm pinfo screate + sinfo srm ucreate uinfo umpmake umake urm w_info wcreate wprocess + wokcd wokclose wokinfo wokparam wokprofile wokenv wrm wmove + stepinputaddstepinputinfo stepoutputadd stepoutputinfo stepaddexecdepitem }}}" + +package ifneeded Ms 2.0 "package require Woktools; + tclPkgSetup $dir/wnt Ms 2.0 { + {TKWOKLibsmscmd.dll load { + mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo + msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo + mstranslate msxmthinfo}}}" + + } -- 2.39.5