Browse Source

remove stats for opt4

cxgeorge 24 years ago
parent
commit
85b3c1e88f

+ 8 - 0
pandatool/src/gtk-stats/Sources.pp

@@ -4,6 +4,8 @@
 #define USE_NET yes
 
 #begin bin_target
+
+#if $[or $[<= $[OPTIMIZE],3], $[ne $[DO_PSTATS],]]
   #define TARGET gtk-stats
   #define LOCAL_LIBS \
     gtkbase progbase pstatserver
@@ -22,6 +24,12 @@
     gtkStatsServer.h gtkStatsStripChart.I gtkStatsStripChart.cxx \
     gtkStatsStripChart.h gtkStatsStripWindow.cxx gtkStatsStripWindow.h \
     gtkStatsWindow.cxx gtkStatsWindow.h
+#else
+  #define TARGET
+  #define SOURCES
+  #define INSTALL_HEADERS  
+#endif  	
+	
 
 #end bin_target
 

+ 8 - 0
pandatool/src/pstatserver/Sources.pp

@@ -2,6 +2,9 @@
 #define USE_NET yes
 
 #begin ss_lib_target
+
+#if $[or $[<= $[OPTIMIZE],3], $[ne $[DO_PSTATS],]]
+
   #define TARGET pstatserver
   #define LOCAL_LIBS pandatoolbase
   #define OTHER_LIBS \
@@ -25,6 +28,11 @@
     pStatReader.h pStatServer.h pStatStripChart.I pStatStripChart.h \
     pStatThreadData.I pStatThreadData.h pStatView.I pStatView.h \
     pStatViewLevel.I pStatViewLevel.h
+#else
+  #define TARGET
+  #define SOURCES
+  #define INSTALL_HEADERS  
+#endif  	
 
 #end ss_lib_target
 

+ 13 - 1
pandatool/src/text-stats/Sources.pp

@@ -2,6 +2,10 @@
 #define USE_NET yes
 
 #begin bin_target
+
+
+#if $[or $[<= $[OPTIMIZE],3], $[ne $[DO_PSTATS],]]
+	
   #define TARGET text-stats
   #define LOCAL_LIBS \
     progbase pstatserver
@@ -14,7 +18,15 @@
   #define SOURCES \
     textMonitor.cxx textMonitor.h textStats.cxx textStats.h
 
-  #define INSTALL_HEADERS \
+  #define INSTALL_HEADERS 
+  
+#else
+  #define TARGET
+  #define SOURCES
+  #define INSTALL_HEADERS  
+#endif  	  
+
+
 
 #end bin_target