From 06a8f3e6209bc7ef1b86483e1ef1f9503781c8cd Mon Sep 17 00:00:00 2001 From: cxgeorge <> Date: Wed, 13 Jun 2001 01:29:17 +0000 Subject: [PATCH] use combined srcs --- panda/src/glgsg/Sources.pp | 17 ++++++++++++----- panda/src/glgsg/glgsg_composite1.cxx | 5 +++++ 2 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 panda/src/glgsg/glgsg_composite1.cxx diff --git a/panda/src/glgsg/Sources.pp b/panda/src/glgsg/Sources.pp index 41ab6ad706..d921cef40b 100644 --- a/panda/src/glgsg/Sources.pp +++ b/panda/src/glgsg/Sources.pp @@ -9,13 +9,20 @@ #define LOCAL_LIBS \ cull gsgmisc gsgbase gobj sgattrib sgraphutil graph display light \ putil linmath sgraph mathutil pnmimage + + #define COMBINED_SOURCES $[TARGET]_composite1.cxx #define SOURCES \ - config_glgsg.cxx config_glgsg.h glGraphicsStateGuardian.I \ - glGraphicsStateGuardian.cxx glGraphicsStateGuardian.h \ - glSavedFrameBuffer.I glSavedFrameBuffer.cxx glSavedFrameBuffer.h \ - glTextureContext.I glGeomNodeContext.I glGeomNodeContext.cxx \ - glGeomNodeContext.h glTextureContext.cxx glTextureContext.h + glGraphicsStateGuardian.cxx \ + config_glgsg.h glGraphicsStateGuardian.I \ + glGraphicsStateGuardian.h glSavedFrameBuffer.I \ + glSavedFrameBuffer.h glTextureContext.I \ + glGeomNodeContext.I glGeomNodeContext.h glTextureContext.h + + #define INCLUDED_SOURCES \ + config_glgsg.cxx glSavedFrameBuffer.cxx \ + glGeomNodeContext.cxx glTextureContext.cxx + #define INSTALL_HEADERS \ config_glgsg.h glGraphicsStateGuardian.I glGraphicsStateGuardian.h diff --git a/panda/src/glgsg/glgsg_composite1.cxx b/panda/src/glgsg/glgsg_composite1.cxx new file mode 100644 index 0000000000..213a367cd2 --- /dev/null +++ b/panda/src/glgsg/glgsg_composite1.cxx @@ -0,0 +1,5 @@ + +#include "config_glgsg.cxx" +#include "glSavedFrameBuffer.cxx" +#include "glGeomNodeContext.cxx" +#include "glTextureContext.cxx"