From 28d3ca834eed9b3b245d6dd422e84cfde588a0ab Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Thu, 28 Jun 2001 03:51:49 +0000 Subject: [PATCH] adding Miles Sound --- dtool/Config.pp | 6 ++++++ dtool/LocalSetup.pp | 3 +++ dtool/Package.pp | 5 +++++ dtool/pptempl/Global.pp | 19 +++++++++++++++++++ 4 files changed, 33 insertions(+) diff --git a/dtool/Config.pp b/dtool/Config.pp index 008b1d9078..5ed432cbb0 100644 --- a/dtool/Config.pp +++ b/dtool/Config.pp @@ -148,6 +148,12 @@ #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 // Runtime library, downloadable as part of the Mozilla package from // mozilla.org. It provides portable threading and networking diff --git a/dtool/LocalSetup.pp b/dtool/LocalSetup.pp index 143555a60c..bb9f621c13 100644 --- a/dtool/LocalSetup.pp +++ b/dtool/LocalSetup.pp @@ -34,6 +34,9 @@ $[cdefine HAVE_PYTHON] /* Define if we have want to track callbacks from within the show code. */ $[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. */ $[cdefine HAVE_NSPR] diff --git a/dtool/Package.pp b/dtool/Package.pp index fc5301a154..9f0e852dbc 100644 --- a/dtool/Package.pp +++ b/dtool/Package.pp @@ -73,6 +73,11 @@ #set PYTHON_LPATH $[PYTHON_LPATH] #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_LPATH $[NSPR_LPATH] #set NSPR_LIBS $[NSPR_LIBS] diff --git a/dtool/pptempl/Global.pp b/dtool/pptempl/Global.pp index 634ca0509a..e0c4c166ac 100644 --- a/dtool/pptempl/Global.pp +++ b/dtool/pptempl/Global.pp @@ -80,6 +80,13 @@ #define python_lpath $[wildcard $[PYTHON_LPATH]] #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] #define nspr_ipath $[wildcard $[NSPR_IPATH]] #define nspr_lpath $[wildcard $[NSPR_LPATH]] @@ -408,6 +415,9 @@ #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],] #set alt_cflags $[alt_cflags] $[vrpn_cflags] #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]],] #set alt_cflags $[alt_cflags] $[audio_cflags] #endif @@ -473,6 +483,9 @@ #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs]],] #set alt_ipath $[alt_ipath] $[vrpn_ipath] #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]],] #set alt_ipath $[alt_ipath] $[audio_ipath] #endif @@ -538,6 +551,9 @@ #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],] #set alt_lpath $[alt_lpath] $[vrpn_lpath] #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]],] #set alt_lpath $[alt_lpath] $[audio_lpath] #endif @@ -604,6 +620,9 @@ #if $[ne $[USE_VRPN] $[components $[USE_VRPN],$[active_component_libs] $[transitive_link]],] #set alt_libs $[alt_libs] $[vrpn_libs] #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]],] #set alt_libs $[alt_libs] $[audio_libs] #endif