From e2c3766f65b57ce28e2f398c987086df1c5161de Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Thu, 7 Jun 2001 04:52:18 +0000 Subject: [PATCH] use combined srcs --- panda/src/sgraphutil/Sources.pp | 18 +++++++++++------- panda/src/sgraphutil/sgraphutil_composite1.cxx | 5 +++++ panda/src/sgraphutil/sgraphutil_composite2.cxx | 4 ++++ 3 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 panda/src/sgraphutil/sgraphutil_composite1.cxx create mode 100644 panda/src/sgraphutil/sgraphutil_composite2.cxx diff --git a/panda/src/sgraphutil/Sources.pp b/panda/src/sgraphutil/Sources.pp index fa57868aca..fdb85f652e 100644 --- a/panda/src/sgraphutil/Sources.pp +++ b/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 \ diff --git a/panda/src/sgraphutil/sgraphutil_composite1.cxx b/panda/src/sgraphutil/sgraphutil_composite1.cxx new file mode 100644 index 0000000000..824699f69c --- /dev/null +++ b/panda/src/sgraphutil/sgraphutil_composite1.cxx @@ -0,0 +1,5 @@ + +#include "appTraverser.cxx" +#include "config_sgraphutil.cxx" +#include "directRenderTraverser.cxx" + diff --git a/panda/src/sgraphutil/sgraphutil_composite2.cxx b/panda/src/sgraphutil/sgraphutil_composite2.cxx new file mode 100644 index 0000000000..cba5c8d62e --- /dev/null +++ b/panda/src/sgraphutil/sgraphutil_composite2.cxx @@ -0,0 +1,4 @@ + +#include "get_rel_pos.cxx" +#include "sceneGraphAnalyzer.cxx" +#include "sceneGraphReducer.cxx"