Browse Source

use combined srcs

cxgeorge 24 years ago
parent
commit
ac1378d156

+ 41 - 33
panda/src/linmath/Sources.pp

@@ -5,41 +5,49 @@
   #define TARGET linmath
   #define LOCAL_LIBS \
     putil
+    
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx $[TARGET]_composite2.cxx    
 
   #define SOURCES \
-    cmath.I cmath.h compose_matrix.cxx compose_matrix.h \
-    compose_matrix_src.I compose_matrix_src.cxx compose_matrix_src.h \
-    config_linmath.cxx config_linmath.h coordinateSystem.cxx \
-    coordinateSystem.h dbl2fltnames.h dblnames.h deg_2_rad.h \
-    flt2dblnames.h fltnames.h ioPtaDatagramLinMath.I \
-    ioPtaDatagramLinMath.cxx ioPtaDatagramLinMath.h lcast_to.h \
-    lcast_to_src.h lcast_to_src.I lmatrix.cxx lmatrix.h lmatrix3.cxx \
-    lmatrix3.h lmatrix3_src.I lmatrix3_src.cxx lmatrix3_src.h \
-    lmatrix4.cxx lmatrix4.h lmatrix4_src.I lmatrix4_src.cxx \
-    lmatrix4_src.h lorientation.cxx lorientation.h lorientation_src.I \
-    lorientation_src.cxx lorientation_src.h lpoint2.cxx lpoint2.h \
-    lpoint2_src.I lpoint2_src.cxx lpoint2_src.h lpoint3.cxx lpoint3.h \
-    lpoint3_src.I lpoint3_src.cxx lpoint3_src.h lpoint4.cxx lpoint4.h \
-    lpoint4_src.I lpoint4_src.cxx lpoint4_src.h lquaternion.cxx \
-    lquaternion.h lquaternion_src.I lquaternion_src.cxx \
-    lquaternion_src.h lrotation.cxx lrotation.h lrotation_src.I \
-    lrotation_src.cxx lrotation_src.h luse.I luse.N luse.cxx luse.h \
-    lvec2_ops.h lvec2_ops_src.I lvec2_ops_src.h lvec3_ops.h \
-    lvec3_ops_src.I lvec3_ops_src.h lvec4_ops.h lvec4_ops_src.I \
-    lvec4_ops_src.h lvecBase2.cxx lvecBase2.h lvecBase2_src.I \
-    lvecBase2_src.cxx lvecBase2_src.h lvecBase3.cxx lvecBase3.h \
-    lvecBase3_src.I lvecBase3_src.cxx lvecBase3_src.h lvecBase4.cxx \
-    lvecBase4.h lvecBase4_src.I lvecBase4_src.cxx lvecBase4_src.h \
-    lvector2.cxx lvector2.h lvector2_src.I lvector2_src.cxx \
-    lvector2_src.h lvector3.cxx lvector3.h lvector3_src.I \
-    lvector3_src.cxx lvector3_src.h lvector4.cxx lvector4.h \
-    lvector4_src.I lvector4_src.cxx lvector4_src.h mathNumbers.cxx \
-    mathNumbers.h nearly_zero.h pta_Colorf.cxx pta_Colorf.h \
-    pta_Normalf.cxx pta_Normalf.h pta_TexCoordf.cxx pta_TexCoordf.h \
-    pta_Vertexf.cxx pta_Vertexf.h vector_Colorf.cxx vector_Colorf.h \
-    vector_LPoint2f.cxx vector_LPoint2f.h vector_LVecBase3f.cxx \
-    vector_LVecBase3f.h vector_Normalf.cxx vector_Normalf.h \
-    vector_TexCoordf.h vector_Vertexf.cxx vector_Vertexf.h
+     cmath.I cmath.h compose_matrix.h compose_matrix_src.I  \
+     compose_matrix_src.cxx compose_matrix_src.h config_linmath.h  \
+     coordinateSystem.h dbl2fltnames.h dblnames.h deg_2_rad.h  \
+     flt2dblnames.h fltnames.h ioPtaDatagramLinMath.I  \
+     ioPtaDatagramLinMath.h lcast_to.h lcast_to_src.h  \
+     lcast_to_src.I lmatrix.h lmatrix3.h lmatrix3_src.I  \
+     lmatrix3_src.cxx lmatrix3_src.h lmatrix4.h lmatrix4_src.I  \
+     lmatrix4_src.cxx lmatrix4_src.h lorientation.h  \
+     lorientation_src.I lorientation_src.cxx lorientation_src.h  \
+     lpoint2.h lpoint2_src.I lpoint2_src.cxx lpoint2_src.h  \
+     lpoint3.h lpoint3_src.I lpoint3_src.cxx lpoint3_src.h  \
+     lpoint4.h lpoint4_src.I lpoint4_src.cxx lpoint4_src.h  \
+     lquaternion.h lquaternion_src.I lquaternion_src.cxx  \
+     lquaternion_src.h lrotation.h lrotation_src.I  \
+     lrotation_src.cxx lrotation_src.h luse.I luse.N luse.h  \
+     lvec2_ops.h lvec2_ops_src.I lvec2_ops_src.h lvec3_ops.h  \
+     lvec3_ops_src.I lvec3_ops_src.h lvec4_ops.h lvec4_ops_src.I  \
+     lvec4_ops_src.h lvecBase2.h lvecBase2_src.I  \
+     lvecBase2_src.cxx lvecBase2_src.h lvecBase3.h  \
+     lvecBase3_src.I lvecBase3_src.cxx lvecBase3_src.h  \
+     lvecBase4.h lvecBase4_src.I lvecBase4_src.cxx  \
+     lvecBase4_src.h lvector2.h lvector2_src.I lvector2_src.cxx  \
+     lvector2_src.h lvector3.h lvector3_src.I lvector3_src.cxx  \
+     lvector3_src.h lvector4.h lvector4_src.I lvector4_src.cxx  \
+     lvector4_src.h mathNumbers.h nearly_zero.h pta_Colorf.h  \
+     pta_Normalf.h pta_TexCoordf.h pta_Vertexf.h vector_Colorf.h  \
+     vector_LPoint2f.h vector_LVecBase3f.h vector_Normalf.h  \
+     vector_TexCoordf.h vector_Vertexf.h
+    
+   #define INCLUDED_SOURCES \
+     compose_matrix.cxx config_linmath.cxx coordinateSystem.cxx  \
+     ioPtaDatagramLinMath.cxx lmatrix.cxx lmatrix3.cxx  \
+     lmatrix4.cxx lorientation.cxx lorientation lpoint2.cxx  \
+     lpoint3.cxx lpoint4.cxx lquaternion.cxx lrotation.cxx  \
+     lrotation luse.cxx lvecBase2.cxx lvecBase3.cxx lvecBase4.cxx  \
+     lvector2.cxx lvector3.cxx lvector4.cxx mathNumbers.cxx  \
+     pta_Colorf.cxx pta_Normalf.cxx pta_TexCoordf.cxx  \
+     pta_Vertexf.cxx vector_Colorf.cxx vector_LPoint2f.cxx  \
+     vector_LVecBase3f.cxx vector_Normalf.cxx vector_Vertexf.cxx  \
 
   #define INSTALL_HEADERS \
     cmath.I cmath.h compose_matrix.h compose_matrix_src.I \

