Browse Source

compile on Irix

David Rose 20 years ago
parent
commit
2cabc6c034

+ 3 - 3
pandatool/src/dxfprogs/Sources.pp

@@ -8,7 +8,7 @@
   #define OTHER_LIBS \
   #define OTHER_LIBS \
     linmath:c panda:m \
     linmath:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     dxfPoints.cxx dxfPoints.h
     dxfPoints.cxx dxfPoints.h
@@ -23,7 +23,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     dxfToEgg.cxx dxfToEgg.h
     dxfToEgg.cxx dxfToEgg.h
@@ -38,7 +38,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     putil:c event:c linmath:c pnmimagetypes:c pnmimage:c mathutil:c panda:m \
     putil:c event:c linmath:c pnmimagetypes:c pnmimage:c mathutil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     eggToDXF.cxx eggToDXF.h \
     eggToDXF.cxx eggToDXF.h \

+ 1 - 1
pandatool/src/egg-optchar/Sources.pp

@@ -4,7 +4,7 @@
   egg:c event:c pandaegg:m \
   egg:c event:c pandaegg:m \
   pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
   pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
   express:c pandaexpress:m \
   express:c pandaexpress:m \
-  dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+  interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 #define UNIX_SYS_LIBS m
 #define UNIX_SYS_LIBS m
 
 
 #begin bin_target
 #begin bin_target

+ 1 - 1
pandatool/src/egg-palettize/Sources.pp

@@ -7,7 +7,7 @@
     express:c pnmimage:c pnmimagetypes:c \
     express:c pnmimage:c pnmimagetypes:c \
     event:c mathutil:c \
     event:c mathutil:c \
     pandaegg:m panda:m pandaexpress:m \
     pandaegg:m panda:m pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
   #define UNIX_SYS_LIBS m
   #define UNIX_SYS_LIBS m
   
   
   #define SOURCES \
   #define SOURCES \

+ 1 - 1
pandatool/src/egg-qtess/Sources.pp

@@ -8,7 +8,7 @@
     parametrics:c pgraph:c egg:c pandaegg:m \
     parametrics:c pgraph:c egg:c pandaegg:m \
     pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
     pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
   #define UNIX_SYS_LIBS m
   #define UNIX_SYS_LIBS m
 
 
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx     
   #define COMBINED_SOURCES $[TARGET]_composite1.cxx     

+ 1 - 1
pandatool/src/eggprogs/Sources.pp

@@ -4,7 +4,7 @@
   egg:c event:c pandaegg:m \
   egg:c event:c pandaegg:m \
   pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
   pnmimagetypes:c pnmimage:c mathutil:c linmath:c putil:c panda:m \
   express:c pandaexpress:m \
   express:c pandaexpress:m \
-  dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+  interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 #define UNIX_SYS_LIBS m
 #define UNIX_SYS_LIBS m
 
 
 #begin bin_target
 #begin bin_target

+ 5 - 5
pandatool/src/fltprogs/Sources.pp

@@ -9,7 +9,7 @@
     linmath:c pnmimagetypes:c pnmimage:c event:c \
     linmath:c pnmimagetypes:c pnmimage:c event:c \
     putil:c mathutil:c panda:m \
     putil:c mathutil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     fltCopy.cxx fltCopy.h
     fltCopy.cxx fltCopy.h
@@ -24,7 +24,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c event:c mathutil:c panda:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c event:c mathutil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     fltTrans.cxx fltTrans.h
     fltTrans.cxx fltTrans.h
@@ -40,7 +40,7 @@
     event:c linmath:c mathutil:c \
     event:c linmath:c mathutil:c \
     pnmimagetypes:c pnmimage:c putil:c panda:m \
     pnmimagetypes:c pnmimage:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     fltInfo.cxx fltInfo.h
     fltInfo.cxx fltInfo.h
@@ -55,7 +55,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     fltToEgg.cxx fltToEgg.h
     fltToEgg.cxx fltToEgg.h
@@ -70,7 +70,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     putil:c event:c linmath:c pnmimagetypes:c pnmimage:c mathutil:c panda:m \
     putil:c event:c linmath:c pnmimagetypes:c pnmimage:c mathutil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     eggToFlt.cxx eggToFlt.h
     eggToFlt.cxx eggToFlt.h

+ 1 - 1
pandatool/src/gtk-stats/Sources.pp

@@ -7,7 +7,7 @@
     gtkbase progbase pstatserver
     gtkbase progbase pstatserver
   #define OTHER_LIBS \
   #define OTHER_LIBS \
     pstatclient:c linmath:c putil:c net:c express:c panda:m \
     pstatclient:c linmath:c putil:c net:c express:c panda:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m
   #define UNIX_SYS_LIBS \
   #define UNIX_SYS_LIBS \
     m
     m
 
 

