]> OCCT Git - occt-wok.git/commitdiff
No comments
authorcas <cas@opencascade.com>
Tue, 10 Jul 2001 15:59:55 +0000 (15:59 +0000)
committercas <cas@opencascade.com>
Tue, 10 Jul 2001 15:59:55 +0000 (15:59 +0000)
src/WOKLibs/pkgIndex.tcl

index af750f60755fc695f9b10d276ad35dad5fd7f855..a7f883986bdcc30c9465397ef5e56d608000f288 100755 (executable)
@@ -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}}}"
+
+                                }