Browse Source

use combined srcs

cxgeorge 24 years ago
parent
commit
2f8f117c6d
3 changed files with 97 additions and 42 deletions
  1. 46 42
      panda/src/egg/Sources.pp
  2. 25 0
      panda/src/egg/egg_composite1.cxx
  3. 26 0
      panda/src/egg/egg_composite2.cxx

+ 46 - 42
panda/src/egg/Sources.pp

@@ -7,50 +7,54 @@
   #define TARGET egg
   #define TARGET egg
   #define LOCAL_LIBS \
   #define LOCAL_LIBS \
     linmath putil
     linmath putil
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx 
 
 
   #define SOURCES \
   #define SOURCES \
-    config_egg.cxx config_egg.h eggAnimData.I eggAnimData.cxx eggAnimData.h \
-    eggAttributes.I eggAttributes.cxx eggAttributes.h eggBin.cxx \
-    eggBin.h eggBinMaker.cxx eggBinMaker.h eggComment.I eggComment.cxx \
-    eggComment.h eggCoordinateSystem.I eggCoordinateSystem.cxx \
-    eggCoordinateSystem.h eggCurve.I eggCurve.cxx eggCurve.h eggData.I \
-    eggData.cxx eggData.h eggExternalReference.I \
-    eggExternalReference.cxx eggExternalReference.h eggFilenameNode.I \
-    eggFilenameNode.cxx eggFilenameNode.h eggGroup.I eggGroup.cxx \
-    eggGroup.h eggGroupNode.I eggGroupNode.cxx eggGroupNode.h \
-    eggGroupUniquifier.h eggGroupUniquifier.cxx \
-    eggMaterial.I eggMaterial.cxx eggMaterial.h \
-    eggMaterialCollection.I eggMaterialCollection.cxx \
-    eggMaterialCollection.h \
-    eggMiscFuncs.I \
-    eggMiscFuncs.cxx eggMiscFuncs.h \
-    eggMorph.I eggMorph.h eggMorphList.cxx eggMorphList.I eggMorphList.h \
-    eggNamedObject.I eggNamedObject.cxx \
-    eggNamedObject.h eggNameUniquifier.cxx eggNameUniquifier.h \
-    eggNode.I eggNode.cxx eggNode.h eggNurbsCurve.I \
-    eggNurbsCurve.cxx eggNurbsCurve.h eggNurbsSurface.I \
-    eggNurbsSurface.cxx eggNurbsSurface.h eggObject.I eggObject.cxx \
-    eggObject.h eggParameters.cxx eggParameters.h eggPoint.I \
-    eggPoint.cxx eggPoint.h eggPolygon.I eggPolygon.cxx eggPolygon.h \
-    eggPoolUniquifier.cxx eggPoolUniquifier.h \
-    eggPrimitive.I eggPrimitive.cxx eggPrimitive.h \
-    eggRenderMode.I eggRenderMode.cxx \
-    eggRenderMode.h eggSAnimData.I \
-    eggSAnimData.cxx eggSAnimData.h eggSurface.I eggSurface.cxx \
-    eggSurface.h eggSwitchCondition.cxx eggSwitchCondition.h eggTable.I \
-    eggTable.cxx eggTable.h eggTexture.I eggTexture.cxx eggTexture.h \
-    eggTextureCollection.I eggTextureCollection.cxx \
-    eggTextureCollection.h eggUtilities.I eggUtilities.cxx \
-    eggUtilities.h eggVertex.I eggVertex.cxx eggVertex.h \
-    eggVertexPool.I eggVertexPool.cxx eggVertexPool.h eggXfmAnimData.I \
-    eggXfmAnimData.cxx eggXfmAnimData.h eggXfmSAnim.I eggXfmSAnim.cxx \
-    eggXfmSAnim.h parserDefs.h parser.yxx lexerDefs.h lexer.lxx \
-    pt_EggMaterial.cxx pt_EggMaterial.h \
-    vector_PT_EggMaterial.cxx vector_PT_EggMaterial.h \
-    pt_EggTexture.cxx pt_EggTexture.h \
-    vector_PT_EggTexture.cxx vector_PT_EggTexture.h \
-    pt_EggVertex.cxx pt_EggVertex.h \
-    vector_PT_EggVertex.cxx vector_PT_EggVertex.h
+     config_egg.h eggAnimData.I eggAnimData.h eggAttributes.I  \
+     eggAttributes.h eggBin.h eggBinMaker.h eggComment.I  \
+     eggComment.h eggCoordinateSystem.I eggCoordinateSystem.h  \
+     eggCurve.I eggCurve.h eggData.I eggData.h  \
+     eggExternalReference.I eggExternalReference.h  \
+     eggFilenameNode.I eggFilenameNode.h eggGroup.I eggGroup.h  \
+     eggGroupNode.I eggGroupNode.h eggGroupUniquifier.h  \
+     eggMaterial.I eggMaterial.h eggMaterialCollection.I  \
+     eggMaterialCollection.h eggMiscFuncs.I eggMiscFuncs.h  \
+     eggMorph.I eggMorph.h eggMorphList.I eggMorphList.h  \
+     eggNamedObject.I eggNamedObject.h eggNameUniquifier.h  \
+     eggNode.I eggNode.h eggNurbsCurve.I eggNurbsCurve.h  \
+     eggNurbsSurface.I eggNurbsSurface.h eggObject.I eggObject.h  \
+     eggParameters.h eggPoint.I eggPoint.h eggPolygon.I  \
+     eggPolygon.h eggPoolUniquifier.h eggPrimitive.I  \
+     eggPrimitive.h eggRenderMode.I eggRenderMode.h  \
+     eggSAnimData.I eggSAnimData.h eggSurface.I eggSurface.h  \
+     eggSwitchCondition.h eggTable.I eggTable.h eggTexture.I  \
+     eggTexture.h eggTextureCollection.I eggTextureCollection.h  \
+     eggUtilities.I eggUtilities.h eggVertex.I eggVertex.h  \
+     eggVertexPool.I eggVertexPool.h eggXfmAnimData.I  \
+     eggXfmAnimData.h eggXfmSAnim.I eggXfmSAnim.h parserDefs.h  \
+     parser.yxx lexerDefs.h lexer.lxx pt_EggMaterial.h  \
+     vector_PT_EggMaterial.h pt_EggTexture.h  \
+     vector_PT_EggTexture.h pt_EggVertex.h vector_PT_EggVertex.h
+
+  #define INCLUDED_SOURCES \
+     config_egg.cxx eggAnimData.cxx eggAttributes.cxx eggBin.cxx  \
+     eggBinMaker.cxx eggComment.cxx eggCoordinateSystem.cxx  \
+     eggCurve.cxx eggData.cxx eggExternalReference.cxx  \
+     eggFilenameNode.cxx eggGroup.cxx eggGroupNode.cxx  \
+     eggGroupUniquifier.cxx eggMaterial.cxx  \
+     eggMaterialCollection.cxx eggMiscFuncs.cxx eggMorphList.cxx  \
+     eggNamedObject.cxx eggNameUniquifier.cxx eggNode.cxx  \
+     eggNurbsCurve.cxx eggNurbsSurface.cxx eggObject.cxx  \
+     eggParameters.cxx eggPoint.cxx eggPolygon.cxx  \
+     eggPoolUniquifier.cxx eggPrimitive.cxx eggRenderMode.cxx  \
+     eggSAnimData.cxx eggSurface.cxx eggSwitchCondition.cxx  \
+     eggTable.cxx eggTexture.cxx eggTextureCollection.cxx  \
+     eggUtilities.cxx eggVertex.cxx eggVertexPool.cxx  \
+     eggXfmAnimData.cxx eggXfmSAnim.cxx xx xx pt_EggMaterial.cxx  \
+     vector_PT_EggMaterial.cxx pt_EggTexture.cxx  \
+     vector_PT_EggTexture.cxx pt_EggVertex.cxx  \
+     vector_PT_EggVertex.cxx 
 
 
   #define INSTALL_HEADERS \
   #define INSTALL_HEADERS \
     eggAnimData.I eggAnimData.h \
     eggAnimData.I eggAnimData.h \