+ 20 - 0
panda/src/linmath/linmath_composite1.cxx

@@ -0,0 +1,20 @@
+
+#include "lquaternion.cxx"
+#include "lrotation.cxx"
+#include "lvecBase2.cxx"
+#include "lvecBase3.cxx"
+#include "lvecBase4.cxx"
+#include "lvector2.cxx"
+#include "lvector3.cxx"
+#include "lvector4.cxx"
+#include "luse.cxx"
+#include "mathNumbers.cxx"
+#include "pta_Colorf.cxx"
+#include "pta_Normalf.cxx"
+#include "pta_TexCoordf.cxx"
+#include "pta_Vertexf.cxx"
+#include "vector_Colorf.cxx"
+#include "vector_LPoint2f.cxx"
+#include "vector_LVecBase3f.cxx"
+#include "vector_Normalf.cxx"
+#include "vector_Vertexf.cxx"

+ 12 - 0
panda/src/linmath/linmath_composite2.cxx

@@ -0,0 +1,12 @@
+
+#include "compose_matrix.cxx"
+#include "config_linmath.cxx"
+#include "coordinateSystem.cxx"
+#include "ioPtaDatagramLinMath.cxx"
+#include "lmatrix3.cxx"
+#include "lmatrix4.cxx"
+#include "lmatrix.cxx"
+#include "lorientation.cxx"
+#include "lpoint2.cxx"
+#include "lpoint3.cxx"
+#include "lpoint4.cxx"