Browse Source

use combined srcs

cxgeorge 24 years ago
parent
commit
d55b536064

+ 12 - 8
dtool/src/dtoolutil/Sources.pp

@@ -3,19 +3,23 @@
   #define LOCAL_LIBS dtoolbase
   #define UNIX_SYS_LIBS dl
   
+  #define COMBINED_SOURCES $[TARGET]_composite1.cxx  $[TARGET]_composite2.cxx
+  
   #define SOURCES \
-    executionEnvironment.I executionEnvironment.cxx                     \
-    executionEnvironment.h filename.I filename.cxx filename.h           \
-    load_dso.cxx load_dso.h dSearchPath.I dSearchPath.cxx               \
-    dSearchPath.h pfstream.h vector_string.cxx vector_string.h          \
-    gnu_getopt.c gnu_getopt.h gnu_getopt1.c pfstreamBuf.h pfstreamBuf.cxx \
-    pfstream.cxx vector_src.h
+     executionEnvironment.I executionEnvironment.h filename.I  \
+     filename.h load_dso.h dSearchPath.I dSearchPath.h pfstream.h  \
+     vector_string.h gnu_getopt.c gnu_getopt.h gnu_getopt1.c  \
+     pfstreamBuf.h vector_src.h 
+
+  #define INCLUDED_SOURCES  \
+     executionEnvironment.cxx filename.cxx load_dso.cxx  \
+     dSearchPath.cxx vector_string.cxx \
+     pfstreamBuf.cxx pfstream.cxx 
 
   #define INSTALL_HEADERS \
     executionEnvironment.I executionEnvironment.h filename.I    \
     filename.h load_dso.h dSearchPath.I dSearchPath.h   \
     pfstream.h pfstream.I vector_string.h gnu_getopt.h \
-    pfstreamBuf.h \
-    vector_src.cxx vector_src.h
+    pfstreamBuf.h vector_src.cxx vector_src.h
 
 #end lib_target

+ 5 - 0
dtool/src/dtoolutil/dtoolutil_composite1.cxx

@@ -0,0 +1,5 @@
+
+#include "filename.cxx"
+#include "load_dso.cxx"
+#include "dSearchPath.cxx"
+

+ 6 - 0
dtool/src/dtoolutil/dtoolutil_composite2.cxx

@@ -0,0 +1,6 @@
+
+#include "executionEnvironment.cxx"
+#include "vector_string.cxx"
+#include "pfstream.cxx"
+#include "pfstreamBuf.cxx"
+