Browse Source

adding Miles Sound

Dave Schuyler 24 years ago
parent
commit
28d3ca834e
4 changed files with 33 additions and 0 deletions
  1. 6 0
      dtool/Config.pp
  2. 3 0
      dtool/LocalSetup.pp
  3. 5 0
      dtool/Package.pp
  4. 19 0
      dtool/pptempl/Global.pp

+ 6 - 0
dtool/Config.pp

@@ -148,6 +148,12 @@
 #defer TRACK_IN_INTERPRETER $[<= $[OPTIMIZE], 2]
 #defer TRACK_IN_INTERPRETER $[<= $[OPTIMIZE], 2]
 
 
 
 
+// Info for the RAD game tools, Miles Sound System
+#define RAD_MSS_IPATH /usr/include/Miles6/include
+#define RAD_MSS_LPATH /usr/lib/Miles6/lib/win
+#define RAD_MSS_LIBS Mss32
+#defer HAVE_RAD_MSS $[libtest $[RAD_MSS_LPATH],$[RAD_MSS_LIBS]]
+
 // Is NSPR installed, and where?  This is the Netscape Portable
 // Is NSPR installed, and where?  This is the Netscape Portable
 // Runtime library, downloadable as part of the Mozilla package from
 // Runtime library, downloadable as part of the Mozilla package from
 // mozilla.org.  It provides portable threading and networking
 // mozilla.org.  It provides portable threading and networking

+ 3 - 0
dtool/LocalSetup.pp

@@ -34,6 +34,9 @@ $[cdefine HAVE_PYTHON]
 /* Define if we have want to track callbacks from within the show code.  */
 /* Define if we have want to track callbacks from within the show code.  */
 $[cdefine TRACK_IN_INTERPRETER]
 $[cdefine TRACK_IN_INTERPRETER]
 
 
+/* Define if we have RAD game tools, Miles Sound System installed.  */
+$[cdefine HAVE_RAD_MSS]
+
 /* Define if we have NSPR installed.  */
 /* Define if we have NSPR installed.  */
 $[cdefine HAVE_NSPR]
 $[cdefine HAVE_NSPR]
 
 

+ 5 - 0
dtool/Package.pp

@@ -73,6 +73,11 @@
 #set PYTHON_LPATH $[PYTHON_LPATH]
 #set PYTHON_LPATH $[PYTHON_LPATH]
 #set HAVE_PYTHON $[HAVE_PYTHON]
 #set HAVE_PYTHON $[HAVE_PYTHON]
 
 
+#set RAD_MSS_IPATH $[RAD_MSS_IPATH]
+#set RAD_MSS_LPATH $[RAD_MSS_LPATH]
+#set RAD_MSS_LIBS $[RAD_MSS_LIBS]
+#set HAVE_RAD_MSS $[HAVE_RAD_MSS]
+
 #set NSPR_IPATH $[NSPR_IPATH]
 #set NSPR_IPATH $[NSPR_IPATH]
 #set NSPR_LPATH $[NSPR_LPATH]
 #set NSPR_LPATH $[NSPR_LPATH]
 #set NSPR_LIBS $[NSPR_LIBS]
 #set NSPR_LIBS $[NSPR_LIBS]

+ 19 - 0
dtool/pptempl/Global.pp

@@ -80,6 +80,13 @@
   #define python_lpath $[wildcard $[PYTHON_LPATH]]
   #define python_lpath $[wildcard $[PYTHON_LPATH]]
 #endif
 #endif
 
 
+#if $[HAVE_RAD_MSS]
+  #define rad_mss_ipath $[wildcard $[RAD_MSS_IPATH]]
+  #define rad_mss_lpath $[wildcard $[RAD_MSS_LPATH]]
+  #define rad_mss_cflags $[RAD_MSS_CFLAGS]
+  #define rad_mss_libs $[RAD_MSS_LIBS]
+#endif
+
 #if $[HAVE_NSPR]
 #if $[HAVE_NSPR]
   #define nspr_ipath $[wildcard $[NSPR_IPATH]]
   #define nspr_ipath $[wildcard $[NSPR_IPATH]]
   #define nspr_lpath $[wildcard $[NSPR_LPATH]]
   #define nspr_lpath $[wildcard $[NSPR_LPATH]]
@@ -408,6 +415,9 @@
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
     #set alt_cflags $[alt_cflags] $[vrpn_cflags]
     #set alt_cflags $[alt_cflags] $[vrpn_cflags]
   #endif 
   #endif 
+  #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs]],]
+    #set alt_cflags $[alt_cflags] $[rad_mss_cflags]
+  #endif
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
     #set alt_cflags $[alt_cflags] $[audio_cflags]
     #set alt_cflags $[alt_cflags] $[audio_cflags]
   #endif
   #endif
@@ -473,6 +483,9 @@
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],]
     #set alt_ipath $[alt_ipath] $[vrpn_ipath]
     #set alt_ipath $[alt_ipath] $[vrpn_ipath]
   #endif
   #endif
+  #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs]],]
+    #set alt_ipath $[alt_ipath] $[rad_mss_ipath]
+  #endif
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs]],]
     #set alt_ipath $[alt_ipath] $[audio_ipath]
     #set alt_ipath $[alt_ipath] $[audio_ipath]
   #endif
   #endif
@@ -538,6 +551,9 @@
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
     #set alt_lpath $[alt_lpath] $[vrpn_lpath]
     #set alt_lpath $[alt_lpath] $[vrpn_lpath]
   #endif
   #endif
+  #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs] $[transitive_link]],]
+    #set alt_lpath $[alt_lpath] $[rad_mss_lpath]
+  #endif
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
     #set alt_lpath $[alt_lpath] $[audio_lpath]
     #set alt_lpath $[alt_lpath] $[audio_lpath]
   #endif
   #endif
@@ -604,6 +620,9 @@
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
   #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],]
     #set alt_libs $[alt_libs] $[vrpn_libs]
     #set alt_libs $[alt_libs] $[vrpn_libs]
   #endif
   #endif
+  #if $[ne $[USE_RAD_MSS] $[components $[USE_RAD_MSS],$[active_component_libs] $[transitive_link]],]
+    #set alt_libs $[alt_libs] $[rad_mss_libs]
+  #endif
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
   #if $[ne $[USE_AUDIO] $[components $[USE_AUDIO],$[active_component_libs] $[transitive_link]],]
     #set alt_libs $[alt_libs] $[audio_libs]
     #set alt_libs $[alt_libs] $[audio_libs]
   #endif
   #endif