+ 2 - 2
pandatool/src/lwoprogs/Sources.pp

@@ -8,7 +8,7 @@
     pnmimagetypes:c pnmimage:c \
     pnmimagetypes:c pnmimage:c \
     putil:c panda:m \
     putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     lwoToEgg.cxx lwoToEgg.h
     lwoToEgg.cxx lwoToEgg.h
@@ -23,7 +23,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c panda:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     lwoScan.cxx lwoScan.h
     lwoScan.cxx lwoScan.h

+ 3 - 3
pandatool/src/mayaprogs/Sources.pp

@@ -40,7 +40,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c putil:c panda:m \
     linmath:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   // Irix requires this to be named explicitly.
   // Irix requires this to be named explicitly.
   #define UNIX_SYS_LIBS \
   #define UNIX_SYS_LIBS \
@@ -61,7 +61,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c panda:m \
     linmath:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   // Irix requires this to be named explicitly.
   // Irix requires this to be named explicitly.
   #define UNIX_SYS_LIBS \
   #define UNIX_SYS_LIBS \
@@ -83,7 +83,7 @@
     framework:m \
     framework:m \
     linmath:c putil:c panda:m \
     linmath:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define BUILDING_DLL BUILDING_MISC
   #define BUILDING_DLL BUILDING_MISC
 
 

+ 3 - 2
pandatool/src/mayaprogs/mayaCopy.cxx

@@ -197,7 +197,8 @@ copy_maya_file(const Filename &source, const Filename &dest,
     }
     }
   }
   }
 
 
-  for (unsigned int ref_index = 0; ref_index < num_refs; ref_index++) {
+  unsigned int ref_index;
+  for (ref_index = 0; ref_index < num_refs; ref_index++) {
     // one thing we need to do is rename the path to the base file
     // one thing we need to do is rename the path to the base file
     // that it is referencing to. This will guarantee that the
     // that it is referencing to. This will guarantee that the
     // refencing will stay in the copied directory. Only way I could
     // refencing will stay in the copied directory. Only way I could
@@ -238,7 +239,7 @@ copy_maya_file(const Filename &source, const Filename &dest,
     return false;
     return false;
   }
   }
   
   
-  for (unsigned int ref_index = 0; ref_index < num_refs; ref_index++) {
+  for (ref_index = 0; ref_index < num_refs; ref_index++) {
     //maya_cat.info() << "refs filename: " << refs[ref_index].asChar() << "\n";
     //maya_cat.info() << "refs filename: " << refs[ref_index].asChar() << "\n";
     //maya_cat.info() << "os_specific filename: " << Filename::from_os_specific(refs[ref_index].asChar()) << "\n";
     //maya_cat.info() << "os_specific filename: " << Filename::from_os_specific(refs[ref_index].asChar()) << "\n";
     Filename filename = 
     Filename filename = 

+ 2 - 2
pandatool/src/vrmlprogs/Sources.pp

@@ -6,7 +6,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     linmath:c pnmimagetypes:c pnmimage:c putil:c mathutil:c event:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     vrmlToEgg.cxx vrmlToEgg.h
     vrmlToEgg.cxx vrmlToEgg.h
@@ -20,7 +20,7 @@
   #define OTHER_LIBS \
   #define OTHER_LIBS \
     linmath:c panda:m \
     linmath:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     vrmlTrans.cxx vrmlTrans.h
     vrmlTrans.cxx vrmlTrans.h

+ 3 - 3
pandatool/src/xfileprogs/Sources.pp

@@ -5,7 +5,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     mathutil:c linmath:c putil:c panda:m \
     mathutil:c linmath:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     eggToX.cxx eggToX.h
     eggToX.cxx eggToX.h
@@ -19,7 +19,7 @@
     egg:c pandaegg:m \
     egg:c pandaegg:m \
     mathutil:c linmath:c putil:c panda:m \
     mathutil:c linmath:c putil:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     xFileToEgg.cxx xFileToEgg.h
     xFileToEgg.cxx xFileToEgg.h
@@ -33,7 +33,7 @@
   #define OTHER_LIBS \
   #define OTHER_LIBS \
     linmath:c panda:m \
     linmath:c panda:m \
     express:c pandaexpress:m \
     express:c pandaexpress:m \
-    dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
+    interrogatedb:c dtoolutil:c dtoolbase:c prc:c dconfig:c dtoolconfig:m dtool:m pystub
 
 
   #define SOURCES \
   #define SOURCES \
     xFileTrans.cxx xFileTrans.h
     xFileTrans.cxx xFileTrans.h