]> OCCT Git - occt-wok.git/commitdiff
OCC16602 [OCC Forum] Integration of code porting to MacOSX by Torsten Sadowski
authorcascade <cascade@opencascade.com>
Fri, 10 Aug 2007 18:01:59 +0000 (18:01 +0000)
committercascade <cascade@opencascade.com>
Fri, 10 Aug 2007 18:01:59 +0000 (18:01 +0000)
src/WOKLibs/pkgIndex.tcl

index 3045e1f0893f96822659dc5cfc4e27f3227553de..e57b27a900cd32b137bc759d6afc35dce20cf400 100755 (executable)
@@ -1,5 +1,9 @@
-
 global tcl_platform
+
+###########################################
+# LINUX
+###########################################
+
 if { $tcl_platform(os) == "Linux" }  {
 package ifneeded Woktools 2.0 "tclPkgSetup $dir/lin Woktools 2.0 {
                                         {libwoktoolscmd.so load {
@@ -29,6 +33,8 @@ package ifneeded Ms 2.0 "package require Woktools;
                                 }
 
 ###########################################
+# SOLARIS
+###########################################
 
 if { $tcl_platform(os) == "SunOS" }  {
 package ifneeded Woktools 2.0 "tclPkgSetup $dir/sun Woktools 2.0 {
@@ -59,6 +65,8 @@ package ifneeded Ms 2.0 "package require Woktools;
                                 }
 
 ###########################################
+# IRIX
+###########################################
 
 if { $tcl_platform(os) == "IRIX64" || $tcl_platform(os) == "IRIX" }  {
 package ifneeded Woktools 2.0 "tclPkgSetup $dir/sil Woktools 2.0 {
@@ -89,6 +97,8 @@ package ifneeded Ms 2.0 "package require Woktools;
                                 }
 
 ###########################################
+# WINDOWS
+###########################################
 
 if { $tcl_platform(platform) == "windows" }  {
 package ifneeded Woktools 2.0 "tclPkgSetup $dir/wnt Woktools 2.0 {
@@ -116,3 +126,67 @@ package ifneeded Ms 2.0 "package require Woktools;
                                     mstranslate msxmthinfo}}}"
 
                                 }
+
+###########################################
+# MACOS
+###########################################
+
+if { $tcl_platform(os) == "Darwin" }  {
+package ifneeded Woktools 2.0 "tclPkgSetup $dir/mac Woktools 2.0 {
+                                        {libwoktoolscmd.dylib load {
+                                           msgprint msgisset msgissetcmd msgissetlong msgset msgsetcmd 
+                                           msgsetlong msgunset msgunsetcmd msgunsetlong msgsetheader 
+                                           msgunsetheader msgissetheader msginfo}}}"
+
+package ifneeded Wokutils 2.0 "tclPkgSetup $dir/mac Wokutils 2.0 {
+    {libwokutilscmd.dylib load { wokcmp} } }"
+
+package ifneeded Wok 2.0 "package require Woktools; 
+                             tclPkgSetup $dir/mac Wok 2.0 {
+                                {libwokcmd.dylib 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/mac Ms 2.0 {
+                                {libmscmd.dylib load {
+                                    mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo 
+                                    msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo 
+                                    mstranslate msxmthinfo}}}"
+
+
+                                }
+
+###########################################
+# FreeBSD
+###########################################
+
+if { $tcl_platform(os) == "FreeBSD" }  {
+package ifneeded Woktools 2.0 "tclPkgSetup $dir/bsd Woktools 2.0 {
+                                        {libwoktoolscmd.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/bsd Wok 2.0 {
+                                {libwokcmd.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/bsd Ms 2.0 {
+                                {libmscmd.so load {
+                                    mscheck msclear msclinfo msextract msgeninfo msinfo msinstinfo
+                                    msmmthinfo msmthinfo mspkinfo msschinfo msrm msstdinfo
+                                    mstranslate msxmthinfo}}}"
+
+
+                                }