+ 25 - 0
panda/src/egg/egg_composite1.cxx

@@ -0,0 +1,25 @@
+
+#include "config_egg.cxx"
+#include "eggAnimData.cxx"
+#include "eggAttributes.cxx"
+#include "eggBin.cxx"
+#include "eggBinMaker.cxx"
+#include "eggComment.cxx"
+#include "eggCoordinateSystem.cxx"
+#include "eggCurve.cxx"
+#include "eggData.cxx"
+#include "eggExternalReference.cxx"
+#include "eggFilenameNode.cxx"
+#include "eggGroup.cxx"
+#include "eggGroupNode.cxx"
+#include "eggGroupUniquifier.cxx"
+#include "eggMaterial.cxx"
+#include "eggMaterialCollection.cxx"
+#include "eggMiscFuncs.cxx"
+#include "eggMorphList.cxx"
+#include "eggNamedObject.cxx"
+#include "eggNameUniquifier.cxx"
+#include "eggNode.cxx"
+#include "eggNurbsCurve.cxx"
+#include "eggNurbsSurface.cxx"
+

+ 26 - 0
panda/src/egg/egg_composite2.cxx

@@ -0,0 +1,26 @@
+
+#include "eggObject.cxx"
+#include "eggParameters.cxx"
+#include "eggPoint.cxx"
+#include "eggPolygon.cxx"
+#include "eggPoolUniquifier.cxx"
+#include "eggPrimitive.cxx"
+#include "eggRenderMode.cxx"
+#include "eggSAnimData.cxx"
+#include "eggSurface.cxx"
+#include "eggSwitchCondition.cxx"
+#include "eggTable.cxx"
+#include "eggTexture.cxx"
+#include "eggTextureCollection.cxx"
+#include "eggUtilities.cxx"
+#include "eggVertex.cxx"
+#include "eggVertexPool.cxx"
+#include "eggXfmAnimData.cxx"
+#include "eggXfmSAnim.cxx"
+#include "pt_EggMaterial.cxx"
+#include "vector_PT_EggMaterial.cxx"
+#include "pt_EggTexture.cxx"
+#include "vector_PT_EggTexture.cxx"
+#include "pt_EggVertex.cxx"
+#include "vector_PT_EggVertex.cxx"
+