Browse Source

use combined srcs

cxgeorge 24 years ago
parent
commit
e2c3766f65

+ 11 - 7
panda/src/sgraphutil/Sources.pp

@@ -7,14 +7,18 @@
     graph sgraph sgattrib linmath putil gobj mathutil gsgbase display \
     pnmimage
 
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx 
+
   #define SOURCES \
-    appTraverser.I appTraverser.cxx appTraverser.h \
-    config_sgraphutil.cxx config_sgraphutil.h directRenderTraverser.I \
-    directRenderTraverser.cxx directRenderTraverser.h \
-    frustumCullTraverser.I frustumCullTraverser.h \
-    get_rel_pos.I get_rel_pos.cxx get_rel_pos.h sceneGraphAnalyzer.cxx \
-    sceneGraphAnalyzer.h sceneGraphReducer.I sceneGraphReducer.cxx \
-    sceneGraphReducer.h
+     appTraverser.I appTraverser.h config_sgraphutil.h  \
+     directRenderTraverser.I directRenderTraverser.h  \
+     frustumCullTraverser.I frustumCullTraverser.h get_rel_pos.I  \
+     get_rel_pos.h sceneGraphAnalyzer.h sceneGraphReducer.I  \
+     sceneGraphReducer.h
+
+  #define INCLUDED_SOURCES  \
+     appTraverser.cxx config_sgraphutil.cxx directRenderTraverser.cxx  \
+     get_rel_pos.cxx sceneGraphAnalyzer.cxx sceneGraphReducer.cxx
 
   #define INSTALL_HEADERS \
     appTraverser.I appTraverser.h config_sgraphutil.h \

+ 5 - 0
panda/src/sgraphutil/sgraphutil_composite1.cxx

@@ -0,0 +1,5 @@
+
+#include "appTraverser.cxx"
+#include "config_sgraphutil.cxx"
+#include "directRenderTraverser.cxx"
+

+ 4 - 0
panda/src/sgraphutil/sgraphutil_composite2.cxx

@@ -0,0 +1,4 @@
+
+#include "get_rel_pos.cxx"
+#include "sceneGraphAnalyzer.cxx"
+#include "sceneGraphReducer.cxx"